bgp

package
v0.8.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(peeringInterfaceName, grpcListenAddress string, logger logr.Logger) (*Manager, error)

func (*Manager) CheckIfIPInfoPathAdded

func (m *Manager) CheckIfIPInfoPathAdded(ipAddr net.IP) (bool, error)

func (*Manager) CheckIfStart

func (m *Manager) CheckIfStart() bool

func (*Manager) CheckRemotePeersEstablished added in v0.8.0

func (m *Manager) CheckRemotePeersEstablished() (bool, error)

func (*Manager) RecordIP

func (m *Manager) RecordIP(ip net.IP, needToBeExported bool)

func (*Manager) RecordPeer

func (m *Manager) RecordPeer(address, password string, asn int, gracefulRestartTime int32, allowNotEstablished bool)

func (*Manager) RecordSubnet

func (m *Manager) RecordSubnet(cidr *net.IPNet)

func (*Manager) ResetIPInfos

func (m *Manager) ResetIPInfos()

func (*Manager) ResetPeerAndSubnetInfos

func (m *Manager) ResetPeerAndSubnetInfos()

func (*Manager) ResetPeerInfos

func (m *Manager) ResetPeerInfos()

func (*Manager) ResetSubnetInfos

func (m *Manager) ResetSubnetInfos()

func (*Manager) SyncIPInfos

func (m *Manager) SyncIPInfos() error

func (*Manager) SyncPeerAndSubnetInfos

func (m *Manager) SyncPeerAndSubnetInfos() error

func (*Manager) SyncPeerInfos

func (m *Manager) SyncPeerInfos() error

func (*Manager) SyncSubnetInfos

func (m *Manager) SyncSubnetInfos() error

func (*Manager) TryStart

func (m *Manager) TryStart(asn uint32) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL