Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type Conf struct { Name string LogLevel string Loopback string ASN uint32 Ports Ports MetalCoreCIDR string AdditionalBridgeVIDs []string }
Conf holds the switch configuration nolint:musttag
func (*Conf) CapitalizeVrfName ¶ added in v0.9.0
func (c *Conf) CapitalizeVrfName()
CapitalizeVrfName capitalizes VRF names, which is requirement for SONiC
func (*Conf) FillRouteMapsAndIPPrefixLists ¶
func (c *Conf) FillRouteMapsAndIPPrefixLists()
type Filter ¶
type Filter struct { IPPrefixLists []IPPrefixList RouteMaps []RouteMap }
type IPPrefixList ¶
IPPrefixList represents 'ip prefix-list' filtering mechanism to be used in combination with route-maps.
Click to show internal directories.
Click to hide internal directories.