| Definition | #include <xrl_pim_node.hh> |
| Inherits | PimNode [public ], PimNodeCli [public ], XrlCliManagerV0p1Client (unknown) [public ], XrlCommonV0p1Client (unknown) [public ], XrlMfeaV0p1Client (unknown) [public ], XrlMld6igmpV0p1Client (unknown) [public ], XrlPimTargetBase (unknown) [public ], XrlRibV0p1Client (unknown) [public ] |
| List of all Methods |
|
|
Public Methods
Protected Methods
- int proto_send (const string& dst_module_instance_name,
xorp_module_id dst_module_id,
uint16_t vif_index,
const IPvX& src, const IPvX& dst,
int ip_ttl,int ip_tos, bool router_alert_bool,
const uint8_t * sndbuf, size_t sndlen)
- void xrl_result_send_protocol_message (const XrlError& xrl_error)
- int start_protocol_kernel ()
- void xrl_result_add_protocol_mfea (const XrlError& xrl_error)
- void xrl_result_allow_signal_messages (const XrlError& xrl_error)
- void xrl_result_allow_mrib_messages (const XrlError& xrl_error)
- void xrl_result_add_rib_client (const XrlError& xrl_error)
- int stop_protocol_kernel ()
- void xrl_result_delete_protocol_mfea (const XrlError& xrl_error)
- int start_protocol_kernel_vif (uint16_t vif_index)
- void xrl_result_start_protocol_kernel_vif (const XrlError& xrl_error)
- int stop_protocol_kernel_vif (uint16_t vif_index)
- void xrl_result_stop_protocol_kernel_vif (const XrlError& xrl_error)
- int join_multicast_group (uint16_t vif_index,
const IPvX& multicast_group)
- void xrl_result_join_multicast_group (const XrlError& xrl_error)
- int leave_multicast_group (uint16_t vif_index,
const IPvX& multicast_group)
- void xrl_result_leave_multicast_group (const XrlError& xrl_error)
- int add_mfc_to_kernel (const PimMfc& pim_mfc)
- void xrl_result_add_mfc_to_kernel (const XrlError& xrl_error)
- int delete_mfc_from_kernel (const PimMfc& pim_mfc)
- void xrl_result_delete_mfc_from_kernel (const XrlError& xrl_error)
- int add_dataflow_monitor (const IPvX& source_addr,
const IPvX& group_addr,
uint32_t threshold_interval_sec,
uint32_t threshold_interval_usec,
uint32_t threshold_packets,
uint32_t threshold_bytes,
bool is_threshold_in_packets,
bool is_threshold_in_bytes,
bool is_geq_upcall,
bool is_leq_upcall)
- void xrl_result_add_dataflow_monitor (const XrlError& xrl_error)
- int delete_dataflow_monitor (const IPvX& source_addr,
const IPvX& group_addr,
uint32_t threshold_interval_sec,
uint32_t threshold_interval_usec,
uint32_t threshold_packets,
uint32_t threshold_bytes,
bool is_threshold_in_packets,
bool is_threshold_in_bytes,
bool is_geq_upcall,
bool is_leq_upcall)
- void xrl_result_delete_dataflow_monitor (const XrlError& xrl_error)
- int delete_all_dataflow_monitor (const IPvX& source_addr,
const IPvX& group_addr)
- void xrl_result_delete_all_dataflow_monitor (const XrlError& xrl_error)
- int add_protocol_mld6igmp (uint16_t vif_index)
- void xrl_result_add_protocol_mld6igmp (const XrlError& xrl_error)
- int delete_protocol_mld6igmp (uint16_t vif_index)
- void xrl_result_delete_protocol_mld6igmp (const XrlError& xrl_error)
- int add_cli_command_to_cli_manager (const char *command_name,
const char *command_help,
bool is_command_cd,
const char *command_cd_prompt,
bool is_command_processor)
- void xrl_result_add_cli_command (const XrlError& xrl_error)
- int delete_cli_command_from_cli_manager (const char *command_name)
- void xrl_result_delete_cli_command (const XrlError& xrl_error)
- XrlCmdError common_0_1_get_target_name (
string& name)
- XrlCmdError common_0_1_get_version (
string& version)
- XrlCmdError common_0_1_get_status (
uint32_t& status,
string& reason)
- XrlCmdError common_0_1_shutdown ()
- XrlCmdError cli_processor_0_1_process_command (
const string& processor_name,
const string& cli_term_name,
const uint32_t& cli_session_id,
const string& command_name,
const string& command_args,
string& ret_processor_name,
string& ret_cli_term_name,
uint32_t& ret_cli_session_id,
string& ret_command_output)
- XrlCmdError mfea_client_0_1_new_vif (
const string& vif_name,
const uint32_t& vif_index)
- XrlCmdError mfea_client_0_1_delete_vif (
const string& vif_name)
- XrlCmdError mfea_client_0_1_add_vif_addr4 (
const string& vif_name,
const IPv4& addr,
const IPv4Net& subnet,
const IPv4& broadcast,
const IPv4& peer)
- XrlCmdError mfea_client_0_1_add_vif_addr6 (
const string& vif_name,
const IPv6& addr,
const IPv6Net& subnet,
const IPv6& broadcast,
const IPv6& peer)
- XrlCmdError mfea_client_0_1_delete_vif_addr4 (
const string& vif_name,
const IPv4& addr)
- XrlCmdError mfea_client_0_1_delete_vif_addr6 (
const string& vif_name,
const IPv6& addr)
- XrlCmdError mfea_client_0_1_set_vif_flags (
const string& vif_name,
const bool& is_pim_register,
const bool& is_p2p,
const bool& is_loopback,
const bool& is_multicast,
const bool& is_broadcast,
const bool& is_up)
- XrlCmdError mfea_client_0_1_set_all_vifs_done ()
- XrlCmdError mfea_client_0_1_is_vif_setup_completed (
bool& is_completed)
- XrlCmdError mfea_client_0_1_recv_protocol_message4 (
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const string& vif_name,
const uint32_t& vif_index,
const IPv4& source_address,
const IPv4& dest_address,
const int32_t& ip_ttl,
const int32_t& ip_tos,
const bool& is_router_alert,
const vector<uint8_t>& protocol_message)
- XrlCmdError mfea_client_0_1_recv_protocol_message6 (
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const string& vif_name,
const uint32_t& vif_index,
const IPv6& source_address,
const IPv6& dest_address,
const int32_t& ip_ttl,
const int32_t& ip_tos,
const bool& is_router_alert,
const vector<uint8_t>& protocol_message)
- XrlCmdError mfea_client_0_1_recv_kernel_signal_message4 (
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const uint32_t& message_type,
const string& vif_name,
const uint32_t& vif_index,
const IPv4& source_address,
const IPv4& dest_address,
const vector<uint8_t>& protocol_message)
- XrlCmdError mfea_client_0_1_recv_kernel_signal_message6 (
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const uint32_t& message_type,
const string& vif_name,
const uint32_t& vif_index,
const IPv6& source_address,
const IPv6& dest_address,
const vector<uint8_t>& protocol_message)
- XrlCmdError mfea_client_0_1_add_mrib4 (
const string& xrl_sender_name,
const IPv4Net& dest_prefix,
const IPv4& next_hop_router_addr,
const string& next_hop_vif_name,
const uint32_t& next_hop_vif_index,
const uint32_t& metric_preference,
const uint32_t& metric)
- XrlCmdError mfea_client_0_1_add_mrib6 (
const string& xrl_sender_name,
const IPv6Net& dest_prefix,
const IPv6& next_hop_router_addr,
const string& next_hop_vif_name,
const uint32_t& next_hop_vif_index,
const uint32_t& metric_preference,
const uint32_t& metric)
- XrlCmdError mfea_client_0_1_delete_mrib4 (
const string& xrl_sender_name,
const IPv4Net& dest_prefix)
- XrlCmdError mfea_client_0_1_delete_mrib6 (
const string& xrl_sender_name,
const IPv6Net& dest_prefix)
- XrlCmdError mfea_client_0_1_set_mrib_done (
const string& xrl_sender_name)
- XrlCmdError mfea_client_0_1_recv_dataflow_signal4 (
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const uint32_t& threshold_interval_sec,
const uint32_t& threshold_interval_usec,
const uint32_t& measured_interval_sec,
const uint32_t& measured_interval_usec,
const uint32_t& threshold_packets,
const uint32_t& threshold_bytes,
const uint32_t& measured_packets,
const uint32_t& measured_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall)
- XrlCmdError mfea_client_0_1_recv_dataflow_signal6 (
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const uint32_t& threshold_interval_sec,
const uint32_t& threshold_interval_usec,
const uint32_t& measured_interval_sec,
const uint32_t& measured_interval_usec,
const uint32_t& threshold_packets,
const uint32_t& threshold_bytes,
const uint32_t& measured_packets,
const uint32_t& measured_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall)
- XrlCmdError fti_0_2_start_transaction (
uint32_t& tid)
- virtual XrlCmdError fti_0_2_commit_transaction (
const uint32_t& tid)
- XrlCmdError fti_0_2_abort_transaction (
const uint32_t& tid)
- XrlCmdError fti_0_2_add_entry4 (
const uint32_t& tid,
const IPv4Net& dst,
const IPv4& gateway,
const string& ifname,
const string& vifname,
const uint32_t& metric,
const uint32_t& admin_distance,
const string& protocol_origin)
- XrlCmdError fti_0_2_add_entry6 (
const uint32_t& tid,
const IPv6Net& dst,
const IPv6& gateway,
const string& ifname,
const string& vifname,
const uint32_t& metric,
const uint32_t& admin_distance,
const string& protocol_origin)
- XrlCmdError fti_0_2_delete_entry4 (
const uint32_t& tid,
const IPv4Net& dst)
- XrlCmdError fti_0_2_delete_entry6 (
const uint32_t& tid,
const IPv6Net& dst)
- XrlCmdError fti_0_2_delete_all_entries (
const uint32_t& tid)
- XrlCmdError fti_0_2_delete_all_entries4 (
const uint32_t& tid)
- XrlCmdError fti_0_2_delete_all_entries6 (
const uint32_t& tid)
- XrlCmdError fti_0_2_lookup_route4 (
const IPv4& dst,
IPv4Net& netmask,
IPv4& gateway,
string& ifname,
string& vifname,
uint32_t& metric,
uint32_t& admin_distance,
string& protocol_origin)
- XrlCmdError fti_0_2_lookup_route6 (
const IPv6& dst,
IPv6Net& netmask,
IPv6& gateway,
string& ifname,
string& vifname,
uint32_t& metric,
uint32_t& admin_distance,
string& protocol_origin)
- XrlCmdError fti_0_2_lookup_entry4 (
const IPv4Net& dst,
IPv4& gateway,
string& ifname,
string& vifname,
uint32_t& metric,
uint32_t& admin_distance,
string& protocol_origin)
- XrlCmdError fti_0_2_lookup_entry6 (
const IPv6Net& dst,
IPv6& gateway,
string& ifname,
string& vifname,
uint32_t& metric,
uint32_t& admin_distance,
string& protocol_origin)
- XrlCmdError fti_0_2_get_unicast_forwarding_enabled4 (
bool& enabled)
- XrlCmdError fti_0_2_get_unicast_forwarding_enabled6 (
bool& enabled)
- XrlCmdError fti_0_2_set_unicast_forwarding_enabled4 (
const bool& enabled)
- XrlCmdError fti_0_2_set_unicast_forwarding_enabled6 (
const bool& enabled)
- XrlCmdError mld6igmp_client_0_1_add_membership4 (
const string& xrl_sender_name,
const string& vif_name,
const uint32_t& vif_index,
const IPv4& source,
const IPv4& group)
- XrlCmdError mld6igmp_client_0_1_add_membership6 (
const string& xrl_sender_name,
const string& vif_name,
const uint32_t& vif_index,
const IPv6& source,
const IPv6& group)
- XrlCmdError mld6igmp_client_0_1_delete_membership4 (
const string& xrl_sender_name,
const string& vif_name,
const uint32_t& vif_index,
const IPv4& source,
const IPv4& group)
- XrlCmdError mld6igmp_client_0_1_delete_membership6 (
const string& xrl_sender_name,
const string& vif_name,
const uint32_t& vif_index,
const IPv6& source,
const IPv6& group)
- XrlCmdError pim_0_1_enable_vif (
const string& vif_name)
- XrlCmdError pim_0_1_disable_vif (
const string& vif_name)
- XrlCmdError pim_0_1_start_vif (
const string& vif_name)
- XrlCmdError pim_0_1_stop_vif (
const string& vif_name)
- XrlCmdError pim_0_1_enable_all_vifs ()
- XrlCmdError pim_0_1_disable_all_vifs ()
- XrlCmdError pim_0_1_start_all_vifs ()
- XrlCmdError pim_0_1_stop_all_vifs ()
- XrlCmdError pim_0_1_enable_pim ()
- XrlCmdError pim_0_1_disable_pim ()
- XrlCmdError pim_0_1_enable_cli ()
- XrlCmdError pim_0_1_disable_cli ()
- XrlCmdError pim_0_1_start_pim ()
- XrlCmdError pim_0_1_stop_pim ()
- XrlCmdError pim_0_1_start_cli ()
- XrlCmdError pim_0_1_stop_cli ()
- XrlCmdError pim_0_1_enable_bsr ()
- XrlCmdError pim_0_1_disable_bsr ()
- XrlCmdError pim_0_1_start_bsr ()
- XrlCmdError pim_0_1_stop_bsr ()
- XrlCmdError pim_0_1_add_config_scope_zone_by_vif_name4 (
const IPv4Net& scope_zone_id,
const string& vif_name)
- XrlCmdError pim_0_1_add_config_scope_zone_by_vif_name6 (
const IPv6Net& scope_zone_id,
const string& vif_name)
- XrlCmdError pim_0_1_add_config_scope_zone_by_vif_addr4 (
const IPv4Net& scope_zone_id,
const IPv4& vif_addr)
- XrlCmdError pim_0_1_add_config_scope_zone_by_vif_addr6 (
const IPv6Net& scope_zone_id,
const IPv6& vif_addr)
- XrlCmdError pim_0_1_delete_config_scope_zone_by_vif_name4 (
const IPv4Net& scope_zone_id,
const string& vif_name)
- XrlCmdError pim_0_1_delete_config_scope_zone_by_vif_name6 (
const IPv6Net& scope_zone_id,
const string& vif_name)
- XrlCmdError pim_0_1_delete_config_scope_zone_by_vif_addr4 (
const IPv4Net& scope_zone_id,
const IPv4& vif_addr)
- XrlCmdError pim_0_1_delete_config_scope_zone_by_vif_addr6 (
const IPv6Net& scope_zone_id,
const IPv6& vif_addr)
- XrlCmdError pim_0_1_add_config_cand_bsr_by_vif_name4 (
const IPv4Net& scope_zone_id,
const bool& is_scope_zone,
const string& vif_name,
const uint32_t& bsr_priority,
const uint32_t& hash_masklen)
- XrlCmdError pim_0_1_add_config_cand_bsr_by_vif_name6 (
const IPv6Net& scope_zone_id,
const bool& is_scope_zone,
const string& vif_name,
const uint32_t& bsr_priority,
const uint32_t& hash_masklen)
- XrlCmdError pim_0_1_add_config_cand_bsr_by_addr4 (
const IPv4Net& scope_zone_id,
const bool& is_scope_zone,
const IPv4& cand_bsr_addr,
const uint32_t& bsr_priority,
const uint32_t& hash_masklen)
- XrlCmdError pim_0_1_add_config_cand_bsr_by_addr6 (
const IPv6Net& scope_zone_id,
const bool& is_scope_zone,
const IPv6& cand_bsr_addr,
const uint32_t& bsr_priority,
const uint32_t& hash_masklen)
- XrlCmdError pim_0_1_delete_config_cand_bsr4 (
const IPv4Net& scope_zone_id,
const bool& is_scope_zone)
- XrlCmdError pim_0_1_delete_config_cand_bsr6 (
const IPv6Net& scope_zone_id,
const bool& is_scope_zone)
- XrlCmdError pim_0_1_add_config_cand_rp_by_vif_name4 (
const IPv4Net& group_prefix,
const bool& is_scope_zone,
const string& vif_name,
const uint32_t& rp_priority,
const uint32_t& rp_holdtime)
- XrlCmdError pim_0_1_add_config_cand_rp_by_vif_name6 (
const IPv6Net& group_prefix,
const bool& is_scope_zone,
const string& vif_name,
const uint32_t& rp_priority,
const uint32_t& rp_holdtime)
- XrlCmdError pim_0_1_add_config_cand_rp_by_addr4 (
const IPv4Net& group_prefix,
const bool& is_scope_zone,
const IPv4& cand_rp_addr,
const uint32_t& rp_priority,
const uint32_t& rp_holdtime)
- XrlCmdError pim_0_1_add_config_cand_rp_by_addr6 (
const IPv6Net& group_prefix,
const bool& is_scope_zone,
const IPv6& cand_rp_addr,
const uint32_t& rp_priority,
const uint32_t& rp_holdtime)
- XrlCmdError pim_0_1_delete_config_cand_rp_by_vif_name4 (
const IPv4Net& group_prefix,
const bool& is_scope_zone,
const string& vif_name)
- XrlCmdError pim_0_1_delete_config_cand_rp_by_vif_name6 (
const IPv6Net& group_prefix,
const bool& is_scope_zone,
const string& vif_name)
- XrlCmdError pim_0_1_delete_config_cand_rp_by_addr4 (
const IPv4Net& group_prefix,
const bool& is_scope_zone,
const IPv4& cand_rp_addr)
- XrlCmdError pim_0_1_delete_config_cand_rp_by_addr6 (
const IPv6Net& group_prefix,
const bool& is_scope_zone,
const IPv6& cand_rp_addr)
- XrlCmdError pim_0_1_add_config_static_rp4 (
const IPv4Net& group_prefix,
const IPv4& rp_addr,
const uint32_t& rp_priority,
const uint32_t& hash_masklen)
- XrlCmdError pim_0_1_add_config_static_rp6 (
const IPv6Net& group_prefix,
const IPv6& rp_addr,
const uint32_t& rp_priority,
const uint32_t& hash_masklen)
- XrlCmdError pim_0_1_delete_config_static_rp4 (
const IPv4Net& group_prefix,
const IPv4& rp_addr)
- XrlCmdError pim_0_1_delete_config_static_rp6 (
const IPv6Net& group_prefix,
const IPv6& rp_addr)
- XrlCmdError pim_0_1_config_static_rp_done ()
- XrlCmdError pim_0_1_get_vif_proto_version (
const string& vif_name,
uint32_t& proto_version)
- XrlCmdError pim_0_1_set_vif_proto_version (
const string& vif_name,
const uint32_t& proto_version)
- XrlCmdError pim_0_1_reset_vif_proto_version (
const string& vif_name)
- XrlCmdError pim_0_1_get_vif_hello_triggered_delay (
const string& vif_name,
uint32_t& hello_triggered_delay)
- XrlCmdError pim_0_1_set_vif_hello_triggered_delay (
const string& vif_name,
const uint32_t& hello_triggered_delay)
- XrlCmdError pim_0_1_reset_vif_hello_triggered_delay (
const string& vif_name)
- XrlCmdError pim_0_1_get_vif_hello_period (
const string& vif_name,
uint32_t& hello_period)
- XrlCmdError pim_0_1_set_vif_hello_period (
const string& vif_name,
const uint32_t& hello_period)
- XrlCmdError pim_0_1_reset_vif_hello_period (
const string& vif_name)
- XrlCmdError pim_0_1_get_vif_hello_holdtime (
const string& vif_name,
uint32_t& hello_holdtime)
- XrlCmdError pim_0_1_set_vif_hello_holdtime (
const string& vif_name,
const uint32_t& hello_holdtime)
- XrlCmdError pim_0_1_reset_vif_hello_holdtime (
const string& vif_name)
- XrlCmdError pim_0_1_get_vif_dr_priority (
const string& vif_name,
uint32_t& dr_priority)
- XrlCmdError pim_0_1_set_vif_dr_priority (
const string& vif_name,
const uint32_t& dr_priority)
- XrlCmdError pim_0_1_reset_vif_dr_priority (
const string& vif_name)
- XrlCmdError pim_0_1_get_vif_lan_delay (
const string& vif_name,
uint32_t& lan_delay)
- XrlCmdError pim_0_1_set_vif_lan_delay (
const string& vif_name,
const uint32_t& lan_delay)
- XrlCmdError pim_0_1_reset_vif_lan_delay (
const string& vif_name)
- XrlCmdError pim_0_1_get_vif_override_interval (
const string& vif_name,
uint32_t& override_interval)
- XrlCmdError pim_0_1_set_vif_override_interval (
const string& vif_name,
const uint32_t& override_interval)
- XrlCmdError pim_0_1_reset_vif_override_interval (
const string& vif_name)
- XrlCmdError pim_0_1_get_vif_is_tracking_support_disabled (
const string& vif_name,
bool& is_tracking_support_disabled)
- XrlCmdError pim_0_1_set_vif_is_tracking_support_disabled (
const string& vif_name,
const bool& is_tracking_support_disabled)
- XrlCmdError pim_0_1_reset_vif_is_tracking_support_disabled (
const string& vif_name)
- XrlCmdError pim_0_1_get_vif_accept_nohello_neighbors (
const string& vif_name,
bool& accept_nohello_neighbors)
- XrlCmdError pim_0_1_set_vif_accept_nohello_neighbors (
const string& vif_name,
const bool& accept_nohello_neighbors)
- XrlCmdError pim_0_1_reset_vif_accept_nohello_neighbors (
const string& vif_name)
- XrlCmdError pim_0_1_get_vif_join_prune_period (
const string& vif_name,
uint32_t& join_prune_period)
- XrlCmdError pim_0_1_set_vif_join_prune_period (
const string& vif_name,
const uint32_t& join_prune_period)
- XrlCmdError pim_0_1_reset_vif_join_prune_period (
const string& vif_name)
- XrlCmdError pim_0_1_get_switch_to_spt_threshold (
bool& is_enabled,
uint32_t& interval_sec,
uint32_t& bytes)
- XrlCmdError pim_0_1_set_switch_to_spt_threshold (
const bool& is_enabled,
const uint32_t& interval_sec,
const uint32_t& bytes)
- XrlCmdError pim_0_1_reset_switch_to_spt_threshold ()
- XrlCmdError pim_0_1_enable_log_trace ()
- XrlCmdError pim_0_1_disable_log_trace ()
- XrlCmdError pim_0_1_add_test_jp_entry4 (
const IPv4& source_addr,
const IPv4& group_addr,
const uint32_t& group_masklen,
const string& mrt_entry_type,
const string& action_jp,
const uint32_t& holdtime,
const bool& new_group_bool)
- XrlCmdError pim_0_1_add_test_jp_entry6 (
const IPv6& source_addr,
const IPv6& group_addr,
const uint32_t& group_masklen,
const string& mrt_entry_type,
const string& action_jp,
const uint32_t& holdtime,
const bool& new_group_bool)
- XrlCmdError pim_0_1_send_test_jp_entry4 (
const IPv4& nbr_addr)
- XrlCmdError pim_0_1_send_test_jp_entry6 (
const IPv6& nbr_addr)
- XrlCmdError pim_0_1_send_test_assert4 (
const string& vif_name,
const IPv4& source_addr,
const IPv4& group_addr,
const bool& rpt_bit,
const uint32_t& metric_preference,
const uint32_t& metric)
- XrlCmdError pim_0_1_send_test_assert6 (
const string& vif_name,
const IPv6& source_addr,
const IPv6& group_addr,
const bool& rpt_bit,
const uint32_t& metric_preference,
const uint32_t& metric)
- XrlCmdError pim_0_1_add_test_bsr_zone4 (
const IPv4Net& zone_id_scope_zone_prefix,
const bool& zone_id_is_scope_zone,
const IPv4& bsr_addr,
const uint32_t& bsr_priority,
const uint32_t& hash_masklen,
const uint32_t& fragment_tag)
- XrlCmdError pim_0_1_add_test_bsr_zone6 (
const IPv6Net& zone_id_scope_zone_prefix,
const bool& zone_id_is_scope_zone,
const IPv6& bsr_addr,
const uint32_t& bsr_priority,
const uint32_t& hash_masklen,
const uint32_t& fragment_tag)
- XrlCmdError pim_0_1_add_test_bsr_group_prefix4 (
const IPv4Net& zone_id_scope_zone_prefix,
const bool& zone_id_is_scope_zone,
const IPv4Net& group_prefix,
const bool& is_scope_zone,
const uint32_t& expected_rp_count)
- XrlCmdError pim_0_1_add_test_bsr_group_prefix6 (
const IPv6Net& zone_id_scope_zone_prefix,
const bool& zone_id_is_scope_zone,
const IPv6Net& group_prefix,
const bool& is_scope_zone,
const uint32_t& expected_rp_count)
- XrlCmdError pim_0_1_add_test_bsr_rp4 (
const IPv4Net& zone_id_scope_zone_prefix,
const bool& zone_id_is_scope_zone,
const IPv4Net& group_prefix,
const IPv4& rp_addr,
const uint32_t& rp_priority,
const uint32_t& rp_holdtime)
- XrlCmdError pim_0_1_add_test_bsr_rp6 (
const IPv6Net& zone_id_scope_zone_prefix,
const bool& zone_id_is_scope_zone,
const IPv6Net& group_prefix,
const IPv6& rp_addr,
const uint32_t& rp_priority,
const uint32_t& rp_holdtime)
- XrlCmdError pim_0_1_send_test_bootstrap (
const string& vif_name)
- XrlCmdError pim_0_1_send_test_bootstrap_by_dest4 (
const string& vif_name,
const IPv4& dest_addr)
- XrlCmdError pim_0_1_send_test_bootstrap_by_dest6 (
const string& vif_name,
const IPv6& dest_addr)
- XrlCmdError pim_0_1_send_test_cand_rp_adv ()
- XrlCmdError pim_0_1_pimstat_neighbors4 (
uint32_t& nbrs_number,
XrlAtomList& vifs,
XrlAtomList& addresses,
XrlAtomList& pim_versions,
XrlAtomList& dr_priorities,
XrlAtomList& holdtimes,
XrlAtomList& timeouts,
XrlAtomList& uptimes)
- XrlCmdError pim_0_1_pimstat_neighbors6 (
uint32_t& nbrs_number,
XrlAtomList& vifs,
XrlAtomList& addresses,
XrlAtomList& pim_versions,
XrlAtomList& dr_priorities,
XrlAtomList& holdtimes,
XrlAtomList& timeouts,
XrlAtomList& uptimes)
- XrlCmdError pim_0_1_pimstat_interface4 (
const string& vif_name,
uint32_t& pim_version,
bool& is_dr,
uint32_t& dr_priority,
IPv4& dr_address,
uint32_t& pim_nbrs_number)
- XrlCmdError pim_0_1_pimstat_interface6 (
const string& vif_name,
uint32_t& pim_version,
bool& is_dr,
uint32_t& dr_priority,
IPv6& dr_address,
uint32_t& pim_nbrs_number)
- XrlCmdError pim_0_1_pimstat_rps4 (
uint32_t& rps_number,
XrlAtomList& addresses,
XrlAtomList& types,
XrlAtomList& priorities,
XrlAtomList& holdtimes,
XrlAtomList& timeouts,
XrlAtomList& group_prefixes)
- XrlCmdError pim_0_1_pimstat_rps6 (
uint32_t& rps_number,
XrlAtomList& addresses,
XrlAtomList& types,
XrlAtomList& priorities,
XrlAtomList& holdtimes,
XrlAtomList& timeouts,
XrlAtomList& group_prefixes)
- XrlCmdError pim_0_1_clear_pim_statistics ()
- XrlCmdError pim_0_1_clear_pim_statistics_per_vif (
const string& vif_name)
- XrlCmdError pim_0_1_pimstat_hello_messages_received (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_hello_messages_sent (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_hello_messages_rx_errors (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_register_messages_received (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_register_messages_sent (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_register_messages_rx_errors (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_register_stop_messages_received (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_register_stop_messages_sent (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_register_stop_messages_rx_errors (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_join_prune_messages_received (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_join_prune_messages_sent (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_join_prune_messages_rx_errors (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_bootstrap_messages_received (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_bootstrap_messages_sent (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_bootstrap_messages_rx_errors (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_assert_messages_received (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_assert_messages_sent (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_assert_messages_rx_errors (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_graft_messages_received (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_graft_messages_sent (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_graft_messages_rx_errors (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_graft_ack_messages_received (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_graft_ack_messages_sent (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_graft_ack_messages_rx_errors (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_candidate_rp_messages_received (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_candidate_rp_messages_sent (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_candidate_rp_messages_rx_errors (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_unknown_type_messages (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_unknown_version_messages (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_neighbor_unknown_messages (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_bad_length_messages (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_bad_checksum_messages (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_bad_receive_interface_messages (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_interface_disabled_messages (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_register_not_rp (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rp_filtered_source (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_unknown_register_stop (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_join_prune_no_state (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_graft_graft_ack_no_state (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_graft_on_upstream_interface (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_candidate_rp_not_bsr (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_bsr_when_bsr (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_bsr_not_rpf_interface (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_unknown_hello_option (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_data_no_state (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_rp_no_state (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_aggregate (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_malformed_packet (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_no_rp (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_no_route_upstream (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rp_mismatch (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rpf_neighbor_unknown (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_join_rp (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_prune_rp (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_join_wc (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_prune_wc (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_join_sg (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_prune_sg (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_join_sg_rpt (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_prune_sg_rpt (
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_hello_messages_received_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_hello_messages_sent_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_hello_messages_rx_errors_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_register_messages_received_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_register_messages_sent_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_register_messages_rx_errors_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_register_stop_messages_received_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_register_stop_messages_sent_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_register_stop_messages_rx_errors_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_join_prune_messages_received_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_join_prune_messages_sent_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_join_prune_messages_rx_errors_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_bootstrap_messages_received_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_bootstrap_messages_sent_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_bootstrap_messages_rx_errors_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_assert_messages_received_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_assert_messages_sent_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_assert_messages_rx_errors_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_graft_messages_received_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_graft_messages_sent_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_graft_messages_rx_errors_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_graft_ack_messages_received_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_graft_ack_messages_sent_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_graft_ack_messages_rx_errors_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_candidate_rp_messages_received_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_candidate_rp_messages_sent_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_candidate_rp_messages_rx_errors_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_unknown_type_messages_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_unknown_version_messages_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_neighbor_unknown_messages_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_bad_length_messages_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_bad_checksum_messages_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_bad_receive_interface_messages_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_interface_disabled_messages_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_register_not_rp_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rp_filtered_source_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_unknown_register_stop_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_join_prune_no_state_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_graft_graft_ack_no_state_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_graft_on_upstream_interface_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_candidate_rp_not_bsr_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_bsr_when_bsr_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_bsr_not_rpf_interface_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_unknown_hello_option_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_data_no_state_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_rp_no_state_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_aggregate_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_malformed_packet_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_no_rp_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_no_route_upstream_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rp_mismatch_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rpf_neighbor_unknown_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_join_rp_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_prune_rp_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_join_wc_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_prune_wc_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_join_sg_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_prune_sg_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_join_sg_rpt_per_vif (
const string& vif_name,
uint32_t& value)
- XrlCmdError pim_0_1_pimstat_rx_prune_sg_rpt_per_vif (
const string& vif_name,
uint32_t& value)
XrlPimNode (int family, xorp_module_id module_id,
EventLoop& eventloop, XrlRouter* xrl_router)
| XrlPimNode |
~XrlPimNode ()
| ~XrlPimNode |
[virtual]
int enable_cli ()
| enable_cli |
int disable_cli ()
| disable_cli |
int start_cli ()
| start_cli |
int enable_pim ()
| enable_pim |
int disable_pim ()
| disable_pim |
int start_pim ()
| start_pim |
int enable_bsr ()
| enable_bsr |
Reimplemented from PimNode.
int disable_bsr ()
| disable_bsr |
Reimplemented from PimNode.
int start_bsr ()
| start_bsr |
Reimplemented from PimNode.
Reimplemented from PimNode.
int proto_send (const string& dst_module_instance_name,
xorp_module_id dst_module_id,
uint16_t vif_index,
const IPvX& src, const IPvX& dst,
int ip_ttl,int ip_tos, bool router_alert_bool,
const uint8_t * sndbuf, size_t sndlen)
| proto_send |
[protected]
Reimplemented from ProtoNode.
void xrl_result_send_protocol_message (const XrlError& xrl_error)
| xrl_result_send_protocol_message |
[protected]
int start_protocol_kernel ()
| start_protocol_kernel |
[protected]
Reimplemented from PimNode.
void xrl_result_add_protocol_mfea (const XrlError& xrl_error)
| xrl_result_add_protocol_mfea |
[protected]
void xrl_result_allow_signal_messages (const XrlError& xrl_error)
| xrl_result_allow_signal_messages |
[protected]
void xrl_result_allow_mrib_messages (const XrlError& xrl_error)
| xrl_result_allow_mrib_messages |
[protected]
void xrl_result_add_rib_client (const XrlError& xrl_error)
| xrl_result_add_rib_client |
[protected]
int stop_protocol_kernel ()
| stop_protocol_kernel |
[protected]
Reimplemented from PimNode.
void xrl_result_delete_protocol_mfea (const XrlError& xrl_error)
| xrl_result_delete_protocol_mfea |
[protected]
int start_protocol_kernel_vif (uint16_t vif_index)
| start_protocol_kernel_vif |
[protected]
Reimplemented from PimNode.
void xrl_result_start_protocol_kernel_vif (const XrlError& xrl_error)
| xrl_result_start_protocol_kernel_vif |
[protected]
int stop_protocol_kernel_vif (uint16_t vif_index)
| stop_protocol_kernel_vif |
[protected]
Reimplemented from PimNode.
void xrl_result_stop_protocol_kernel_vif (const XrlError& xrl_error)
| xrl_result_stop_protocol_kernel_vif |
[protected]
int join_multicast_group (uint16_t vif_index,
const IPvX& multicast_group)
| join_multicast_group |
[protected]
Reimplemented from PimNode.
void xrl_result_join_multicast_group (const XrlError& xrl_error)
| xrl_result_join_multicast_group |
[protected]
int leave_multicast_group (uint16_t vif_index,
const IPvX& multicast_group)
| leave_multicast_group |
[protected]
Reimplemented from PimNode.
void xrl_result_leave_multicast_group (const XrlError& xrl_error)
| xrl_result_leave_multicast_group |
[protected]
int add_mfc_to_kernel (const PimMfc& pim_mfc)
| add_mfc_to_kernel |
[protected]
Reimplemented from PimNode.
void xrl_result_add_mfc_to_kernel (const XrlError& xrl_error)
| xrl_result_add_mfc_to_kernel |
[protected]
int delete_mfc_from_kernel (const PimMfc& pim_mfc)
| delete_mfc_from_kernel |
[protected]
Reimplemented from PimNode.
void xrl_result_delete_mfc_from_kernel (const XrlError& xrl_error)
| xrl_result_delete_mfc_from_kernel |
[protected]
int add_dataflow_monitor (const IPvX& source_addr,
const IPvX& group_addr,
uint32_t threshold_interval_sec,
uint32_t threshold_interval_usec,
uint32_t threshold_packets,
uint32_t threshold_bytes,
bool is_threshold_in_packets,
bool is_threshold_in_bytes,
bool is_geq_upcall,
bool is_leq_upcall)
| add_dataflow_monitor |
[protected]
Reimplemented from PimNode.
void xrl_result_add_dataflow_monitor (const XrlError& xrl_error)
| xrl_result_add_dataflow_monitor |
[protected]
int delete_dataflow_monitor (const IPvX& source_addr,
const IPvX& group_addr,
uint32_t threshold_interval_sec,
uint32_t threshold_interval_usec,
uint32_t threshold_packets,
uint32_t threshold_bytes,
bool is_threshold_in_packets,
bool is_threshold_in_bytes,
bool is_geq_upcall,
bool is_leq_upcall)
| delete_dataflow_monitor |
[protected]
Reimplemented from PimNode.
void xrl_result_delete_dataflow_monitor (const XrlError& xrl_error)
| xrl_result_delete_dataflow_monitor |
[protected]
int delete_all_dataflow_monitor (const IPvX& source_addr,
const IPvX& group_addr)
| delete_all_dataflow_monitor |
[protected]
Reimplemented from PimNode.
void xrl_result_delete_all_dataflow_monitor (const XrlError& xrl_error)
| xrl_result_delete_all_dataflow_monitor |
[protected]
int add_protocol_mld6igmp (uint16_t vif_index)
| add_protocol_mld6igmp |
[protected]
Reimplemented from PimNode.
void xrl_result_add_protocol_mld6igmp (const XrlError& xrl_error)
| xrl_result_add_protocol_mld6igmp |
[protected]
int delete_protocol_mld6igmp (uint16_t vif_index)
| delete_protocol_mld6igmp |
[protected]
Reimplemented from PimNode.
void xrl_result_delete_protocol_mld6igmp (const XrlError& xrl_error)
| xrl_result_delete_protocol_mld6igmp |
[protected]
int add_cli_command_to_cli_manager (const char *command_name,
const char *command_help,
bool is_command_cd,
const char *command_cd_prompt,
bool is_command_processor)
| add_cli_command_to_cli_manager |
[protected]
Reimplemented from ProtoNodeCli.
void xrl_result_add_cli_command (const XrlError& xrl_error)
| xrl_result_add_cli_command |
[protected]
int delete_cli_command_from_cli_manager (const char *command_name)
| delete_cli_command_from_cli_manager |
[protected]
Reimplemented from ProtoNodeCli.
void xrl_result_delete_cli_command (const XrlError& xrl_error)
| xrl_result_delete_cli_command |
[protected]
XrlCmdError common_0_1_get_target_name (
string& name)
| common_0_1_get_target_name |
[protected]
Get name of Xrl Target
XrlCmdError common_0_1_get_version (
string& version)
| common_0_1_get_version |
[protected]
Get version string from Xrl Target
XrlCmdError common_0_1_get_status (
uint32_t& status,
string& reason)
| common_0_1_get_status |
[protected]
Get status from Xrl Target
[protected]
shutdown cleanly
XrlCmdError cli_processor_0_1_process_command (
const string& processor_name,
const string& cli_term_name,
const uint32_t& cli_session_id,
const string& command_name,
const string& command_args,
string& ret_processor_name,
string& ret_cli_term_name,
uint32_t& ret_cli_session_id,
string& ret_command_output)
| cli_processor_0_1_process_command |
[protected]
Process a CLI command.
Parameters:
| processor_name | the processor name for this command.
|
| cli_term_name | the terminal name the command was entered from.
|
| cli_session_id | the CLI session ID the command was entered from.
|
| command_name | the command name to process.
|
| command_args | the command arguments to process.
|
| ret_processor_name | the processor name to return back to the CLI.
|
| ret_cli_term_name | the terminal name to return back.
|
| ret_cli_session_id | the CLI session ID to return back.
|
| ret_command_output | the command output to return back.
|
XrlCmdError mfea_client_0_1_new_vif (
const string& vif_name,
const uint32_t& vif_index)
| mfea_client_0_1_new_vif |
[protected]
Add a new vif.
Parameters:
| vif_name | the name of the new vif.
|
| vif_index | the index of the new vif.
|
XrlCmdError mfea_client_0_1_delete_vif (
const string& vif_name)
| mfea_client_0_1_delete_vif |
[protected]
Delete an existing vif.
Parameters:
| vif_name | the name of the vif to delete.
|
XrlCmdError mfea_client_0_1_add_vif_addr4 (
const string& vif_name,
const IPv4& addr,
const IPv4Net& subnet,
const IPv4& broadcast,
const IPv4& peer)
| mfea_client_0_1_add_vif_addr4 |
[protected]
Add an address to a vif.
Parameters:
| vif_name | the name of the vif.
|
| addr | the unicast address to add.
|
| subnet | the subnet address to add.
|
| broadcast | the broadcast address (when applicable).
|
| peer | the peer address (when applicable).
|
XrlCmdError mfea_client_0_1_add_vif_addr6 (
const string& vif_name,
const IPv6& addr,
const IPv6Net& subnet,
const IPv6& broadcast,
const IPv6& peer)
| mfea_client_0_1_add_vif_addr6 |
[protected]
XrlCmdError mfea_client_0_1_delete_vif_addr4 (
const string& vif_name,
const IPv4& addr)
| mfea_client_0_1_delete_vif_addr4 |
[protected]
Delete an address from a vif.
Parameters:
| vif_name | the name of the vif.
|
| addr | the unicast address to delete.
|
XrlCmdError mfea_client_0_1_delete_vif_addr6 (
const string& vif_name,
const IPv6& addr)
| mfea_client_0_1_delete_vif_addr6 |
[protected]
XrlCmdError mfea_client_0_1_set_vif_flags (
const string& vif_name,
const bool& is_pim_register,
const bool& is_p2p,
const bool& is_loopback,
const bool& is_multicast,
const bool& is_broadcast,
const bool& is_up)
| mfea_client_0_1_set_vif_flags |
[protected]
Set flags to a vif.
Parameters:
| vif_name | the name of the vif.
|
| is_pim_register | true if this is a PIM Register vif.
|
| is_p2p | true if this is a point-to-point vif.
|
| is_loopback | true if this is a loopback interface.
|
| is_multicast | true if the vif is multicast-capable.
|
| is_broadcast | true if the vif is broadcast-capable.
|
| is_up | true if the vif is UP and running.
|
XrlCmdError mfea_client_0_1_set_all_vifs_done ()
| mfea_client_0_1_set_all_vifs_done |
[protected]
Complete all transactions with vif information.
XrlCmdError mfea_client_0_1_is_vif_setup_completed (
bool& is_completed)
| mfea_client_0_1_is_vif_setup_completed |
[protected]
Test if the vif setup is completed.
Parameters:
| is_completed | if true the vif setup is completed.
|
XrlCmdError mfea_client_0_1_recv_protocol_message4 (
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const string& vif_name,
const uint32_t& vif_index,
const IPv4& source_address,
const IPv4& dest_address,
const int32_t& ip_ttl,
const int32_t& ip_tos,
const bool& is_router_alert,
const vector<uint8_t>& protocol_message)
| mfea_client_0_1_recv_protocol_message4 |
[protected]
Receive a protocol message from the MFEA.
Parameters:
| xrl_sender_name | the XRL name of the originator of this XRL.
|
| protocol_name | the name of the protocol that sends a message.
|
| protocol_id | the ID of the protocol that sends a message (both
sides must agree on the particular values).
|
| vif_name | the name of the vif the message was received on.
|
| vif_index | the index of the vif the message was received on.
|
| source_address | the address of the sender.
|
| dest_address | the destination address.
|
| ip_ttl | the TTL of the received IP packet. If it has a negative
value, it should be ignored.
|
| ip_tos | the TOS of the received IP packet. If it has a negative
value, it should be ignored.
|
| is_router_alert | if true, the IP Router Alert option in
the IP packet was set (when applicable).
|
| protocol_message | the protocol message.
|
XrlCmdError mfea_client_0_1_recv_protocol_message6 (
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const string& vif_name,
const uint32_t& vif_index,
const IPv6& source_address,
const IPv6& dest_address,
const int32_t& ip_ttl,
const int32_t& ip_tos,
const bool& is_router_alert,
const vector<uint8_t>& protocol_message)
| mfea_client_0_1_recv_protocol_message6 |
[protected]
XrlCmdError mfea_client_0_1_recv_kernel_signal_message4 (
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const uint32_t& message_type,
const string& vif_name,
const uint32_t& vif_index,
const IPv4& source_address,
const IPv4& dest_address,
const vector<uint8_t>& protocol_message)
| mfea_client_0_1_recv_kernel_signal_message4 |
[protected]
Receive a kernel signal message from the MFEA.
Parameters:
| xrl_sender_name | the XRL name of the originator of this XRL.
|
| protocol_name | the name of the protocol that sends a message.
|
| protocol_id | the ID of the protocol that sends a message (both
sides must agree on the particular values).
|
| message_type | the type of the kernel signal message (TODO:
integer for now: the particular types are well-known by both sides).
|
| vif_name | the name of the vif the message was received on.
|
| vif_index | the index of the vif the message was received on.
|
| source_address | the address of the sender.
|
| dest_address | the destination address.
|
| protocol_message | the protocol message.
|
XrlCmdError mfea_client_0_1_recv_kernel_signal_message6 (
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const uint32_t& message_type,
const string& vif_name,
const uint32_t& vif_index,
const IPv6& source_address,
const IPv6& dest_address,
const vector<uint8_t>& protocol_message)
| mfea_client_0_1_recv_kernel_signal_message6 |
[protected]
XrlCmdError mfea_client_0_1_add_mrib4 (
const string& xrl_sender_name,
const IPv4Net& dest_prefix,
const IPv4& next_hop_router_addr,
const string& next_hop_vif_name,
const uint32_t& next_hop_vif_index,
const uint32_t& metric_preference,
const uint32_t& metric)
| mfea_client_0_1_add_mrib4 |
[protected]
Add Multicast Routing Information Base information.
Parameters:
| xrl_sender_name | the XRL name of the originator of this XRL.
|
| dest_prefix | the destination prefix to add.
|
| next_hop_router_addr | the address of the next-hop router toward
the destination prefix.
|
| next_hop_vif_name | the name of the vif toward the destination
prefix.
|
| next_hop_vif_index | the index of the vif toward the destination
prefix.
|
| metric_preference | the metric preference for this entry.
|
| metric | the metric for this entry.
|
XrlCmdError mfea_client_0_1_add_mrib6 (
const string& xrl_sender_name,
const IPv6Net& dest_prefix,
const IPv6& next_hop_router_addr,
const string& next_hop_vif_name,
const uint32_t& next_hop_vif_index,
const uint32_t& metric_preference,
const uint32_t& metric)
| mfea_client_0_1_add_mrib6 |
[protected]
XrlCmdError mfea_client_0_1_delete_mrib4 (
const string& xrl_sender_name,
const IPv4Net& dest_prefix)
| mfea_client_0_1_delete_mrib4 |
[protected]
Delete Multicast Routing Information Base information.
Parameters:
| xrl_sender_name | the XRL name of the originator of this XRL.
|
| dest_prefix | the destination prefix to delete.
|
XrlCmdError mfea_client_0_1_delete_mrib6 (
const string& xrl_sender_name,
const IPv6Net& dest_prefix)
| mfea_client_0_1_delete_mrib6 |
[protected]
XrlCmdError mfea_client_0_1_set_mrib_done (
const string& xrl_sender_name)
| mfea_client_0_1_set_mrib_done |
[protected]
Complete a transaction with MRIB information.
Parameters:
| xrl_sender_name | the XRL name of the originator of this XRL.
|
XrlCmdError mfea_client_0_1_recv_dataflow_signal4 (
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const uint32_t& threshold_interval_sec,
const uint32_t& threshold_interval_usec,
const uint32_t& measured_interval_sec,
const uint32_t& measured_interval_usec,
const uint32_t& threshold_packets,
const uint32_t& threshold_bytes,
const uint32_t& measured_packets,
const uint32_t& measured_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall)
| mfea_client_0_1_recv_dataflow_signal4 |
[protected]
A signal that a dataflow-related pre-condition is true.
Parameters:
| xrl_sender_name | the XRL name of the originator of this XRL.
|
| source_address | the source address of the dataflow.
|
| group_address | the group address of the dataflow.
|
| threshold_interval_sec | the number of seconds in the interval
requested for measurement.
|
| threshold_interval_usec | the number of microseconds in the
interval requested for measurement.
|
| measured_interval_sec | the number of seconds in the last measured
interval that has triggered the signal.
|
| measured_interval_usec | the number of microseconds in the last
measured interval that has triggered the signal.
|
| threshold_packets | the threshold value to trigger a signal (in
number of packets).
|
| threshold_bytes | the threshold value to trigger a signal (in
bytes).
|
| measured_packets | the number of packets measured within the
measured interval.
|
| measured_bytes | the number of bytes measured within the measured
interval.
|
| is_threshold_in_packets | if true, threshold_packets is valid.
|
| is_threshold_in_bytes | if true, threshold_bytes is valid.
|
| is_geq_upcall | if true, the operation for comparison is ">=".
|
| is_leq_upcall | if true, the operation for comparison is "<=".
|
XrlCmdError mfea_client_0_1_recv_dataflow_signal6 (
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const uint32_t& threshold_interval_sec,
const uint32_t& threshold_interval_usec,
const uint32_t& measured_interval_sec,
const uint32_t& measured_interval_usec,
const uint32_t& threshold_packets,
const uint32_t& threshold_bytes,
const uint32_t& measured_packets,
const uint32_t& measured_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall)
| mfea_client_0_1_recv_dataflow_signal6 |
[protected]
XrlCmdError fti_0_2_start_transaction (
uint32_t& tid)
| fti_0_2_start_transaction |
[protected]
Start transaction.
Parameters:
| tid | the transaction ID to use for this transaction.
|
XrlCmdError fti_0_2_commit_transaction (
const uint32_t& tid)
| fti_0_2_commit_transaction |
[protected virtual]
Commit transaction.
Parameters:
| tid | the transaction ID of this transaction.
|
XrlCmdError fti_0_2_abort_transaction (
const uint32_t& tid)
| fti_0_2_abort_transaction |
[protected]
Abort transaction.
Parameters:
| tid | the transaction ID of this transaction.
|
XrlCmdError fti_0_2_add_entry4 (
const uint32_t& tid,
const IPv4Net& dst,
const IPv4& gateway,
const string& ifname,
const string& vifname,
const uint32_t& metric,
const uint32_t& admin_distance,
const string& protocol_origin)
| fti_0_2_add_entry4 |
[protected]
Add a routing entry.
Parameters:
| tid | the transaction ID of this transaction.
|
| dst | the destination subnet address of the entry.
|
| gateway | the address of the next-hop router toward dst.
|
| ifname | the name of the physical interface toward dst.
|
| vifname | the name of the virtual interface toward dst.
|
| metric | the routing metric toward dst.
|
| admin_distance | the administratively defined distance toward dst.
|
| protocol_origin | the name of the protocol that originated this
entry.
|
XrlCmdError fti_0_2_add_entry6 (
const uint32_t& tid,
const IPv6Net& dst,
const IPv6& gateway,
const string& ifname,
const string& vifname,
const uint32_t& metric,
const uint32_t& admin_distance,
const string& protocol_origin)
| fti_0_2_add_entry6 |
[protected]
Add a routing entry.
Parameters:
| tid | the transaction ID of this transaction.
|
| dst | the destination subnet address of the entry.
|
| gateway | the address of the next-hop router toward dst.
|
| ifname | the name of the physical interface toward dst.
|
| vifname | the name of the virtual interface toward dst.
|
| metric | the routing metric toward dst.
|
| admin_distance | the administratively defined distance toward dst.
|
| protocol_origin | the name of the protocol that originated this
entry.
|
XrlCmdError fti_0_2_delete_entry4 (
const uint32_t& tid,
const IPv4Net& dst)
| fti_0_2_delete_entry4 |
[protected]
Delete a routing entry.
Parameters:
| tid | the transaction ID of this transaction.
|
| dst | the destination subnet address of the entry.
|
XrlCmdError fti_0_2_delete_entry6 (
const uint32_t& tid,
const IPv6Net& dst)
| fti_0_2_delete_entry6 |
[protected]
Delete a routing entry.
Parameters:
| tid | the transaction ID of this transaction.
|
| dst | the destination subnet address of the entry.
|
XrlCmdError fti_0_2_delete_all_entries (
const uint32_t& tid)
| fti_0_2_delete_all_entries |
[protected]
Delete all routing entries for all address families.
Parameters:
| tid | the transaction ID of this transaction.
|
XrlCmdError fti_0_2_delete_all_entries4 (
const uint32_t& tid)
| fti_0_2_delete_all_entries4 |
[protected]
Delete all routing entries for the IPv4 address family.
Parameters:
| tid | the transaction ID of this transaction.
|
XrlCmdError fti_0_2_delete_all_entries6 (
const uint32_t& tid)
| fti_0_2_delete_all_entries6 |
[protected]
Delete all routing entries for the IPv6 address family.
Parameters:
| tid | the transaction ID of this transaction.
|
XrlCmdError fti_0_2_lookup_route4 (
const IPv4& dst,
IPv4Net& netmask,
IPv4& gateway,
string& ifname,
string& vifname,
uint32_t& metric,
uint32_t& admin_distance,
string& protocol_origin)
| fti_0_2_lookup_route4 |
[protected]
Lookup a route for a destination host address.
Parameters:
| dst | the destination host address to lookup.
|
| gateway | the address of the next-hop router toward dst.
|
| ifname | the name of the physical interface toward dst.
|
| vifname | the name of the virtual interface toward dst.
|
| metric | the routing metric toward dst.
|
| admin_distance | the administratively defined distance toward dst.
|
| protocol_origin | the name of the protocol that originated this
entry.
|
XrlCmdError fti_0_2_lookup_route6 (
const IPv6& dst,
IPv6Net& netmask,
IPv6& gateway,
string& ifname,
string& vifname,
uint32_t& metric,
uint32_t& admin_distance,
string& protocol_origin)
| fti_0_2_lookup_route6 |
[protected]
Lookup a route for a destination host address.
Parameters:
| dst | the destination host address to lookup.
|
| gateway | the address of the next-hop router toward dst.
|
| ifname | the name of the physical interface toward dst.
|
| vifname | the name of the virtual interface toward dst.
|
| metric | the routing metric toward dst.
|
| admin_distance | the administratively defined distance toward dst.
|
| protocol_origin | the name of the protocol that originated this
entry.
|
XrlCmdError fti_0_2_lookup_entry4 (
const IPv4Net& dst,
IPv4& gateway,
string& ifname,
string& vifname,
uint32_t& metric,
uint32_t& admin_distance,
string& protocol_origin)
| fti_0_2_lookup_entry4 |
[protected]
Lookup a route for a destination subnet address.
Parameters:
| dst | the destination subnet address to lookup.
|
| gateway | the address of the next-hop router toward dst.
|
| ifname | the name of the physical interface toward dst.
|
| vifname | the name of the virtual interface toward dst.
|
| metric | the routing metric toward dst.
|
| admin_distance | the administratively defined distance toward dst.
|
| protocol_origin | the name of the protocol that originated this
entry.
|
XrlCmdError fti_0_2_lookup_entry6 (
const IPv6Net& dst,
IPv6& gateway,
string& ifname,
string& vifname,
uint32_t& metric,
uint32_t& admin_distance,
string& protocol_origin)
| fti_0_2_lookup_entry6 |
[protected]
Lookup a route for a destination subnet address.
Parameters:
| dst | the destination subnet address to lookup.
|
| gateway | the address of the next-hop router toward dst.
|
| ifname | the name of the physical interface toward dst.
|
| vifname | the name of the virtual interface toward dst.
|
| metric | the routing metric toward dst.
|
| admin_distance | the administratively defined distance toward dst.
|
|