class BGPPlumbingAF


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 BGPPlumbingAF (const string& ribname, BGPPlumbing& master, NextHopResolver<A>& next_hop_resolver)

BGPPlumbingAF

 ~BGPPlumbingAF ()

~BGPPlumbingAF

int  add_peering (PeerHandler* peer_handler)

add_peering

int  stop_peering (PeerHandler* peer_handler)

stop_peering

int  peering_went_down (PeerHandler* peer_handler)

peering_went_down

int  peering_came_up (PeerHandler* peer_handler)

peering_came_up

int  delete_peering (PeerHandler* peer_handler)

delete_peering

void  flush (PeerHandler* peer_handler)

flush

int  add_route (const IPNet<A>& net, FPAListRef& pa_list, const PolicyTags& policytags, PeerHandler* peer_handler)

add_route

int  delete_route (InternalMessage<A> &rtmsg, PeerHandler* peer_handler)

delete_route

int  delete_route (const IPNet<A> &net, PeerHandler* peer_handler)

delete_route

const SubnetRoute<A>*  lookup_route (const IPNet<A> &net)

lookup_route

[const]

void  push (PeerHandler* peer_handler)

push

void  output_no_longer_busy (PeerHandler* peer_handler)

output_no_longer_busy

uint32_t  get_prefix_count (PeerHandler* peer_handler)

get_prefix_count

[const]

Returns: the number of prefixes in the RIB-IN.

NextHopResolver<A>&  next_hop_resolver ()

next_hop_resolver

Hook to the next hop resolver so that xrl calls from the RIB can be passed through.

uint32_t  create_route_table_reader (const IPNet<A>& prefix)

create_route_table_reader

bool  read_next_route (uint32_t token, const SubnetRoute<A>*& route, IPv4& peer_id)

read_next_route

bool  status (string& reason)

status

[const]

Get the status of the Plumbing

Parameters:

reasonthe human-readable reason for any failure

Returns: false if Plumbing has suffered a fatal error, true otherwise

void  push_routes ()

push_routes

Push routes through policy filters for re-filtering.


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:11:04 2009, using kdoc 2.0a54+XORP.