class BGPPlumbingAF


Definition#include <plumbing.hh>
Template formBGPPlumbingAF<class A>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

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

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

add_route

int  delete_route (const 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

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 ()

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


Generated by: pavlin on possum.icir.org on Thu Nov 6 23:47:04 2003, using kdoc 2.0a54+XORP.