Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffGateways ¶
func Difference ¶
compare two lists return values: (b - a), (a - b)
func StrToIPNet ¶
Types ¶
type BfdSpec ¶
func NewBfdSpec ¶
func NewBfdSpec(spec *nspAPI.Gateway_BfdSpec) *BfdSpec
type BgpAuth ¶ added in v0.9.0
func NewBgpAuth ¶ added in v0.9.0
func NewBgpAuth(auth *nspAPI.Gateway_BgpAuth) *BgpAuth
type Gateway ¶
type Gateway struct { Name string Address string IPFamily string Protocol string RemoteASN uint32 LocalASN uint32 RemotePort uint16 LocalPort uint16 HoldTime uint BFD bool BfdSpec *BfdSpec BgpAuth *BgpAuth // contains filtered or unexported fields }
func ConvertGateways ¶
func NewGateway ¶
func (*Gateway) GetNeighbor ¶
Click to show internal directories.
Click to hide internal directories.