Skip to content
Snippets Groups Projects
Unverified Commit 934e4a2c authored by Daniel Czerwonk's avatar Daniel Czerwonk Committed by GitHub
Browse files

Merge pull request #52 from bio-routing/feature/rs

Implemented Route Server support
parents d873c951 b54ca9e1
Branches
Tags
No related merge requests found
package filter
import (
"testing"
"github.com/bio-routing/bio-rd/net"
"github.com/bio-routing/bio-rd/route"
)
func TestNewAcceptAllFilter(t *testing.T) {
/*func TestNewAcceptAllFilter(t *testing.T) {
f := NewAcceptAllFilter()
m := &clientMock{}
......@@ -31,4 +24,4 @@ func TestNewDrainFilter(t *testing.T) {
if m.addPathCalled {
t.Fatalf("expected filtered, but was accepted")
}
}
}*/
......@@ -5,6 +5,9 @@ type Neighbor struct {
// Addres is the IPv4 address of the neighbor as integer representation
Address uint32
// Local address is the local address of the BGP TCP connection
LocalAddress uint32
// Type is the type / protocol used for routing inforation communitation
Type uint8
......@@ -13,4 +16,10 @@ type Neighbor struct {
// Local ASN of session
LocalASN uint32
// Peer is a route server client
RouteServerClient bool
// CapAddPathRX indicates if the peer supports receiving multiple BGP paths
CapAddPathRX bool
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment