Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FrrConfigManager ¶
type FrrConfigManager struct { OrionId uint32 // contains filtered or unexported fields }
Struct used to interact and issue the FRR configuration file updates.
func NewFrrConfigManager ¶
func NewFrrConfigManager(ASN uint32, OrionId uint32) (*FrrConfigManager, error)
Function used to create a config-manager instance.
func (*FrrConfigManager) GetPeer ¶
func (c *FrrConfigManager) GetPeer(id uint32) *Peer
func (*FrrConfigManager) Update ¶
func (c *FrrConfigManager) Update() error
This functions takes the simplified BGP configuration stored in memory and renders a new configuration for the `frr` daemon used to implement `bgpd` which is the BGP daemon used through the Orion network.
func (*FrrConfigManager) UpdatePeer ¶
func (c *FrrConfigManager) UpdatePeer(id uint32, peer *Peer)
Click to show internal directories.
Click to hide internal directories.