class XrlPimNode


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods


Detailed Description

 XrlPimNode (int family, xorp_module_id module_id, EventLoop& eventloop, const string& class_name, const string& finder_hostname, uint16_t finder_port, const string& finder_target, const string& fea_target, const string& mfea_target, const string& rib_target, const string& mld6igmp_target)

XrlPimNode

 ~XrlPimNode ()

~XrlPimNode

[virtual]

int  startup ()

startup

Startup the node operation.

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  shutdown ()

shutdown

Shutdown the node operation.

Returns: XORP_OK on success, otherwise XORP_ERROR.

XrlRouter&  xrl_router ()

xrl_router

Get a reference to the XrlRouter instance.

Returns: a reference to the XrlRouter (XrlRouter) instance.

const XrlRouter&  xrl_router ()

xrl_router

[const]

Get a const reference to the XrlRouter instance.

Returns: a const reference to the XrlRouter (XrlRouter) instance.

int  enable_cli ()

enable_cli

int  disable_cli ()

disable_cli

int  start_cli ()

start_cli

int  stop_cli ()

stop_cli

int  enable_pim ()

enable_pim

int  disable_pim ()

disable_pim

int  start_pim ()

start_pim

int  stop_pim ()

stop_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.

int  stop_bsr ()

stop_bsr

Reimplemented from PimNode.

void  send_register_unregister_interest ()

send_register_unregister_interest

void  send_register_unregister_receiver ()

send_register_unregister_receiver

void  send_register_unregister_protocol ()

send_register_unregister_protocol

void  send_join_leave_multicast_group ()

send_join_leave_multicast_group

void  send_protocol_message ()

send_protocol_message

void  send_add_delete_mfc ()

send_add_delete_mfc

void  send_add_delete_dataflow_monitor ()

send_add_delete_dataflow_monitor

XrlCmdError  common_0_1_get_target_name ( string& name)

common_0_1_get_target_name

[protected]

Get name of Xrl Target

Reimplemented from XrlPimTargetBase.

XrlCmdError  common_0_1_get_version ( string& version)

common_0_1_get_version

[protected]

Get version string from Xrl Target

Reimplemented from XrlPimTargetBase.

XrlCmdError  common_0_1_get_status ( uint32_t& status, string& reason)

common_0_1_get_status

[protected]

Get status from Xrl Target

Reimplemented from XrlPimTargetBase.

XrlCmdError  common_0_1_shutdown ()

common_0_1_shutdown

[protected]

Shutdown cleanly

Reimplemented from XrlPimTargetBase.

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

[protected]

Announce target birth to observer.

Parameters:

target_classthe target class name.
target_instancethe target instance name.

Reimplemented from XrlPimTargetBase.

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

[protected]

Announce target death to observer.

Parameters:

target_classthe target class name.
target_instancethe target instance name.

Reimplemented from XrlPimTargetBase.

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_namethe processor name for this command.
cli_term_namethe terminal name the command was entered from.
cli_session_idthe CLI session ID the command was entered from.
command_namethe command name to process.
command_argsthe command arguments to process.
ret_processor_namethe processor name to return back to the CLI.
ret_cli_term_namethe terminal name to return back.
ret_cli_session_idthe CLI session ID to return back.
ret_command_outputthe command output to return back.

Reimplemented from XrlPimTargetBase.

XrlCmdError  raw_packet4_client_0_1_recv ( const string& if_name, const string& vif_name, const IPv4& src_address, const IPv4& dst_address, const uint32_t& ip_protocol, const int32_t& ip_ttl, const int32_t& ip_tos, const bool& ip_router_alert, const bool& ip_internet_control, const vector<uint8_t>& payload)

raw_packet4_client_0_1_recv

[protected]

Receive an IPv4 packet from a raw socket.

Parameters:

if_namethe interface name the packet arrived on.
vif_namethe vif name the packet arrived on.
src_addressthe IP source address.
dst_addressthe IP destination address.
ip_protocolthe IP protocol number.
ip_ttlthe IP TTL (hop-limit). If it has a negative value, then the received value is unknown.
ip_tosthe Type of Service (Diffserv/ECN bits for IPv4). If it has a negative value, then the received value is unknown.
ip_router_alertif true, the IP Router Alert option was included in the IP packet.
ip_internet_controlif true, then this is IP control traffic.

Reimplemented from XrlPimTargetBase.

XrlCmdError  raw_packet6_client_0_1_recv ( const string& if_name, const string& vif_name, const IPv6& src_address, const IPv6& dst_address, const uint32_t& ip_protocol, const int32_t& ip_ttl, const int32_t& ip_tos, const bool& ip_router_alert, const bool& ip_internet_control, const XrlAtomList& ext_headers_type, const XrlAtomList& ext_headers_payload, const vector<uint8_t>& payload)

raw_packet6_client_0_1_recv

[protected]

Receive an IPv6 packet from a raw socket.

Parameters:

if_namethe interface name the packet arrived on.
vif_namethe vif name the packet arrived on.
src_addressthe IP source address.
dst_addressthe IP destination address.
ip_protocolthe IP protocol number.
ip_ttlthe IP TTL (hop-limit). If it has a negative value, then the received value is unknown.
ip_tosthe Type Of Service (IP traffic class for IPv4). If it has a negative value, then the received value is unknown.
ip_router_alertif true, the IP Router Alert option was included in the IP packet.
ip_internet_controlif true, then this is IP control traffic.
ext_headers_typea list of u32 integers with the types of the optional extention headers.
ext_headers_payloada list of payload data, one for each optional extention header. The number of entries must match ext_headers_type.

Reimplemented from XrlPimTargetBase.

XrlCmdError  mfea_client_0_1_recv_kernel_signal_message4 ( const string& xrl_sender_name, 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_namethe XRL name of the originator of this XRL.
message_typethe type of the kernel signal message (TODO: integer for now: the particular types are well-known by both sides).
vif_namethe name of the vif the message was received on.
vif_indexthe index of the vif the message was received on.
source_addressthe address of the sender.
dest_addressthe destination address.
protocol_messagethe protocol message.

Reimplemented from XrlPimTargetBase.

XrlCmdError  mfea_client_0_1_recv_kernel_signal_message6 ( const string& xrl_sender_name, 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]

Reimplemented from XrlPimTargetBase.

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_namethe XRL name of the originator of this XRL.
source_addressthe source address of the dataflow.
group_addressthe group address of the dataflow.
threshold_interval_secthe number of seconds in the interval requested for measurement.
threshold_interval_usecthe number of microseconds in the interval requested for measurement.
measured_interval_secthe number of seconds in the last measured interval that has triggered the signal.
measured_interval_usecthe number of microseconds in the last measured interval that has triggered the signal.
threshold_packetsthe threshold value to trigger a signal (in number of packets).
threshold_bytesthe threshold value to trigger a signal (in bytes).
measured_packetsthe number of packets measured within the measured interval.
measured_bytesthe number of bytes measured within the measured interval.
is_threshold_in_packetsif true, threshold_packets is valid.
is_threshold_in_bytesif true, threshold_bytes is valid.
is_geq_upcallif true, the operation for comparison is ">=".
is_leq_upcallif true, the operation for comparison is "<=".

Reimplemented from XrlPimTargetBase.

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]

Reimplemented from XrlPimTargetBase.

XrlCmdError  redist_transaction4_0_1_start_transaction ( uint32_t& tid)

redist_transaction4_0_1_start_transaction

[protected]

Start transaction.

Parameters:

tidthe transaction ID to use for this transaction.

Reimplemented from XrlPimTargetBase.

XrlCmdError  redist_transaction4_0_1_commit_transaction ( const uint32_t& tid)

redist_transaction4_0_1_commit_transaction

[protected]

Commit transaction.

Parameters:

tidthe transaction ID of this transaction.

Reimplemented from XrlPimTargetBase.

XrlCmdError  redist_transaction4_0_1_abort_transaction ( const uint32_t& tid)

redist_transaction4_0_1_abort_transaction

[protected]

Abort transaction.

Parameters:

tidthe transaction ID of this transaction.

Reimplemented from XrlPimTargetBase.

XrlCmdError  redist_transaction4_0_1_add_route ( const uint32_t& tid, const IPv4Net& dst, const IPv4& nexthop, const string& ifname, const string& vifname, const uint32_t& metric, const uint32_t& admin_distance, const string& cookie, const string& protocol_origin)

redist_transaction4_0_1_add_route

[protected]

Add/delete a routing entry.

Parameters:

tidthe transaction ID of this transaction.
dstdestination network.
nexthopnexthop router address.
ifnameinterface name associated with nexthop.
vifnamevirtual interface name with nexthop.
metricorigin routing protocol metric for route.
admin_distanceadministrative distance of origin routing protocol.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.
protocol_originthe name of the protocol that originated this routing entry.

Reimplemented from XrlPimTargetBase.

XrlCmdError  redist_transaction4_0_1_delete_route ( const uint32_t& tid, const IPv4Net& dst, const IPv4& nexthop, const string& ifname, const string& vifname, const uint32_t& metric, const uint32_t& admin_distance, const string& cookie, const string& protocol_origin)

redist_transaction4_0_1_delete_route

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  redist_transaction4_0_1_delete_all_routes ( const uint32_t& tid, const string& cookie)

redist_transaction4_0_1_delete_all_routes

[protected]

Delete all routing entries.

Parameters:

tidthe transaction ID of this transaction.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.

Reimplemented from XrlPimTargetBase.

XrlCmdError  redist_transaction6_0_1_start_transaction ( uint32_t& tid)

redist_transaction6_0_1_start_transaction

[protected]

Start transaction.

Parameters:

tidthe transaction ID to use for this transaction.

Reimplemented from XrlPimTargetBase.

XrlCmdError  redist_transaction6_0_1_commit_transaction ( const uint32_t& tid)

redist_transaction6_0_1_commit_transaction

[protected]

Commit transaction.

Parameters:

tidthe transaction ID of this transaction.

Reimplemented from XrlPimTargetBase.

XrlCmdError  redist_transaction6_0_1_abort_transaction ( const uint32_t& tid)

redist_transaction6_0_1_abort_transaction

[protected]

Abort transaction.

Parameters:

tidthe transaction ID of this transaction.

Reimplemented from XrlPimTargetBase.

XrlCmdError  redist_transaction6_0_1_add_route ( const uint32_t& tid, const IPv6Net& dst, const IPv6& nexthop, const string& ifname, const string& vifname, const uint32_t& metric, const uint32_t& admin_distance, const string& cookie, const string& protocol_origin)

redist_transaction6_0_1_add_route

[protected]

Add/delete a routing entry.

Parameters:

tidthe transaction ID of this transaction.
dstdestination network.
nexthopnexthop router address.
ifnameinterface name associated with nexthop.
vifnamevirtual interface name with nexthop.
metricorigin routing protocol metric for route.
admin_distanceadministrative distance of origin routing protocol.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.
protocol_originthe name of the protocol that originated this routing entry.

Reimplemented from XrlPimTargetBase.

XrlCmdError  redist_transaction6_0_1_delete_route ( const uint32_t& tid, const IPv6Net& dst, const IPv6& nexthop, const string& ifname, const string& vifname, const uint32_t& metric, const uint32_t& admin_distance, const string& cookie, const string& protocol_origin)

redist_transaction6_0_1_delete_route

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  redist_transaction6_0_1_delete_all_routes ( const uint32_t& tid, const string& cookie)

redist_transaction6_0_1_delete_all_routes

[protected]

Delete all routing entries.

Parameters:

tidthe transaction ID of this transaction.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.

Reimplemented from XrlPimTargetBase.

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)

mld6igmp_client_0_1_add_membership4

[protected]

Add/delete membership information.

Parameters:

xrl_sender_namethe XRL name of the originator of this XRL.
vif_namethe name of the new vif.
vif_indexthe index of the new vif.
sourcethe source address that has been joined/left.
groupthe group address that has been joined/left.

Reimplemented from XrlPimTargetBase.

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)

mld6igmp_client_0_1_add_membership6

[protected]

Reimplemented from XrlPimTargetBase.

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)

mld6igmp_client_0_1_delete_membership4

[protected]

Reimplemented from XrlPimTargetBase.

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)

mld6igmp_client_0_1_delete_membership6

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_enable_vif ( const string& vif_name, const bool& enable)

pim_0_1_enable_vif

[protected]

Enable/disable/start/stop a PIM vif interface.

Parameters:

vif_namethe name of the vif to enable/disable/start/stop.
enableif true, then enable the vif, otherwise disable it.

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_start_vif ( const string& vif_name)

pim_0_1_start_vif

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_stop_vif ( const string& vif_name)

pim_0_1_stop_vif

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_enable_all_vifs ( const bool& enable)

pim_0_1_enable_all_vifs

[protected]

Enable/disable/start/stop all PIM vif interfaces.

Parameters:

enableif true, then enable the vifs, otherwise disable them.

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_disable_all_vifs ()

pim_0_1_disable_all_vifs

[protected]

XrlCmdError  pim_0_1_start_all_vifs ()

pim_0_1_start_all_vifs

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_stop_all_vifs ()

pim_0_1_stop_all_vifs

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_enable_pim ( const bool& enable)

pim_0_1_enable_pim

[protected]

Enable/disable/start/stop the PIM protocol.

Parameters:

enableif true, then enable the PIM protocol, otherwise disable it.

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_start_pim ()

pim_0_1_start_pim

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_stop_pim ()

pim_0_1_stop_pim

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_enable_cli ( const bool& enable)

pim_0_1_enable_cli

[protected]

Enable/disable/start/stop the PIM CLI access.

Parameters:

enableif true, then enable the PIM CLI access, otherwise disable it.

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_start_cli ()

pim_0_1_start_cli

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_stop_cli ()

pim_0_1_stop_cli

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_enable_bsr ( const bool& enable)

pim_0_1_enable_bsr

[protected]

Enable/disable/start/stop BSR.

Parameters:

enableif true, then enable the BSR, otherwise disable it.

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_start_bsr ()

pim_0_1_start_bsr

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_stop_bsr ()

pim_0_1_stop_bsr

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_add_config_scope_zone_by_vif_name4 ( const IPv4Net& scope_zone_id, const string& vif_name)

pim_0_1_add_config_scope_zone_by_vif_name4

[protected]

Add/delete scope zone.

Parameters:

scope_zone_idthe ID of the configured zone.
vif_namethe name of the vif to use as a bondary of the scope zone.

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_add_config_scope_zone_by_vif_name6 ( const IPv6Net& scope_zone_id, const string& vif_name)

pim_0_1_add_config_scope_zone_by_vif_name6

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_add_config_scope_zone_by_vif_addr4 ( const IPv4Net& scope_zone_id, const IPv4& vif_addr)

pim_0_1_add_config_scope_zone_by_vif_addr4

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_add_config_scope_zone_by_vif_addr6 ( const IPv6Net& scope_zone_id, const IPv6& vif_addr)

pim_0_1_add_config_scope_zone_by_vif_addr6

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_delete_config_scope_zone_by_vif_name4 ( const IPv4Net& scope_zone_id, const string& vif_name)

pim_0_1_delete_config_scope_zone_by_vif_name4

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_delete_config_scope_zone_by_vif_name6 ( const IPv6Net& scope_zone_id, const string& vif_name)

pim_0_1_delete_config_scope_zone_by_vif_name6

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_delete_config_scope_zone_by_vif_addr4 ( const IPv4Net& scope_zone_id, const IPv4& vif_addr)

pim_0_1_delete_config_scope_zone_by_vif_addr4

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_delete_config_scope_zone_by_vif_addr6 ( const IPv6Net& scope_zone_id, const IPv6& vif_addr)

pim_0_1_delete_config_scope_zone_by_vif_addr6

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_add_config_cand_bsr4 ( const IPv4Net& scope_zone_id, const bool& is_scope_zone, const string& vif_name, const IPv4& vif_addr, const uint32_t& bsr_priority, const uint32_t& hash_mask_len)

pim_0_1_add_config_cand_bsr4

[protected]

Add/delete candidate-BSR configuration.

Parameters:

scope_zone_idthe ID of the configured zone.
is_scope_zonetrue if configuring administratively scoped zone.
vif_namethe name of the vif to use its address as a candidate-BSR.
vif_addrthe address of the vif to use as a candidate-BSR.
bsr_prioritythe BSR priority (larger is better).
hash_mask_lenthe hash mask length.

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_add_config_cand_bsr6 ( const IPv6Net& scope_zone_id, const bool& is_scope_zone, const string& vif_name, const IPv6& vif_addr, const uint32_t& bsr_priority, const uint32_t& hash_mask_len)

pim_0_1_add_config_cand_bsr6

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_delete_config_cand_bsr4 ( const IPv4Net& scope_zone_id, const bool& is_scope_zone)

pim_0_1_delete_config_cand_bsr4

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_delete_config_cand_bsr6 ( const IPv6Net& scope_zone_id, const bool& is_scope_zone)

pim_0_1_delete_config_cand_bsr6

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_add_config_cand_rp4 ( const IPv4Net& group_prefix, const bool& is_scope_zone, const string& vif_name, const IPv4& vif_addr, const uint32_t& rp_priority, const uint32_t& rp_holdtime)

pim_0_1_add_config_cand_rp4

[protected]

Add/delete Candidate-RP configuration.

Parameters:

group_prefixthe group prefix of the configured zone.
is_scope_zonetrue if configuring administratively scoped zone.
vif_namethe name of the vif to use its address as a candidate-RP.
vif_addrthe address of the vif to use as a candidate-RP.
rp_prioritythe Cand-RP priority (smaller is better).
rp_holdtimethe Cand-RP holdtime (in seconds).

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_add_config_cand_rp6 ( const IPv6Net& group_prefix, const bool& is_scope_zone, const string& vif_name, const IPv6& vif_addr, const uint32_t& rp_priority, const uint32_t& rp_holdtime)

pim_0_1_add_config_cand_rp6

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_delete_config_cand_rp4 ( const IPv4Net& group_prefix, const bool& is_scope_zone, const string& vif_name, const IPv4& vif_addr)

pim_0_1_delete_config_cand_rp4

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_delete_config_cand_rp6 ( const IPv6Net& group_prefix, const bool& is_scope_zone, const string& vif_name, const IPv6& vif_addr)

pim_0_1_delete_config_cand_rp6

[protected]

Reimplemented from XrlPimTargetBase.

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_mask_len)

pim_0_1_add_config_static_rp4

[protected]

Add/delete/complete static RP configuration.

Parameters:

group_prefixthe group prefix for the RP.
rp_addrthe RP address.
rp_prioritythe RP priority (smaller is better).
hash_mask_lenthe hash mask length used in computing an RP for a group. It should be same across all RPs. If set to zero, the default one will be used.

Reimplemented from XrlPimTargetBase.

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_mask_len)

pim_0_1_add_config_static_rp6

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_delete_config_static_rp4 ( const IPv4Net& group_prefix, const IPv4& rp_addr)

pim_0_1_delete_config_static_rp4

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_delete_config_static_rp6 ( const IPv6Net& group_prefix, const IPv6& rp_addr)

pim_0_1_delete_config_static_rp6

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_delete_config_all_static_group_prefixes_rp4 ( const IPv4& rp_addr)

pim_0_1_delete_config_all_static_group_prefixes_rp4

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_delete_config_all_static_group_prefixes_rp6 ( const IPv6& rp_addr)

pim_0_1_delete_config_all_static_group_prefixes_rp6

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_delete_config_all_static_rps ()

pim_0_1_delete_config_all_static_rps

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_config_static_rp_done ()

pim_0_1_config_static_rp_done

[protected]

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_get_vif_proto_version ( const string& vif_name, uint32_t& proto_version)

pim_0_1_get_vif_proto_version

[protected]

Get the configured protocol version per interface.

Parameters:

vif_namethe name of the vif to apply to.
proto_versionthe protocol version.

Reimplemented from XrlPimTargetBase.

XrlCmdError  pim_0_1_set_vif_proto_version ( const string& vif_name, const uint32_t& proto_version)

pim_0_1_set_vif_proto_version

[protected]

Set the protocol version per interface.

Parameters:

vif_namethe name of the vif to apply to.
proto_versionthe protocol version.

Reimplemented from XrlPimTargetBase.