XrlBgpTarget (XrlRouter *r, BGPMain& bgp)
| XrlBgpTarget |
XrlCmdError common_0_1_get_target_name (string& name)
| common_0_1_get_target_name |
Reimplemented from XrlBgpTargetBase.
XrlCmdError common_0_1_get_version (string& version)
| common_0_1_get_version |
Reimplemented from XrlBgpTargetBase.
XrlCmdError common_0_1_get_status (
uint32_t& status,
string& reason)
| common_0_1_get_status |
Get status from Xrl Target
Reimplemented from XrlBgpTargetBase.
XrlCmdError common_0_1_shutdown ()
| common_0_1_shutdown |
Request target shut down cleanly
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_get_bgp_version (
uint32_t& version)
| bgp_0_2_get_bgp_version |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_local_config (
const uint32_t& as_num,
const IPv4& id)
| bgp_0_2_local_config |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_set_local_as (
const uint32_t& as)
| bgp_0_2_set_local_as |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_get_local_as (
uint32_t& as)
| bgp_0_2_get_local_as |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_set_bgp_id (
const IPv4& id)
| bgp_0_2_set_bgp_id |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_get_bgp_id (
IPv4& id)
| bgp_0_2_get_bgp_id |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_add_peer (
const string& local_ip,
const uint32_t& local_port,
const string& peer_ip,
const uint32_t& peer_port,
const uint32_t& as,
const IPv4& next_hop,
const uint32_t& holdtime)
| bgp_0_2_add_peer |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_delete_peer (
const string& local_ip,
const uint32_t& local_port,
const string& peer_ip,
const uint32_t& peer_port)
| bgp_0_2_delete_peer |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_enable_peer (
const string& local_ip,
const uint32_t& local_port,
const string& peer_ip,
const uint32_t& peer_port)
| bgp_0_2_enable_peer |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_disable_peer (
const string& local_ip,
const uint32_t& local_port,
const string& peer_ip,
const uint32_t& peer_port)
| bgp_0_2_disable_peer |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_set_nexthop6 (
const string& local_ip,
const uint32_t& local_port,
const string& peer_ip,
const uint32_t& peer_port,
const IPv6& next_hop)
| bgp_0_2_set_nexthop6 |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_get_nexthop6 (
const string& local_ip,
const uint32_t& local_port,
const string& peer_ip,
const uint32_t& peer_port,
IPv6& next_hop)
| bgp_0_2_get_nexthop6 |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_set_peer_state (
const string& local_ip,
const uint32_t& local_port,
const string& peer_ip,
const uint32_t& peer_port,
const bool& state)
| bgp_0_2_set_peer_state |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_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)
| bgp_0_2_set_peer_md5_password |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_activate (
const string& local_ip,
const uint32_t& local_port,
const string& peer_ip,
const uint32_t& peer_port)
| bgp_0_2_activate |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_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)
| bgp_0_2_next_hop_rewrite_filter |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_originate_route4 (
const IPv4Net& nlri,
const IPv4& next_hop,
const bool& unicast,
const bool& multicast)
| bgp_0_2_originate_route4 |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_originate_route6 (
const IPv6Net& nlri,
const IPv6& next_hop,
const bool& unicast,
const bool& multicast)
| bgp_0_2_originate_route6 |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_withdraw_route4 (
const IPv4Net& nlri,
const bool& unicast,
const bool& multicast)
| bgp_0_2_withdraw_route4 |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_withdraw_route6 (
const IPv6Net& nlri,
const bool& unicast,
const bool& multicast)
| bgp_0_2_withdraw_route6 |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_get_peer_list_start (
uint32_t& token,
bool& more)
| bgp_0_2_get_peer_list_start |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_get_peer_list_next (
const uint32_t& token,
string& local_ip,
uint32_t& local_port,
string& peer_ip,
uint32_t& peer_port,
bool& more)
| bgp_0_2_get_peer_list_next |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_get_peer_id (
const string& local_ip,
const uint32_t& local_port,
const string& peer_ip,
const uint32_t& peer_port,
IPv4& peer_id)
| bgp_0_2_get_peer_id |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_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)
| bgp_0_2_get_peer_status |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_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)
| bgp_0_2_get_peer_negotiated_version |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_get_peer_as (
const string& local_ip,
const uint32_t& local_port,
const string& peer_ip,
const uint32_t& peer_port,
uint32_t& peer_as)
| bgp_0_2_get_peer_as |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_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)
| bgp_0_2_get_peer_msg_stats |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_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)
| bgp_0_2_get_peer_established_stats |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_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_origin_interval,
uint32_t& min_route_adv_interval)
| bgp_0_2_get_peer_timer_config |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_register_rib (
const string& name)
| bgp_0_2_register_rib |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_get_v4_route_list_start (
const bool& unicast,
const bool& multicast,
uint32_t& token)
| bgp_0_2_get_v4_route_list_start |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_get_v6_route_list_start (
const bool& unicast,
const bool& multicast,
uint32_t& token)
| bgp_0_2_get_v6_route_list_start |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_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)
| bgp_0_2_get_v4_route_list_next |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_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)
| bgp_0_2_get_v6_route_list_next |
Reimplemented from XrlBgpTargetBase.
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)
| rib_client_0_1_route_info_changed4 |
Reimplemented from XrlBgpTargetBase.
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)
| rib_client_0_1_route_info_changed6 |
Reimplemented from XrlBgpTargetBase.
XrlCmdError rib_client_0_1_route_info_invalid4 (
const IPv4& addr,
const uint32_t& prefix_len)
| rib_client_0_1_route_info_invalid4 |
Reimplemented from XrlBgpTargetBase.
XrlCmdError rib_client_0_1_route_info_invalid6 (
const IPv6& addr,
const uint32_t& prefix_len)
| rib_client_0_1_route_info_invalid6 |
Reimplemented from XrlBgpTargetBase.
XrlCmdError bgp_0_2_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)
| bgp_0_2_set_parameter |
Reimplemented from XrlBgpTargetBase.
XrlCmdError finder_event_observer_0_1_xrl_target_birth (
const string& target_class,
const string& target_instance)
| finder_event_observer_0_1_xrl_target_birth |
Reimplemented from XrlBgpTargetBase.
XrlCmdError finder_event_observer_0_1_xrl_target_death (
const string& target_class,
const string& target_instance)
| finder_event_observer_0_1_xrl_target_death |
Reimplemented from XrlBgpTargetBase.
XrlCmdError policy_backend_0_1_configure (
const uint32_t& filter,
const string& conf)
| policy_backend_0_1_configure |
Reimplemented from XrlBgpTargetBase.
XrlCmdError policy_backend_0_1_reset (
const uint32_t& filter)
| policy_backend_0_1_reset |
Reimplemented from XrlBgpTargetBase.
XrlCmdError policy_backend_0_1_push_routes ()
| policy_backend_0_1_push_routes |
Reimplemented from XrlBgpTargetBase.
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)
| policy_redist4_0_1_add_route4 |
Reimplemented from XrlBgpTargetBase.
XrlCmdError policy_redist4_0_1_delete_route4 (
const IPv4Net& network,
const bool& unicast,
const bool& multicast)
| policy_redist4_0_1_delete_route4 |
Reimplemented from XrlBgpTargetBase.
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)
| policy_redist6_0_1_add_route6 |
Reimplemented from XrlBgpTargetBase.
XrlCmdError policy_redist6_0_1_delete_route6 (
const IPv6Net& network,
const bool& unicast,
const bool& multicast)
| policy_redist6_0_1_delete_route6 |
Reimplemented from XrlBgpTargetBase.
XrlCmdError profile_0_1_enable (
const string& pname)
| profile_0_1_enable |
Reimplemented from XrlBgpTargetBase.
XrlCmdError profile_0_1_disable (
const string& pname)
| profile_0_1_disable |
Reimplemented from XrlBgpTargetBase.
XrlCmdError profile_0_1_get_entries (
const string& pname,
const string& instance_name)
| profile_0_1_get_entries |
Reimplemented from XrlBgpTargetBase.
XrlCmdError profile_0_1_clear (
const string& pname)
| profile_0_1_clear |
Reimplemented from XrlBgpTargetBase.
XrlCmdError profile_0_1_list (
string& info)
| profile_0_1_list |
Reimplemented from XrlBgpTargetBase.
bool waiting ()
| waiting |
bool done ()
| done |