xorp

XrlBgpTargetBase Class Reference

Inheritance diagram for XrlBgpTargetBase:
XrlBgpTarget

List of all members.

Classes

struct  handler_table

Public Member Functions

 XrlBgpTargetBase (XrlCmdMap *cmds=0)
 Constructor.
virtual ~XrlBgpTargetBase ()
 Destructor.
bool set_command_map (XrlCmdMap *cmds)
 Set command map.
const string & get_name () const
 Get Xrl instance name associated with command map.
const char * version () const
 Get version string of instance.
 XrlBgpTargetBase (XrlCmdMap *cmds=0)
 Constructor.
virtual ~XrlBgpTargetBase ()
 Destructor.
bool set_command_map (XrlCmdMap *cmds)
 Set command map.
const string & get_name () const
 Get Xrl instance name associated with command map.
const char * version () const
 Get version string of instance.

Public Attributes

home greearb git xorp ct
github xorp obj i386 pc
mingw32 xrl targets bgp_base
cc common 
get_target_name

Protected Member Functions

virtual XrlCmdError common_0_1_get_target_name (string &name)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_get_version (string &version)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_get_status (uint32_t &status, string &reason)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_shutdown ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_startup ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_bgp_version (uint32_t &version)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_local_config (const string &as, const IPv4 &id, const bool &use_4byte_asnums)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_local_as (const string &as)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_4byte_as_support (const bool &enable)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_local_as (string &as)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_bgp_id (const IPv4 &id)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_bgp_id (IPv4 &id)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_confederation_identifier (const string &as, const bool &disable)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_cluster_id (const IPv4 &cluster_id, const bool &disable)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_damping (const uint32_t &half_life, const uint32_t &max_suppress, const uint32_t &reuse, const uint32_t &suppress, const bool &disable)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_add_peer (const string &local_dev, const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const string &as, const IPv4 &next_hop, const uint32_t &holdtime)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_delete_peer (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_enable_peer (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_disable_peer (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_change_local_ip (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const string &new_local_ip, const string &new_local_dev)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_change_local_port (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const uint32_t &new_local_port)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_change_peer_port (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const uint32_t &new_peer_port)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_peer_as (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const string &peer_as)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_holdtime (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const uint32_t &holdtime)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_delay_open_time (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const uint32_t &delay_open_time)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_route_reflector_client (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const bool &state)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_confederation_member (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const bool &state)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_prefix_limit (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const uint32_t &maximum, const bool &state)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_nexthop4 (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const IPv4 &next_hop)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_peer_state (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const bool &toggle)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_peer_md5_password (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const string &password)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_activate (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_parameter (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const string &parameter, const bool &toggle)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_next_hop_rewrite_filter (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const IPv4 &next_hop)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_originate_route4 (const IPv4Net &nlri, const IPv4 &next_hop, const bool &unicast, const bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_withdraw_route4 (const IPv4Net &nlri, const bool &unicast, const bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_trace (const string &tvar, const bool &enable)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_peer_list_start (uint32_t &token, bool &more)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_peer_list_next (const uint32_t &token, string &local_ip, uint32_t &local_port, string &peer_ip, uint32_t &peer_port, bool &more)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_peer_id (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, IPv4 &peer_id)=0
virtual XrlCmdError bgp_0_3_get_peer_status (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, uint32_t &peer_state, uint32_t &admin_status)=0
virtual XrlCmdError bgp_0_3_get_peer_negotiated_version (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, int32_t &neg_version)=0
virtual XrlCmdError bgp_0_3_get_peer_as (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, string &peer_as)=0
virtual XrlCmdError bgp_0_3_get_peer_msg_stats (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, uint32_t &in_updates, uint32_t &out_updates, uint32_t &in_msgs, uint32_t &out_msgs, uint32_t &last_error, uint32_t &in_update_elapsed)=0
virtual XrlCmdError bgp_0_3_get_peer_established_stats (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, uint32_t &transitions, uint32_t &established_time)=0
virtual XrlCmdError bgp_0_3_get_peer_timer_config (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, uint32_t &retry_interval, uint32_t &hold_time, uint32_t &keep_alive, uint32_t &hold_time_conf, uint32_t &keep_alive_conf, uint32_t &min_as_orgination_interval, uint32_t &min_route_adv_interval)=0
virtual XrlCmdError bgp_0_3_register_rib (const string &name)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_v4_route_list_start (const IPv4Net &net, const bool &unicast, const bool &multicast, uint32_t &token)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_v4_route_list_next (const uint32_t &token, IPv4 &peer_id, IPv4Net &net, uint32_t &best_and_origin, vector< uint8_t > &aspath, IPv4 &nexthop, int32_t &med, int32_t &localpref, int32_t &atomic_agg, vector< uint8_t > &aggregator, int32_t &calc_localpref, vector< uint8_t > &attr_unknown, bool &valid, bool &unicast, bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_nexthop6 (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const IPv6 &next_hop)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_nexthop6 (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, IPv6 &next_hop)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_withdraw_route6 (const IPv6Net &nlri, const bool &unicast, const bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_v6_route_list_start (const IPv6Net &net, const bool &unicast, const bool &multicast, uint32_t &token)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_originate_route6 (const IPv6Net &nlri, const IPv6 &next_hop, const bool &unicast, const bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_v6_route_list_next (const uint32_t &token, IPv4 &peer_id, IPv6Net &net, uint32_t &best_and_origin, vector< uint8_t > &aspath, IPv6 &nexthop, int32_t &med, int32_t &localpref, int32_t &atomic_agg, vector< uint8_t > &aggregator, int32_t &calc_localpref, vector< uint8_t > &attr_unknown, bool &valid, bool &unicast, bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError finder_event_observer_0_1_xrl_target_birth (const string &target_class, const string &target_instance)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError finder_event_observer_0_1_xrl_target_death (const string &target_class, const string &target_instance)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_configure (const uint32_t &filter, const string &conf)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_reset (const uint32_t &filter)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_push_routes ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_redist4_0_1_add_route4 (const IPv4Net &network, const bool &unicast, const bool &multicast, const IPv4 &nexthop, const uint32_t &metric, const XrlAtomList &policytags)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_redist4_0_1_delete_route4 (const IPv4Net &network, const bool &unicast, const bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rib_client_0_1_route_info_changed4 (const IPv4 &addr, const uint32_t &prefix_len, const IPv4 &nexthop, const uint32_t &metric, const uint32_t &admin_distance, const string &protocol_origin)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rib_client_0_1_route_info_invalid4 (const IPv4 &addr, const uint32_t &prefix_len)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rib_client_0_1_route_info_changed6 (const IPv6 &addr, const uint32_t &prefix_len, const IPv6 &nexthop, const uint32_t &metric, const uint32_t &admin_distance, const string &protocol_origin)=0
virtual XrlCmdError rib_client_0_1_route_info_invalid6 (const IPv6 &addr, const uint32_t &prefix_len)=0
virtual XrlCmdError policy_redist6_0_1_add_route6 (const IPv6Net &network, const bool &unicast, const bool &multicast, const IPv6 &nexthop, const uint32_t &metric, const XrlAtomList &policytags)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_redist6_0_1_delete_route6 (const IPv6Net &network, const bool &unicast, const bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError profile_0_1_enable (const string &pname)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError profile_0_1_disable (const string &pname)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError profile_0_1_get_entries (const string &pname, const string &instance_name)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError profile_0_1_clear (const string &pname)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError profile_0_1_list (string &info)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_get_target_name (string &name)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_get_version (string &version)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_get_status (uint32_t &status, string &reason)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_shutdown ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_startup ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_bgp_version (uint32_t &version)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_local_config (const string &as, const IPv4 &id, const bool &use_4byte_asnums)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_local_as (const string &as)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_4byte_as_support (const bool &enable)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_local_as (string &as)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_bgp_id (const IPv4 &id)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_bgp_id (IPv4 &id)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_confederation_identifier (const string &as, const bool &disable)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_cluster_id (const IPv4 &cluster_id, const bool &disable)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_damping (const uint32_t &half_life, const uint32_t &max_suppress, const uint32_t &reuse, const uint32_t &suppress, const bool &disable)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_add_peer (const string &local_dev, const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const string &as, const IPv4 &next_hop, const uint32_t &holdtime)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_delete_peer (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_enable_peer (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_disable_peer (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_change_local_ip (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const string &new_local_ip, const string &new_local_dev)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_change_local_port (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const uint32_t &new_local_port)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_change_peer_port (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const uint32_t &new_peer_port)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_peer_as (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const string &peer_as)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_holdtime (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const uint32_t &holdtime)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_delay_open_time (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const uint32_t &delay_open_time)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_route_reflector_client (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const bool &state)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_confederation_member (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const bool &state)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_prefix_limit (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const uint32_t &maximum, const bool &state)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_nexthop4 (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const IPv4 &next_hop)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_peer_state (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const bool &toggle)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_peer_md5_password (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const string &password)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_activate (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_parameter (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const string &parameter, const bool &toggle)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_next_hop_rewrite_filter (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const IPv4 &next_hop)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_originate_route4 (const IPv4Net &nlri, const IPv4 &next_hop, const bool &unicast, const bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_withdraw_route4 (const IPv4Net &nlri, const bool &unicast, const bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_trace (const string &tvar, const bool &enable)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_peer_list_start (uint32_t &token, bool &more)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_peer_list_next (const uint32_t &token, string &local_ip, uint32_t &local_port, string &peer_ip, uint32_t &peer_port, bool &more)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_peer_id (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, IPv4 &peer_id)=0
virtual XrlCmdError bgp_0_3_get_peer_status (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, uint32_t &peer_state, uint32_t &admin_status)=0
virtual XrlCmdError bgp_0_3_get_peer_negotiated_version (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, int32_t &neg_version)=0
virtual XrlCmdError bgp_0_3_get_peer_as (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, string &peer_as)=0
virtual XrlCmdError bgp_0_3_get_peer_msg_stats (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, uint32_t &in_updates, uint32_t &out_updates, uint32_t &in_msgs, uint32_t &out_msgs, uint32_t &last_error, uint32_t &in_update_elapsed)=0
virtual XrlCmdError bgp_0_3_get_peer_established_stats (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, uint32_t &transitions, uint32_t &established_time)=0
virtual XrlCmdError bgp_0_3_get_peer_timer_config (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, uint32_t &retry_interval, uint32_t &hold_time, uint32_t &keep_alive, uint32_t &hold_time_conf, uint32_t &keep_alive_conf, uint32_t &min_as_orgination_interval, uint32_t &min_route_adv_interval)=0
virtual XrlCmdError bgp_0_3_register_rib (const string &name)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_v4_route_list_start (const IPv4Net &net, const bool &unicast, const bool &multicast, uint32_t &token)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_v4_route_list_next (const uint32_t &token, IPv4 &peer_id, IPv4Net &net, uint32_t &best_and_origin, vector< uint8_t > &aspath, IPv4 &nexthop, int32_t &med, int32_t &localpref, int32_t &atomic_agg, vector< uint8_t > &aggregator, int32_t &calc_localpref, vector< uint8_t > &attr_unknown, bool &valid, bool &unicast, bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_set_nexthop6 (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, const IPv6 &next_hop)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_nexthop6 (const string &local_ip, const uint32_t &local_port, const string &peer_ip, const uint32_t &peer_port, IPv6 &next_hop)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_withdraw_route6 (const IPv6Net &nlri, const bool &unicast, const bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_v6_route_list_start (const IPv6Net &net, const bool &unicast, const bool &multicast, uint32_t &token)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_originate_route6 (const IPv6Net &nlri, const IPv6 &next_hop, const bool &unicast, const bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError bgp_0_3_get_v6_route_list_next (const uint32_t &token, IPv4 &peer_id, IPv6Net &net, uint32_t &best_and_origin, vector< uint8_t > &aspath, IPv6 &nexthop, int32_t &med, int32_t &localpref, int32_t &atomic_agg, vector< uint8_t > &aggregator, int32_t &calc_localpref, vector< uint8_t > &attr_unknown, bool &valid, bool &unicast, bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError finder_event_observer_0_1_xrl_target_birth (const string &target_class, const string &target_instance)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError finder_event_observer_0_1_xrl_target_death (const string &target_class, const string &target_instance)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_configure (const uint32_t &filter, const string &conf)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_reset (const uint32_t &filter)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_push_routes ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_redist4_0_1_add_route4 (const IPv4Net &network, const bool &unicast, const bool &multicast, const IPv4 &nexthop, const uint32_t &metric, const XrlAtomList &policytags)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_redist4_0_1_delete_route4 (const IPv4Net &network, const bool &unicast, const bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rib_client_0_1_route_info_changed4 (const IPv4 &addr, const uint32_t &prefix_len, const IPv4 &nexthop, const uint32_t &metric, const uint32_t &admin_distance, const string &protocol_origin)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rib_client_0_1_route_info_invalid4 (const IPv4 &addr, const uint32_t &prefix_len)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rib_client_0_1_route_info_changed6 (const IPv6 &addr, const uint32_t &prefix_len, const IPv6 &nexthop, const uint32_t &metric, const uint32_t &admin_distance, const string &protocol_origin)=0
virtual XrlCmdError rib_client_0_1_route_info_invalid6 (const IPv6 &addr, const uint32_t &prefix_len)=0
virtual XrlCmdError policy_redist6_0_1_add_route6 (const IPv6Net &network, const bool &unicast, const bool &multicast, const IPv6 &nexthop, const uint32_t &metric, const XrlAtomList &policytags)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_redist6_0_1_delete_route6 (const IPv6Net &network, const bool &unicast, const bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError profile_0_1_enable (const string &pname)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError profile_0_1_disable (const string &pname)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError profile_0_1_get_entries (const string &pname, const string &instance_name)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError profile_0_1_clear (const string &pname)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError profile_0_1_list (string &info)=0
 Pure-virtual function that needs to be implemented to:

Protected Attributes

XrlCmdMap_cmds

Private Member Functions

XrlCmdRT handle_common_0_1_get_target_name (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_get_version (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_get_status (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_shutdown (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_startup (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_bgp_version (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_local_config (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_local_as (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_4byte_as_support (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_local_as (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_bgp_id (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_bgp_id (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_confederation_identifier (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_cluster_id (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_damping (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_add_peer (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_delete_peer (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_enable_peer (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_disable_peer (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_change_local_ip (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_change_local_port (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_change_peer_port (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_peer_as (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_holdtime (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_delay_open_time (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_route_reflector_client (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_confederation_member (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_prefix_limit (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_nexthop4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_peer_state (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_peer_md5_password (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_activate (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_parameter (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_next_hop_rewrite_filter (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_originate_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_withdraw_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_trace (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_list_start (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_list_next (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_id (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_status (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_negotiated_version (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_as (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_msg_stats (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_established_stats (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_timer_config (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_register_rib (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_v4_route_list_start (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_v4_route_list_next (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_nexthop6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_nexthop6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_withdraw_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_v6_route_list_start (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_originate_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_v6_route_list_next (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_finder_event_observer_0_1_xrl_target_birth (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_finder_event_observer_0_1_xrl_target_death (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_configure (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_reset (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_push_routes (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_redist4_0_1_add_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_redist4_0_1_delete_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rib_client_0_1_route_info_changed4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rib_client_0_1_route_info_invalid4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rib_client_0_1_route_info_changed6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rib_client_0_1_route_info_invalid6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_redist6_0_1_add_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_redist6_0_1_delete_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_profile_0_1_enable (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_profile_0_1_disable (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_profile_0_1_get_entries (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_profile_0_1_clear (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_profile_0_1_list (const XrlArgs &in, XrlCmdOT out)
void add_handlers ()
void remove_handlers ()
XrlCmdRT handle_common_0_1_get_target_name (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_get_version (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_get_status (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_shutdown (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_startup (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_bgp_version (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_local_config (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_local_as (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_4byte_as_support (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_local_as (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_bgp_id (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_bgp_id (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_confederation_identifier (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_cluster_id (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_damping (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_add_peer (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_delete_peer (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_enable_peer (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_disable_peer (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_change_local_ip (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_change_local_port (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_change_peer_port (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_peer_as (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_holdtime (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_delay_open_time (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_route_reflector_client (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_confederation_member (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_prefix_limit (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_nexthop4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_peer_state (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_peer_md5_password (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_activate (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_parameter (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_next_hop_rewrite_filter (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_originate_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_withdraw_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_trace (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_list_start (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_list_next (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_id (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_status (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_negotiated_version (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_as (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_msg_stats (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_established_stats (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_peer_timer_config (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_register_rib (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_v4_route_list_start (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_v4_route_list_next (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_set_nexthop6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_nexthop6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_withdraw_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_v6_route_list_start (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_originate_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_bgp_0_3_get_v6_route_list_next (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_finder_event_observer_0_1_xrl_target_birth (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_finder_event_observer_0_1_xrl_target_death (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_configure (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_reset (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_push_routes (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_redist4_0_1_add_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_redist4_0_1_delete_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rib_client_0_1_route_info_changed4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rib_client_0_1_route_info_invalid4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rib_client_0_1_route_info_changed6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rib_client_0_1_route_info_invalid6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_redist6_0_1_add_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_redist6_0_1_delete_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_profile_0_1_enable (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_profile_0_1_disable (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_profile_0_1_get_entries (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_profile_0_1_clear (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_profile_0_1_list (const XrlArgs &in, XrlCmdOT out)
void add_handlers ()
void remove_handlers ()

Static Private Attributes

static struct handler_table handlers []
static const size_t num_handlers = (sizeof(XrlBgpTargetBase::handlers) / sizeof(XrlBgpTargetBase::handlers[0]))

Constructor & Destructor Documentation

XrlBgpTargetBase::XrlBgpTargetBase ( XrlCmdMap cmds = 0)

Constructor.

Parameters:
cmdsan XrlCmdMap that the commands associated with the target should be added to. This is typically the XrlRouter associated with the target.
XrlBgpTargetBase::~XrlBgpTargetBase ( ) [virtual]

Destructor.

Dissociates instance commands from command map.

XrlBgpTargetBase::XrlBgpTargetBase ( XrlCmdMap cmds = 0)

Constructor.

Parameters:
cmdsan XrlCmdMap that the commands associated with the target should be added to. This is typically the XrlRouter associated with the target.
virtual XrlBgpTargetBase::~XrlBgpTargetBase ( ) [virtual]

Destructor.

Dissociates instance commands from command map.


Member Function Documentation

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_activate ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Enable or disable the peering based on the peer state.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_activate ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Enable or disable the peering based on the peer state.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_add_peer ( const string &  local_dev,
const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const string &  as,
const IPv4 next_hop,
const uint32_t &  holdtime 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Add peer.

Parameters:
asthe peer's AS number.
next_hopthe local next hop.
holdtimeif traffic is not received in holdtime seconds a peering is considered down.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_add_peer ( const string &  local_dev,
const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const string &  as,
const IPv4 next_hop,
const uint32_t &  holdtime 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Add peer.

Parameters:
asthe peer's AS number.
next_hopthe local next hop.
holdtimeif traffic is not received in holdtime seconds a peering is considered down.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_change_local_ip ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const string &  new_local_ip,
const string &  new_local_dev 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Change the local IP address and interface.

Parameters:
local_ipcurrent IP address.
local_portserver port.
peer_ipIP address.
peer_portpeer port.
new_local_ipnew IP address.
new_local_devnew Interface Name.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_change_local_ip ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const string &  new_local_ip,
const string &  new_local_dev 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Change the local IP address and interface.

Parameters:
local_ipcurrent IP address.
local_portserver port.
peer_ipIP address.
peer_portpeer port.
new_local_ipnew IP address.
new_local_devnew Interface Name.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_change_local_port ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const uint32_t &  new_local_port 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Change the local port.

Parameters:
local_ipcurrent IP address.
local_portserver port.
peer_ipIP address.
peer_portpeer port.
new_local_portnew local port.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_change_local_port ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const uint32_t &  new_local_port 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Change the local port.

Parameters:
local_ipcurrent IP address.
local_portserver port.
peer_ipIP address.
peer_portpeer port.
new_local_portnew local port.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_change_peer_port ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const uint32_t &  new_peer_port 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Change the peer port.

Parameters:
local_ipcurrent IP address.
local_portserver port.
peer_ipIP address.
peer_portpeer port.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_change_peer_port ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const uint32_t &  new_peer_port 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Change the peer port.

Parameters:
local_ipcurrent IP address.
local_portserver port.
peer_ipIP address.
peer_portpeer port.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_delete_peer ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Delete peer.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_delete_peer ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Delete peer.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_disable_peer ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Disable this peer.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_disable_peer ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Disable this peer.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_enable_peer ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Enable this peer.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_enable_peer ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Enable this peer.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_bgp_id ( IPv4 id) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get the BGP id.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_bgp_id ( IPv4 id) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get the BGP id.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_bgp_version ( uint32_t &  version) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get the BGP version currently running.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_bgp_version ( uint32_t &  version) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get the BGP version currently running.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_local_as ( string &  as) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get the local AS number.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_local_as ( string &  as) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get the local AS number.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_nexthop6 ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
IPv6 next_hop 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get the IPv6 nexthop.

Parameters:
next_hopIPv6 nexthop
virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_nexthop6 ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
IPv6 next_hop 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get the IPv6 nexthop.

Parameters:
next_hopIPv6 nexthop
virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_peer_list_next ( const uint32_t &  token,
string &  local_ip,
uint32_t &  local_port,
string &  peer_ip,
uint32_t &  peer_port,
bool &  more 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get the next item of a list of BGP peers

Parameters:
tokentoken from prior call to get_peer_list
morereturned to indicate whether there are more list items remaining.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_peer_list_next ( const uint32_t &  token,
string &  local_ip,
uint32_t &  local_port,
string &  peer_ip,
uint32_t &  peer_port,
bool &  more 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get the next item of a list of BGP peers

Parameters:
tokentoken from prior call to get_peer_list
morereturned to indicate whether there are more list items remaining.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_peer_list_start ( uint32_t &  token,
bool &  more 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

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

Parameters:
tokenreturned token to be provided when calling get_peer_list_next.
morereturned to indicate whether there are more list items remaining.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_peer_list_start ( uint32_t &  token,
bool &  more 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

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

Parameters:
tokenreturned token to be provided when calling get_peer_list_next.
morereturned to indicate whether there are more list items remaining.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_v4_route_list_next ( const uint32_t &  token,
IPv4 peer_id,
IPv4Net net,
uint32_t &  best_and_origin,
vector< uint8_t > &  aspath,
IPv4 nexthop,
int32_t &  med,
int32_t &  localpref,
int32_t &  atomic_agg,
vector< uint8_t > &  aggregator,
int32_t &  calc_localpref,
vector< uint8_t > &  attr_unknown,
bool &  valid,
bool &  unicast,
bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

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

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_v4_route_list_next ( const uint32_t &  token,
IPv4 peer_id,
IPv4Net net,
uint32_t &  best_and_origin,
vector< uint8_t > &  aspath,
IPv4 nexthop,
int32_t &  med,
int32_t &  localpref,
int32_t &  atomic_agg,
vector< uint8_t > &  aggregator,
int32_t &  calc_localpref,
vector< uint8_t > &  attr_unknown,
bool &  valid,
bool &  unicast,
bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

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

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_v4_route_list_start ( const IPv4Net net,
const bool &  unicast,
const bool &  multicast,
uint32_t &  token 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

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

Parameters:
netthe subtree to examine. NB Either unicast or multicast should be set to true, but not both.
unicastrequest start of unicast routes.
multicastrequest start of unicast routes.
tokenreturned token to be provided when calling get_route_list_next.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_v4_route_list_start ( const IPv4Net net,
const bool &  unicast,
const bool &  multicast,
uint32_t &  token 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

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

Parameters:
netthe subtree to examine. NB Either unicast or multicast should be set to true, but not both.
unicastrequest start of unicast routes.
multicastrequest start of unicast routes.
tokenreturned token to be provided when calling get_route_list_next.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_v6_route_list_next ( const uint32_t &  token,
IPv4 peer_id,
IPv6Net net,
uint32_t &  best_and_origin,
vector< uint8_t > &  aspath,
IPv6 nexthop,
int32_t &  med,
int32_t &  localpref,
int32_t &  atomic_agg,
vector< uint8_t > &  aggregator,
int32_t &  calc_localpref,
vector< uint8_t > &  attr_unknown,
bool &  valid,
bool &  unicast,
bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

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

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_v6_route_list_next ( const uint32_t &  token,
IPv4 peer_id,
IPv6Net net,
uint32_t &  best_and_origin,
vector< uint8_t > &  aspath,
IPv6 nexthop,
int32_t &  med,
int32_t &  localpref,
int32_t &  atomic_agg,
vector< uint8_t > &  aggregator,
int32_t &  calc_localpref,
vector< uint8_t > &  attr_unknown,
bool &  valid,
bool &  unicast,
bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

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

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_v6_route_list_start ( const IPv6Net net,
const bool &  unicast,
const bool &  multicast,
uint32_t &  token 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

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

Parameters:
netthe subtree to examine. NB Either unicast or multicast should be set to true, but not both.
unicastrequest start of unicast routes.
multicastrequest start of multicast routes.
tokenreturned token to be provided when calling get_route_list_next.
virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_get_v6_route_list_start ( const IPv6Net net,
const bool &  unicast,
const bool &  multicast,
uint32_t &  token 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

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

Parameters:
netthe subtree to examine. NB Either unicast or multicast should be set to true, but not both.
unicastrequest start of unicast routes.
multicastrequest start of multicast routes.
tokenreturned token to be provided when calling get_route_list_next.
virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_local_config ( const string &  as,
const IPv4 id,
const bool &  use_4byte_asnums 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get local config

Parameters:
idour BGP ID.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_local_config ( const string &  as,
const IPv4 id,
const bool &  use_4byte_asnums 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get local config

Parameters:
idour BGP ID.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_next_hop_rewrite_filter ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const IPv4 next_hop 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

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

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_next_hop_rewrite_filter ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const IPv4 next_hop 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

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

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_originate_route4 ( const IPv4Net nlri,
const IPv4 next_hop,
const bool &  unicast,
const bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Originate route IPv4

Parameters:
nlrisubnet to announce
next_hopto forward to
unicastif true install in unicast routing table
multicastif true install in multicast routing table

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_originate_route4 ( const IPv4Net nlri,
const IPv4 next_hop,
const bool &  unicast,
const bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Originate route IPv4

Parameters:
nlrisubnet to announce
next_hopto forward to
unicastif true install in unicast routing table
multicastif true install in multicast routing table

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_originate_route6 ( const IPv6Net nlri,
const IPv6 next_hop,
const bool &  unicast,
const bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Originate route IPv6

Parameters:
nlrisubnet to announce
next_hopto forward to
unicastif true install in unicast routing table
multicastif true install in multicast routing table
virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_originate_route6 ( const IPv6Net nlri,
const IPv6 next_hop,
const bool &  unicast,
const bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Originate route IPv6

Parameters:
nlrisubnet to announce
next_hopto forward to
unicastif true install in unicast routing table
multicastif true install in multicast routing table
virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_register_rib ( const string &  name) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Register rib.

Parameters:
namerib name.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_register_rib ( const string &  name) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Register rib.

Parameters:
namerib name.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_4byte_as_support ( const bool &  enable) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Allow 4-byte AS numbers.

Parameters:
enablewhether this is enabled.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_4byte_as_support ( const bool &  enable) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Allow 4-byte AS numbers.

Parameters:
enablewhether this is enabled.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_bgp_id ( const IPv4 id) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the BGP id.

Parameters:
idour BGP ID.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_bgp_id ( const IPv4 id) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the BGP id.

Parameters:
idour BGP ID.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_cluster_id ( const IPv4 cluster_id,
const bool &  disable 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Route reflection.

Parameters:
cluster_idthe route reflection cluster ID.
disableif true this router is a router reflector.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_cluster_id ( const IPv4 cluster_id,
const bool &  disable 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Route reflection.

Parameters:
cluster_idthe route reflection cluster ID.
disableif true this router is a router reflector.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_confederation_identifier ( const string &  as,
const bool &  disable 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Confederation identifier.

Parameters:
asexternally visible AS number.
disabletrue if confederations are disabled.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_confederation_identifier ( const string &  as,
const bool &  disable 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Confederation identifier.

Parameters:
asexternally visible AS number.
disabletrue if confederations are disabled.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_confederation_member ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const bool &  state 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Is this peer a confederation member.

Parameters:
statetrue if peer is a confederation member.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_confederation_member ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const bool &  state 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Is this peer a confederation member.

Parameters:
statetrue if peer is a confederation member.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_damping ( const uint32_t &  half_life,
const uint32_t &  max_suppress,
const uint32_t &  reuse,
const uint32_t &  suppress,
const bool &  disable 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Route Flap Damping. RFC 2439

Parameters:
half_lifedecay half life in minutes.
max_suppressmaximum time in minutes a route can be held down.
reusethreshold, point at which a route can be reused.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_damping ( const uint32_t &  half_life,
const uint32_t &  max_suppress,
const uint32_t &  reuse,
const uint32_t &  suppress,
const bool &  disable 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Route Flap Damping. RFC 2439

Parameters:
half_lifedecay half life in minutes.
max_suppressmaximum time in minutes a route can be held down.
reusethreshold, point at which a route can be reused.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_delay_open_time ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const uint32_t &  delay_open_time 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the delay open time

Parameters:
delay_open_timeto wait is seconds before sending an open.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_delay_open_time ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const uint32_t &  delay_open_time 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the delay open time

Parameters:
delay_open_timeto wait is seconds before sending an open.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_holdtime ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const uint32_t &  holdtime 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the holdtime

Parameters:
holdtimeif traffic is not received in holdtime seconds a peering is considered down.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_holdtime ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const uint32_t &  holdtime 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the holdtime

Parameters:
holdtimeif traffic is not received in holdtime seconds a peering is considered down.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_local_as ( const string &  as) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the local AS number.

Parameters:
asour AS number.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_local_as ( const string &  as) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the local AS number.

Parameters:
asour AS number.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_nexthop4 ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const IPv4 next_hop 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the peer's AS number.

Parameters:
next_hopIPv4 nexthop.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_nexthop4 ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const IPv4 next_hop 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the peer's AS number.

Parameters:
next_hopIPv4 nexthop.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_nexthop6 ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const IPv6 next_hop 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the IPv6 nexthop.

Parameters:
next_hopIPv6 nexthop
virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_nexthop6 ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const IPv6 next_hop 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the IPv6 nexthop.

Parameters:
next_hopIPv6 nexthop
virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_parameter ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const string &  parameter,
const bool &  toggle 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set which parameters we support per peer

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_parameter ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const string &  parameter,
const bool &  toggle 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set which parameters we support per peer

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_peer_as ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const string &  peer_as 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the peer's AS number.

Parameters:
peer_asthe peer's AS number.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_peer_as ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const string &  peer_as 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the peer's AS number.

Parameters:
peer_asthe peer's AS number.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_peer_md5_password ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const string &  password 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the peer md5 password.

Parameters:
passwordthe password to use for TCP-MD5 authentication.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_peer_md5_password ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const string &  password 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the peer md5 password.

Parameters:
passwordthe password to use for TCP-MD5 authentication.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_peer_state ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const bool &  toggle 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the peer state enabled or disabled.

Parameters:
toggleenabled or disabled.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_peer_state ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const bool &  toggle 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the peer state enabled or disabled.

Parameters:
toggleenabled or disabled.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_prefix_limit ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const uint32_t &  maximum,
const bool &  state 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the prefix limit.

Parameters:
maximumnumber of prefixes
statetrue if the prefix limit is being enforced

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_prefix_limit ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const uint32_t &  maximum,
const bool &  state 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the prefix limit.

Parameters:
maximumnumber of prefixes
statetrue if the prefix limit is being enforced

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_route_reflector_client ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const bool &  state 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the route reflection client state. Is this peer a route reflector client.

Parameters:
statetrue if peer is a route reflector client.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_set_route_reflector_client ( const string &  local_ip,
const uint32_t &  local_port,
const string &  peer_ip,
const uint32_t &  peer_port,
const bool &  state 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the route reflection client state. Is this peer a route reflector client.

Parameters:
statetrue if peer is a route reflector client.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_trace ( const string &  tvar,
const bool &  enable 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Enable/Disable tracing.

Parameters:
tvartrace variable.
enableset to true to enable false to disable.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_trace ( const string &  tvar,
const bool &  enable 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Enable/Disable tracing.

Parameters:
tvartrace variable.
enableset to true to enable false to disable.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_withdraw_route4 ( const IPv4Net nlri,
const bool &  unicast,
const bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Withdraw route IPv4

Parameters:
nlrisubnet to withdraw
unicastif true withdraw from unicast routing table
multicastif true withdraw from multicast routing table

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_withdraw_route4 ( const IPv4Net nlri,
const bool &  unicast,
const bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Withdraw route IPv4

Parameters:
nlrisubnet to withdraw
unicastif true withdraw from unicast routing table
multicastif true withdraw from multicast routing table

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_withdraw_route6 ( const IPv6Net nlri,
const bool &  unicast,
const bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Withdraw route IPv6

Parameters:
nlrisubnet to withdraw
unicastif true withdraw from unicast routing table
multicastif true withdraw from multicast routing table
virtual XrlCmdError XrlBgpTargetBase::bgp_0_3_withdraw_route6 ( const IPv6Net nlri,
const bool &  unicast,
const bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Withdraw route IPv6

Parameters:
nlrisubnet to withdraw
unicastif true withdraw from unicast routing table
multicastif true withdraw from multicast routing table
virtual XrlCmdError XrlBgpTargetBase::common_0_1_get_status ( uint32_t &  status,
string &  reason 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get status of Xrl Target

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::common_0_1_get_status ( uint32_t &  status,
string &  reason 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get status of Xrl Target

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::common_0_1_get_target_name ( string &  name) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get name of Xrl Target

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::common_0_1_get_target_name ( string &  name) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get name of Xrl Target

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::common_0_1_get_version ( string &  version) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get version string from Xrl Target

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::common_0_1_get_version ( string &  version) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get version string from Xrl Target

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::common_0_1_shutdown ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Request clean shutdown of Xrl Target

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::common_0_1_shutdown ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Request clean shutdown of Xrl Target

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::common_0_1_startup ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Request a startup of Xrl Target

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::common_0_1_startup ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Request a startup of Xrl Target

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::finder_event_observer_0_1_xrl_target_birth ( const string &  target_class,
const string &  target_instance 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Announce target birth to observer.

Parameters:
target_classthe target class name.
target_instancethe target instance name.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::finder_event_observer_0_1_xrl_target_birth ( const string &  target_class,
const string &  target_instance 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Announce target birth to observer.

Parameters:
target_classthe target class name.
target_instancethe target instance name.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::finder_event_observer_0_1_xrl_target_death ( const string &  target_class,
const string &  target_instance 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Announce target death to observer.

Parameters:
target_classthe target class name.
target_instancethe target instance name.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::finder_event_observer_0_1_xrl_target_death ( const string &  target_class,
const string &  target_instance 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Announce target death to observer.

Parameters:
target_classthe target class name.
target_instancethe target instance name.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::policy_backend_0_1_configure ( const uint32_t &  filter,
const string &  conf 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Configure a policy filter.

Parameters:
filterthe identifier of the filter to configure.
confthe configuration of the filter.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::policy_backend_0_1_configure ( const uint32_t &  filter,
const string &  conf 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Configure a policy filter.

Parameters:
filterthe identifier of the filter to configure.
confthe configuration of the filter.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::policy_backend_0_1_push_routes ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Push all available routes through all filters for re-filtering.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::policy_backend_0_1_push_routes ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Push all available routes through all filters for re-filtering.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::policy_backend_0_1_reset ( const uint32_t &  filter) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Reset a policy filter.

Parameters:
filterthe identifier of the filter to reset.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::policy_backend_0_1_reset ( const uint32_t &  filter) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Reset a policy filter.

Parameters:
filterthe identifier of the filter to reset.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::policy_redist4_0_1_add_route4 ( const IPv4Net network,
const bool &  unicast,
const bool &  multicast,
const IPv4 nexthop,
const uint32_t &  metric,
const XrlAtomList policytags 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Start route redistribution for an IPv4 route.

Parameters:
networkthe route to advertise.
unicastwhether the route is unicast.
multicastwhether the route is multicast.
nexthopthe nexthop of the route.
metricthe metric of the route.
policytagsthe set of policy-tags associated with the route.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::policy_redist4_0_1_add_route4 ( const IPv4Net network,
const bool &  unicast,
const bool &  multicast,
const IPv4 nexthop,
const uint32_t &  metric,
const XrlAtomList policytags 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Start route redistribution for an IPv4 route.

Parameters:
networkthe route to advertise.
unicastwhether the route is unicast.
multicastwhether the route is multicast.
nexthopthe nexthop of the route.
metricthe metric of the route.
policytagsthe set of policy-tags associated with the route.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::policy_redist4_0_1_delete_route4 ( const IPv4Net network,
const bool &  unicast,
const bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Terminate route redistribution for an IPv4 route.

Parameters:
networkthe route for which advertisements should cease.
unicastwhether the route is unicast.
multicastwhether the route is multicast.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::policy_redist4_0_1_delete_route4 ( const IPv4Net network,
const bool &  unicast,
const bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Terminate route redistribution for an IPv4 route.

Parameters:
networkthe route for which advertisements should cease.
unicastwhether the route is unicast.
multicastwhether the route is multicast.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::policy_redist6_0_1_add_route6 ( const IPv6Net network,
const bool &  unicast,
const bool &  multicast,
const IPv6 nexthop,
const uint32_t &  metric,
const XrlAtomList policytags 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Start route redistribution for an IPv6 route.

Parameters:
networkthe route to advertise.
unicastwhether the route is unicast.
multicastwhether the route is multicast.
nexthopthe nexthop of the route.
metricthe metric of the route.
policytagsthe set of policy-tags associated with the route.
virtual XrlCmdError XrlBgpTargetBase::policy_redist6_0_1_add_route6 ( const IPv6Net network,
const bool &  unicast,
const bool &  multicast,
const IPv6 nexthop,
const uint32_t &  metric,
const XrlAtomList policytags 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Start route redistribution for an IPv6 route.

Parameters:
networkthe route to advertise.
unicastwhether the route is unicast.
multicastwhether the route is multicast.
nexthopthe nexthop of the route.
metricthe metric of the route.
policytagsthe set of policy-tags associated with the route.
virtual XrlCmdError XrlBgpTargetBase::policy_redist6_0_1_delete_route6 ( const IPv6Net network,
const bool &  unicast,
const bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Terminate route redistribution for an IPv6 route.

Parameters:
networkthe route for which advertisements should cease.
unicastwhether the route is unicast.
multicastwhether the route is multicast.
virtual XrlCmdError XrlBgpTargetBase::policy_redist6_0_1_delete_route6 ( const IPv6Net network,
const bool &  unicast,
const bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Terminate route redistribution for an IPv6 route.

Parameters:
networkthe route for which advertisements should cease.
unicastwhether the route is unicast.
multicastwhether the route is multicast.
virtual XrlCmdError XrlBgpTargetBase::profile_0_1_clear ( const string &  pname) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Clear the profiling entries

Parameters:
pnameprofile variable

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::profile_0_1_clear ( const string &  pname) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Clear the profiling entries

Parameters:
pnameprofile variable

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::profile_0_1_disable ( const string &  pname) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Disable profiling

Parameters:
pnameprofile variable

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::profile_0_1_disable ( const string &  pname) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Disable profiling

Parameters:
pnameprofile variable

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::profile_0_1_enable ( const string &  pname) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Enable profiling

Parameters:
pnameprofile variable

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::profile_0_1_enable ( const string &  pname) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Enable profiling

Parameters:
pnameprofile variable

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::profile_0_1_get_entries ( const string &  pname,
const string &  instance_name 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get log entries.

Parameters:
pnameprofile variable
instance_nameto send the profiling info to.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::profile_0_1_get_entries ( const string &  pname,
const string &  instance_name 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get log entries.

Parameters:
pnameprofile variable
instance_nameto send the profiling info to.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::profile_0_1_list ( string &  info) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

List all the profiling variables registered with this target.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::profile_0_1_list ( string &  info) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

List all the profiling variables registered with this target.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::rib_client_0_1_route_info_changed4 ( const IPv4 addr,
const uint32_t &  prefix_len,
const IPv4 nexthop,
const uint32_t &  metric,
const uint32_t &  admin_distance,
const string &  protocol_origin 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Route Info Changed route_info_changed is called by the RIB on the RIB client (typically a routing protocol) that had registered an interest in the routing of an address. This can be because the metric and/or nexthop changed.

Parameters:
addrbase address of the subnet that was registered
prefix_lenprefix length of the subnet that was registered
metricthe routing metric toward the address.
admin_distancethe administratively defined distance toward the address.
protocol_originthe name of the protocol that originated this routing entry.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::rib_client_0_1_route_info_changed4 ( const IPv4 addr,
const uint32_t &  prefix_len,
const IPv4 nexthop,
const uint32_t &  metric,
const uint32_t &  admin_distance,
const string &  protocol_origin 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Route Info Changed route_info_changed is called by the RIB on the RIB client (typically a routing protocol) that had registered an interest in the routing of an address. This can be because the metric and/or nexthop changed.

Parameters:
addrbase address of the subnet that was registered
prefix_lenprefix length of the subnet that was registered
metricthe routing metric toward the address.
admin_distancethe administratively defined distance toward the address.
protocol_originthe name of the protocol that originated this routing entry.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::rib_client_0_1_route_info_invalid4 ( const IPv4 addr,
const uint32_t &  prefix_len 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Route Info Invalid route_info_invalid is called by the RIB on the RIB client (typically a routing protocol) that had registere d an interest in the routing of an address. This can be because the information previously reported as applying no longer applies for any number of reasons. When the RIB sends this message, it has automatically de-registered interest in the route, and the client will normally need to send a register_interest request again.

Implemented in XrlBgpTarget.

virtual XrlCmdError XrlBgpTargetBase::rib_client_0_1_route_info_invalid4 ( const IPv4 addr,
const uint32_t &  prefix_len 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Route Info Invalid route_info_invalid is called by the RIB on the RIB client (typically a routing protocol) that had registere d an interest in the routing of an address. This can be because the information previously reported as applying no longer applies for any number of reasons. When the RIB sends this message, it has automatically de-registered interest in the route, and the client will normally need to send a register_interest request again.

Implemented in XrlBgpTarget.

bool XrlBgpTargetBase::set_command_map ( XrlCmdMap cmds)

Set command map.

Parameters:
cmdspointer to command map to associate commands with. This argument is typically a pointer to the XrlRouter associated with the target.
Returns:
true on success, false if cmds is null or a command map has already been supplied.
bool XrlBgpTargetBase::set_command_map ( XrlCmdMap cmds)

Set command map.

Parameters:
cmdspointer to command map to associate commands with. This argument is typically a pointer to the XrlRouter associated with the target.
Returns:
true on success, false if cmds is null or a command map has already been supplied.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations