Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advertisement ¶
type Advertisement struct { // The prefix being advertised to the peer. Prefix *net.IPNet // The local preference of this route. Only propagated to IBGP // peers (i.e. where the peer ASN matches the local ASN). LocalPref uint32 // BGP communities to attach to the path. Communities []uint32 // Used to declare the intent of announcing IPs // only to the BGPPeers in this list. Peers []string }
Advertisement represents one network path and its BGP attributes.
func (*Advertisement) Equal ¶
func (a *Advertisement) Equal(b *Advertisement) bool
Equal returns true if a and b are equivalent advertisements.
func (*Advertisement) MatchesPeer ¶ added in v0.13.0
func (a *Advertisement) MatchesPeer(peerName string) bool
type SessionManager ¶ added in v0.12.0
type SessionManager interface { NewSession(logger log.Logger, args SessionParameters) (Session, error) SyncBFDProfiles(profiles map[string]*config.BFDProfile) error }
type SessionParameters ¶ added in v0.13.8
Click to show internal directories.
Click to hide internal directories.