Documentation ¶
Index ¶
- type AdjRIBOut
- func (a *AdjRIBOut) AddPath(pfx *bnet.Prefix, p *route.Path) error
- func (a *AdjRIBOut) AddPathInitialDump(pfx *bnet.Prefix, p *route.Path) error
- func (a *AdjRIBOut) ClientCount() uint64
- func (a *AdjRIBOut) Dump() []*route.Route
- func (a *AdjRIBOut) Get(pfx *net.Prefix) *route.Route
- func (a *AdjRIBOut) GetLonger(pfx *net.Prefix) (res []*route.Route)
- func (a *AdjRIBOut) LPM(pfx *net.Prefix) (res []*route.Route)
- func (a *AdjRIBOut) Print() string
- func (a *AdjRIBOut) RefreshRoute(pfx *net.Prefix, ribPaths []*route.Path)
- func (a *AdjRIBOut) Register(client routingtable.RouteTableClient)
- func (a *AdjRIBOut) RegisterWithOptions(client routingtable.RouteTableClient, options routingtable.ClientOptions)
- func (a *AdjRIBOut) RemovePath(pfx *bnet.Prefix, p *route.Path) bool
- func (a *AdjRIBOut) ReplaceFilterChain(c filter.Chain)
- func (a *AdjRIBOut) ReplacePath(pfx *net.Prefix, old *route.Path, new *route.Path)
- func (a *AdjRIBOut) RouteCount() int64
- func (a *AdjRIBOut) Unregister(client routingtable.RouteTableClient)
- func (a *AdjRIBOut) UpdateNewClient(client routingtable.RouteTableClient) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdjRIBOut ¶
type AdjRIBOut struct {
// contains filtered or unexported fields
}
AdjRIBOut represents an Adjacency RIB Out with BGP add path
func New ¶
func New(rib *locRIB.LocRIB, neighbor *routingtable.Neighbor, exportFilterChain filter.Chain, addPathTX bool) *AdjRIBOut
New creates a new Adjacency RIB Out with BGP add path
func (*AdjRIBOut) AddPathInitialDump ¶
func (*AdjRIBOut) ClientCount ¶
ClientCount gets the number of registered clients
func (*AdjRIBOut) RefreshRoute ¶
RefreshRoute refreshes a route
func (*AdjRIBOut) Register ¶
func (a *AdjRIBOut) Register(client routingtable.RouteTableClient)
Register registers a client for updates
func (*AdjRIBOut) RegisterWithOptions ¶
func (a *AdjRIBOut) RegisterWithOptions(client routingtable.RouteTableClient, options routingtable.ClientOptions)
RegisterWithOptions registers a client for updates
func (*AdjRIBOut) RemovePath ¶
RemovePath removes the path for prefix `pfx`
func (*AdjRIBOut) ReplaceFilterChain ¶
ReplaceFilterChain replaces the export filter chain
func (*AdjRIBOut) ReplacePath ¶
ReplacePath is here to fulfill an interface
func (*AdjRIBOut) RouteCount ¶
RouteCount returns the number of stored routes
func (*AdjRIBOut) Unregister ¶
func (a *AdjRIBOut) Unregister(client routingtable.RouteTableClient)
Unregister unregisters a client
func (*AdjRIBOut) UpdateNewClient ¶
func (a *AdjRIBOut) UpdateNewClient(client routingtable.RouteTableClient) error
UpdateNewClient sends current state to a new client
Click to show internal directories.
Click to hide internal directories.