class BGPPeerList


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 BGPPeerList ()

BGPPeerList

 ~BGPPeerList ()

~BGPPeerList

void  all_stop (bool restart = false)

all_stop

Stop all the peerings.

Parameters:

restartif true will bounce the peerings, if false the peerings will be taken down and kept down.
bool  not_all_idle ()

not_all_idle

Are the peers idle? Used to poll the peers when BGP is being gracefully taken down.

Returns: true while peers are still active.

void  add_peer (BGPPeer *p)

add_peer

Add this peer to the peer list.

void  remove_peer (BGPPeer *p)

remove_peer

Remove the peer from the peer list and delete it.

void  detach_peer (BGPPeer *p)

detach_peer

Detach this peer from the peer list (DO NOT DELETE IT).

list<BGPPeer *>&  get_list ()

get_list

Get the list of attached peers.

void  dump_list ()

dump_list

Debugging entry point that prints all the peers.

bool  get_peer_list_start (uint32_t& token)

get_peer_list_start

Aquire a token that can be used to scan through the peers.

bool  get_peer_list_next (const uint32_t& token, string& local_ip, uint32_t& local_port, string& peer_ip, uint32_t& peer_port)

get_peer_list_next

Using the token get information about the peers.


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:33 2006, using kdoc $.