class XrlBgpMibTarget

Xrl client for BGP MIB. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

This class implements the Xrl client for the BGP MIB. It is contained by BgpMib.

 XrlBgpMibTarget (XrlRouter *r, BgpMib& bgp_mib)

XrlBgpMibTarget

XrlCmdError  common_0_1_get_target_name (string& name)

common_0_1_get_target_name

Get target name

Reimplemented from XrlBgp4MibTargetBase.

XrlCmdError  common_0_1_get_version (string& version)

common_0_1_get_version

Get version

Reimplemented from XrlBgp4MibTargetBase.

XrlCmdError  common_0_1_get_status ( uint32_t& status, string& reason)

common_0_1_get_status

Get status from Xrl Target

Reimplemented from XrlBgp4MibTargetBase.

XrlCmdError  common_0_1_shutdown ()

common_0_1_shutdown

Not to be used. Loading and unloading of mib modules is done via the xorp_if_mib module: finder://xorp_if_mib/xorp_if_mib/0.1/unload_mib?mib_index:u32

Reimplemented from XrlBgp4MibTargetBase.

XrlCmdError  bgp_mib_traps_0_1_send_bgp_established_trap ( const string& bgp_last_error, const uint32_t& bgp_state)

bgp_mib_traps_0_1_send_bgp_established_trap

Send bgpEstablished trap

Parameters:

bgp_last_errorthe last error code and subcode seen by this peer on this connection. If no error has occurred, this field is zero. Otherwise, the first byte of this two byte OCTET STRING contains the error code, and the second byte contains the subcode.
theBGP peer connection state: idel, connect, active, opensent, openconfirm or established.

Reimplemented from XrlBgp4MibTargetBase.

XrlCmdError  bgp_mib_traps_0_1_send_bgp_backward_transition_trap ( const string& bgp_last_error, const uint32_t& bgp_state)

bgp_mib_traps_0_1_send_bgp_backward_transition_trap

Send bgpBackwardTransition trap

Parameters:

bgp_last_errorthe last error code and subcode seen by this peer on this connection. If no error has occurred, this field is zero. Otherwise, the first byte of this two byte OCTET STRING contains the error code, and the second byte contains the subcode.
theBGP peer connection state: idel, connect, active, opensent, openconfirm or established.

Reimplemented from XrlBgp4MibTargetBase.


Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:19 2005, using kdoc $.