Documentation ¶
Index ¶
- Constants
- func ParseIPNet(s string) (*net.IPNet, error)
- type BgpRouteManager
- func (b *BgpRouteManager) AdvertizeNewRoute(localPrefix *net.IPNet) error
- func (b *BgpRouteManager) DiscoverDelete(isself bool, Address string) error
- func (b *BgpRouteManager) DiscoverNew(isself bool, Address string) error
- func (b *BgpRouteManager) ModPeer(peeraddr string, operation api.Operation) error
- func (b *BgpRouteManager) SetBgpConfig(RouterId string) error
- func (b *BgpRouteManager) StartMonitoring() error
- func (b *BgpRouteManager) WithdrawRoute(localPrefix *net.IPNet) error
- type RibCache
- type RibLocal
- type RibTest
Constants ¶
View Source
const (
GrcpServer = "127.0.0.1:50051"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BgpRouteManager ¶
type BgpRouteManager struct { ModPathCh chan *api.Path ModPeerCh chan *api.ModNeighborArguments RibCh chan *api.Path // contains filtered or unexported fields }
func NewBgpRouteManager ¶
func NewBgpRouteManager(masterIface string, as string) *BgpRouteManager
func (*BgpRouteManager) AdvertizeNewRoute ¶
func (b *BgpRouteManager) AdvertizeNewRoute(localPrefix *net.IPNet) error
Advertise the local namespace IP prefixes to the bgp neighbors
func (*BgpRouteManager) DiscoverDelete ¶
func (b *BgpRouteManager) DiscoverDelete(isself bool, Address string) error
func (*BgpRouteManager) DiscoverNew ¶
func (b *BgpRouteManager) DiscoverNew(isself bool, Address string) error
func (*BgpRouteManager) ModPeer ¶
func (b *BgpRouteManager) ModPeer(peeraddr string, operation api.Operation) error
func (*BgpRouteManager) SetBgpConfig ¶
func (b *BgpRouteManager) SetBgpConfig(RouterId string) error
func (*BgpRouteManager) StartMonitoring ¶
func (b *BgpRouteManager) StartMonitoring() error
func (*BgpRouteManager) WithdrawRoute ¶
func (b *BgpRouteManager) WithdrawRoute(localPrefix *net.IPNet) error
Click to show internal directories.
Click to hide internal directories.