Documentation ¶
Index ¶
Constants ¶
View Source
const Empty = `password zebra
log stdout debugging
log file /tmp/frr.log debugging`
Variables ¶
This section is empty.
Functions ¶
func BGPPeersForAllNodes ¶
func BGPPeersForAllNodes(cs clientset.Interface, nc NeighborConfig, rc RouterConfig, ipFamily ipfamily.Family, multiProtocol MultiProtocol) (string, error)
Set the IP of each node in the cluster in the BGP router configuration. Each node will peer with the BGP router.
func SetBGPConfig ¶
Set BGP configuration file in the test directory.
func SetDaemonsConfig ¶ added in v0.12.0
func SetDaemonsConfig(testDirName string, rc RouterConfig) error
Set daemons config file.
Types ¶
type MultiProtocol ¶ added in v0.13.0
type MultiProtocol bool
const ( MultiProtocolDisabled MultiProtocol = false MultiProtocolEnabled MultiProtocol = true )
type NeighborConfig ¶ added in v0.12.0
type RouterConfig ¶ added in v0.12.0
type RouterConfig struct { RouterID string ASN uint32 Neighbors []*NeighborConfig AcceptV4Neighbors []*NeighborConfig AcceptV6Neighbors []*NeighborConfig BGPPort uint16 Password string VRF string }
Click to show internal directories.
Click to hide internal directories.