Public Methods
- BGPPlumbing (const Safi safi,
RibIpcHandler* rib_handler,
AggregationHandler* aggr_handler,
NextHopResolver<IPv4>&,
NextHopResolver<IPv6>&,
PolicyFilters&,
BGPMain& bgp)
- int add_peering (PeerHandler* peer_handler)
- int stop_peering (PeerHandler* peer_handler)
- int peering_went_down (PeerHandler* peer_handler)
- int peering_came_up (PeerHandler* peer_handler)
- int delete_peering (PeerHandler* peer_handler)
- void flush (PeerHandler* peer_handler)
- int add_route (const IPv4Net& net,
FPAList4Ref& pa_list,
const PolicyTags& policytags,
PeerHandler* peer_handler)
- int add_route (const IPv6Net& net,
FPAList6Ref& pa_list,
const PolicyTags& policytags,
PeerHandler* peer_handler)
- int delete_route (InternalMessage<IPv4> &rtmsg,
PeerHandler* peer_handler)
- int delete_route (InternalMessage<IPv6> &rtmsg,
PeerHandler* peer_handler)
- int delete_route (const IPNet<IPv4> &net,
PeerHandler* peer_handler)
- int delete_route (const IPNet<IPv6> &net,
PeerHandler* peer_handler)
- template<class A> void push (PeerHandler* peer_handler)
- void output_no_longer_busy (PeerHandler* peer_handler)
- const SubnetRoute<IPv4>*
lookup_route (const IPNet<IPv4> &net) const
- const SubnetRoute<IPv6>*
lookup_route (const IPNet<IPv6> &net) const
- uint32_t get_prefix_count (const PeerHandler* peer_handler)
- RibIpcHandler * rib_handler () const
- AggregationHandler * aggr_handler () const
- BGPPlumbingAF<IPv4>& plumbing_ipv4 ()
- BGPPlumbingAF<IPv6>& plumbing_ipv6 ()
- template <typename A> uint32_t
create_route_table_reader (const IPNet<A>& prefix)
- bool read_next_route (uint32_t token,
const SubnetRoute<IPv4>*& route,
IPv4& peer_id)
- bool read_next_route (uint32_t token,
const SubnetRoute<IPv6>*& route,
IPv4& peer_id)
- bool status (string& reason) const
- Safi safi () const
- BGPMain& main () const
- void push_routes ()
- PolicyFilters& policy_filters ()
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 |
int add_route (const IPv4Net& net,
FPAList4Ref& pa_list,
const PolicyTags& policytags,
PeerHandler* peer_handler)
| add_route |
int add_route (const IPv6Net& net,
FPAList6Ref& pa_list,
const PolicyTags& policytags,
PeerHandler* peer_handler)
| add_route |
template<class A> void push (PeerHandler* peer_handler)
| push |
void output_no_longer_busy (PeerHandler* peer_handler)
| output_no_longer_busy |
[const]
[const]
uint32_t get_prefix_count (const PeerHandler* peer_handler)
| get_prefix_count |
Returns: the number of prefixes in the RIB-IN.
[const]
[const]
template <typename A> uint32_t
create_route_table_reader (const IPNet<A>& prefix)
| create_route_table_reader |
bool read_next_route (uint32_t token,
const SubnetRoute<IPv4>*& route,
IPv4& peer_id)
| read_next_route |
bool read_next_route (uint32_t token,
const SubnetRoute<IPv6>*& route,
IPv4& peer_id)
| read_next_route |
bool status (string& reason)
| status |
[const]
Get the status of the Plumbing
Parameters:
reason | the human-readable reason for any failure
|
Returns: false if Plumbing has suffered a fatal error,
true otherwise
[const]
Returns: Safi of this plumb.
[const]
Returns: Reference to the main bgp class.
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.