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 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 // contains filtered or unexported fields }
func ConvertGateways ¶
func NewGateway ¶
func (*Gateway) GetNeighbor ¶
Click to show internal directories.
Click to hide internal directories.