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 []community.BGPCommunity // 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 SessionParameters ¶ added in v0.13.8
type SessionParameters struct { PeerAddress string SourceAddress net.IP MyASN uint32 RouterID net.IP PeerASN uint32 HoldTime time.Duration KeepAliveTime time.Duration Password string PasswordRef v1.SecretReference CurrentNode string BFDProfile string EBGPMultiHop bool VRFName string SessionName string }
Click to show internal directories.
Click to hide internal directories.