class XrlBgpMibTarget

Xrl client for BGP MIB. More...

Definition#include <bgp4_mib_xrl_target.hh>
InheritsXrlBgp4MibTargetBase (unknown) [private]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

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

XrlCmdError  common_0_1_get_version (string& version)

common_0_1_get_version

Get version

XrlCmdError  common_0_1_get_status ( uint32_t& status, string& reason)

common_0_1_get_status

Get status from Xrl Target

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

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.

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.


Generated by: pavlin on possum.icir.org on Thu Aug 28 12:52:18 2003, using kdoc 2.0a54+XORP.