class XrlBgpV0p2Client


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

 XrlBgpV0p2Client (XrlSender* s)

XrlBgpV0p2Client

 ~XrlBgpV0p2Client ()

~XrlBgpV0p2Client

[virtual]

typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetBgpVersionCB

GetBgpVersionCB

bool  send_get_bgp_version ( const char* target_name, const GetBgpVersionCB& cb )

send_get_bgp_version

Send Xrl intended to:

Get the BGP version currently running.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr LocalConfigCB

LocalConfigCB

bool  send_local_config ( const char* target_name, const uint32_t& as, const IPv4& id, const LocalConfigCB& cb )

send_local_config

Send Xrl intended to:

Get local config

Parameters:

tgt_nameXrl Target name
idour BGP ID.
typedef XorpCallback1<void, const XrlError&>::RefPtr SetLocalAsCB

SetLocalAsCB

bool  send_set_local_as ( const char* target_name, const uint32_t& as, const SetLocalAsCB& cb )

send_set_local_as

Send Xrl intended to:

Set the local AS number.

Parameters:

tgt_nameXrl Target name
asour AS number.
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetLocalAsCB

GetLocalAsCB

bool  send_get_local_as ( const char* target_name, const GetLocalAsCB& cb )

send_get_local_as

Send Xrl intended to:

Get the local AS number.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr SetBgpIdCB

SetBgpIdCB

bool  send_set_bgp_id ( const char* target_name, const IPv4& id, const SetBgpIdCB& cb )

send_set_bgp_id

Send Xrl intended to:

Set the BGP id.

Parameters:

tgt_nameXrl Target name
idour BGP ID.
typedef XorpCallback2<void, const XrlError&, const IPv4*>::RefPtr GetBgpIdCB

GetBgpIdCB

bool  send_get_bgp_id ( const char* target_name, const GetBgpIdCB& cb )

send_get_bgp_id

Send Xrl intended to:

Get the BGP id.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr AddPeerCB

AddPeerCB

bool  send_add_peer ( const char* target_name, const string& local_ip, const uint32_t& local_port, const string& peer_ip, const uint32_t& peer_port, const uint32_t& as, const IPv4& next_hop, const uint32_t& holdtime, const AddPeerCB& cb )

send_add_peer

Send Xrl intended to:

Add peer.

Parameters:

tgt_nameXrl Target name
asthe peer's AS number.
next_hopthe local next hop.
holdtimeexpects traffic in this time interval.
typedef XorpCallback1<void, const XrlError&>::RefPtr DeletePeerCB

DeletePeerCB

bool  send_delete_peer ( const char* target_name, const string& local_ip, const uint32_t& local_port, const string& peer_ip, const uint32_t& peer_port, const DeletePeerCB& cb )

send_delete_peer

Send Xrl intended to:

Delete peer.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr EnablePeerCB

EnablePeerCB

bool  send_enable_peer ( const char* target_name, const string& local_ip, const uint32_t& local_port, const string& peer_ip, const uint32_t& peer_port, const EnablePeerCB& cb )

send_enable_peer

Send Xrl intended to:

Enable this peer.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr DisablePeerCB

DisablePeerCB

bool  send_disable_peer ( const char* target_name, const string& local_ip, const uint32_t& local_port, const string& peer_ip, const uint32_t& peer_port, const DisablePeerCB& cb )

send_disable_peer

Send Xrl intended to:

Disable this peer.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr SetPeerStateCB

SetPeerStateCB

bool  send_set_peer_state ( const char* target_name, const string& local_ip, const uint32_t& local_port, const string& peer_ip, const uint32_t& peer_port, const bool& toggle, const SetPeerStateCB& cb )

send_set_peer_state

Send Xrl intended to:

Set the peer state enabled or disabled.

Parameters:

tgt_nameXrl Target name
toggleenabled or disabled.
typedef XorpCallback1<void, const XrlError&>::RefPtr ActivateCB

ActivateCB

bool  send_activate ( const char* target_name, const string& local_ip, const uint32_t& local_port, const string& peer_ip, const uint32_t& peer_port, const ActivateCB& cb )

send_activate

Send Xrl intended to:

Enable or disable the peering based on the peer state.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr SetParameterCB

SetParameterCB

bool  send_set_parameter ( const char* target_name, const string& local_ip, const uint32_t& local_port, const string& peer_ip, const uint32_t& peer_port, const string& parameter, const SetParameterCB& cb )

send_set_parameter

Send Xrl intended to:

Set which parameters we support per peer

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr NextHopRewriteFilterCB

NextHopRewriteFilterCB

bool  send_next_hop_rewrite_filter ( const char* target_name, const string& local_ip, const uint32_t& local_port, const string& peer_ip, const uint32_t& peer_port, const IPv4& next_hop, const NextHopRewriteFilterCB& cb )

send_next_hop_rewrite_filter

Send Xrl intended to:

Set next hop rewrite filter. XXX - This is a temporary hack until we get programmable filters.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr OriginateRoute4CB

OriginateRoute4CB

bool  send_originate_route4 ( const char* target_name, const IPv4Net& nlri, const IPv4& next_hop, const bool& unicast, const bool& multicast, const OriginateRoute4CB& cb )

send_originate_route4

Send Xrl intended to:

Originate route IPv4

Parameters:

tgt_nameXrl Target name
nlrisubnet to announce
next_hopto forward to
unicastif true install in unicast routing table
multicastif true install in multicast routing table
typedef XorpCallback1<void, const XrlError&>::RefPtr OriginateRoute6CB

OriginateRoute6CB

bool  send_originate_route6 ( const char* target_name, const IPv6Net& nlri, const IPv6& next_hop, const bool& unicast, const bool& multicast, const OriginateRoute6CB& cb )

send_originate_route6

Send Xrl intended to:

Originate route IPv6

Parameters:

tgt_nameXrl Target name
nlrisubnet to announce
next_hopto forward to
unicastif true install in unicast routing table
multicastif true install in multicast routing table
typedef XorpCallback1<void, const XrlError&>::RefPtr WithdrawRoute4CB

WithdrawRoute4CB

bool  send_withdraw_route4 ( const char* target_name, const IPv4Net& nlri, const bool& unicast, const bool& multicast, const WithdrawRoute4CB& cb )

send_withdraw_route4

Send Xrl intended to:

Withdraw route IPv4

Parameters:

tgt_nameXrl Target name
nlrisubnet to withdraw
unicastif true withdraw from unicast routing table
multicastif true withdraw from multicast routing table
typedef XorpCallback1<void, const XrlError&>::RefPtr WithdrawRoute6CB

WithdrawRoute6CB

bool  send_withdraw_route6 ( const char* target_name, const IPv6Net& nlri, const bool& unicast, const bool& multicast, const WithdrawRoute6CB& cb )

send_withdraw_route6

Send Xrl intended to:

Withdraw route IPv6

Parameters:

tgt_nameXrl Target name
nlrisubnet to withdraw
unicastif true withdraw from unicast routing table
multicastif true withdraw from multicast routing table
typedef XorpCallback3<void, const XrlError&, const uint32_t*, const bool*>::RefPtr GetPeerListStartCB

GetPeerListStartCB

bool  send_get_peer_list_start ( const char* target_name, const GetPeerListStartCB& cb )

send_get_peer_list_start

Send Xrl intended to:

Get the first item of a list of BGP peers See RFC 1657 (BGP MIB) for full definitions of return values.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback6<void, const XrlError&, const IPv4*, const uint32_t*, const IPv4*, const uint32_t*, const bool*>::RefPtr GetPeerListNextCB

GetPeerListNextCB

bool  send_get_peer_list_next ( const char* target_name, const uint32_t& token, const GetPeerListNextCB& cb )

send_get_peer_list_next

Send Xrl intended to:

Get the next item of a list of BGP peers

Parameters:

tgt_nameXrl Target name
tokentoken from prior call to get_peer_list
typedef XorpCallback2<void, const XrlError&, const IPv4*>::RefPtr GetPeerIdCB

GetPeerIdCB

bool  send_get_peer_id ( const char* target_name, const IPv4& local_ip, const uint32_t& local_port, const IPv4& peer_ip, const uint32_t& peer_port, const GetPeerIdCB& cb )

send_get_peer_id

typedef XorpCallback3<void, const XrlError&, const uint32_t*, const uint32_t*>::RefPtr GetPeerStatusCB

GetPeerStatusCB

bool  send_get_peer_status ( const char* target_name, const IPv4& local_ip, const uint32_t& local_port, const IPv4& peer_ip, const uint32_t& peer_port, const GetPeerStatusCB& cb )

send_get_peer_status

typedef XorpCallback2<void, const XrlError&, const int32_t*>::RefPtr GetPeerNegotiatedVersionCB

GetPeerNegotiatedVersionCB

bool  send_get_peer_negotiated_version ( const char* target_name, const IPv4& local_ip, const uint32_t& local_port, const IPv4& peer_ip, const uint32_t& peer_port, const GetPeerNegotiatedVersionCB& cb )

send_get_peer_negotiated_version

typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetPeerAsCB

GetPeerAsCB

bool  send_get_peer_as ( const char* target_name, const IPv4& local_ip, const uint32_t& local_port, const IPv4& peer_ip, const uint32_t& peer_port, const GetPeerAsCB& cb )

send_get_peer_as

typedef XorpCallback7<void, const XrlError&, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*>::RefPtr GetPeerMsgStatsCB

GetPeerMsgStatsCB

bool  send_get_peer_msg_stats ( const char* target_name, const IPv4& local_ip, const uint32_t& local_port, const IPv4& peer_ip, const uint32_t& peer_port, const GetPeerMsgStatsCB& cb )

send_get_peer_msg_stats

typedef XorpCallback3<void, const XrlError&, const uint32_t*, const uint32_t*>::RefPtr GetPeerEstablishedStatsCB

GetPeerEstablishedStatsCB

bool  send_get_peer_established_stats ( const char* target_name, const IPv4& local_ip, const uint32_t& local_port, const IPv4& peer_ip, const uint32_t& peer_port, const GetPeerEstablishedStatsCB& cb )

send_get_peer_established_stats

typedef XorpCallback8<void, const XrlError&, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*>::RefPtr GetPeerTimerConfigCB

GetPeerTimerConfigCB

bool  send_get_peer_timer_config ( const char* target_name, const IPv4& local_ip, const uint32_t& local_port, const IPv4& peer_ip, const uint32_t& peer_port, const GetPeerTimerConfigCB& cb )

send_get_peer_timer_config

typedef XorpCallback1<void, const XrlError&>::RefPtr RegisterRibCB

RegisterRibCB

bool  send_register_rib ( const char* target_name, const string& name, const RegisterRibCB& cb )

send_register_rib

Send Xrl intended to:

Register rib.

Parameters:

tgt_nameXrl Target name
namerib name.
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetV4RouteListStartCB

GetV4RouteListStartCB

bool  send_get_v4_route_list_start ( const char* target_name, const bool& unicast, const bool& multicast, const GetV4RouteListStartCB& cb )

send_get_v4_route_list_start

Send Xrl intended to:

Get the first item of a list of BGP routes See RFC 1657 (BGP MIB) for full definitions of return values. NB Either unicast or multicast should be set to true, but not both.

Parameters:

tgt_nameXrl Target name
unicastrequest start of unicast routes.
multicastrequest start of unicast routes.
typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetV6RouteListStartCB

GetV6RouteListStartCB

bool  send_get_v6_route_list_start ( const char* target_name, const bool& unicast, const bool& multicast, const GetV6RouteListStartCB& cb )

send_get_v6_route_list_start

Send Xrl intended to:

Get the first item of a list of BGP routes See RFC 1657 (BGP MIB) for full definitions of return values. NB Either unicast or multicast should be set to true, but not both.

Parameters:

tgt_nameXrl Target name
unicastrequest start of unicast routes.
multicastrequest start of multicast routes.
typedef XorpCallback15<void, const XrlError&, const IPv4*, const IPv4Net*, const uint32_t*, const vector<uint8_t>*, const IPv4*, const int32_t*, const int32_t*, const int32_t*, const vector<uint8_t>*, const int32_t*, const vector<uint8_t>*, const bool*, const bool*, const bool*>::RefPtr GetV4RouteListNextCB

GetV4RouteListNextCB

bool  send_get_v4_route_list_next ( const char* target_name, const uint32_t& token, const GetV4RouteListNextCB& cb )

send_get_v4_route_list_next

Send Xrl intended to:

Get the next route in the list See RFC 1657 (BGP MIB) for full definitions of return values.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback15<void, const XrlError&, const IPv4*, const IPv6Net*, const uint32_t*, const vector<uint8_t>*, const IPv6*, const int32_t*, const int32_t*, const int32_t*, const vector<uint8_t>*, const int32_t*, const vector<uint8_t>*, const bool*, const bool*, const bool*>::RefPtr GetV6RouteListNextCB

GetV6RouteListNextCB

bool  send_get_v6_route_list_next ( const char* target_name, const uint32_t& token, const GetV6RouteListNextCB& cb )

send_get_v6_route_list_next

Send Xrl intended to:

Get the next route in the list See RFC 1657 (BGP MIB) for full definitions of return values.

Parameters:

tgt_nameXrl Target name
XrlSender* _sender

_sender

[protected]


Generated by: pavlin on possum.icir.org on Thu Jul 8 23:48:16 2004, using kdoc $.