📄 pim_base.hh
字号:
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) = 0; virtual XrlCmdError mfea_client_0_1_recv_dataflow_signal6( // Input values, 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) = 0; /** * Pure-virtual function that needs to be implemented to: * * Start transaction. * * @param tid the transaction ID to use for this transaction. */ virtual XrlCmdError redist_transaction4_0_1_start_transaction( // Output values, uint32_t& tid) = 0; /** * Pure-virtual function that needs to be implemented to: * * Commit transaction. * * @param tid the transaction ID of this transaction. */ virtual XrlCmdError redist_transaction4_0_1_commit_transaction( // Input values, const uint32_t& tid) = 0; /** * Pure-virtual function that needs to be implemented to: * * Abort transaction. * * @param tid the transaction ID of this transaction. */ virtual XrlCmdError redist_transaction4_0_1_abort_transaction( // Input values, const uint32_t& tid) = 0; /** * Pure-virtual function that needs to be implemented to: * * Add/delete a routing entry. * * @param tid the transaction ID of this transaction. * * @param dst destination network. * * @param nexthop nexthop router address. * * @param ifname interface name associated with nexthop. * * @param vifname virtual interface name with nexthop. * * @param metric origin routing protocol metric for route. * * @param admin_distance administrative distance of origin routing * protocol. * * @param cookie value set by the requestor to identify redistribution * source. Typical value is the originating protocol name. * * @param protocol_origin the name of the protocol that originated this * routing entry. */ virtual XrlCmdError redist_transaction4_0_1_add_route( // Input values, 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) = 0; virtual XrlCmdError redist_transaction4_0_1_delete_route( // Input values, 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) = 0; /** * Pure-virtual function that needs to be implemented to: * * Delete all routing entries. * * @param tid the transaction ID of this transaction. * * @param cookie value set by the requestor to identify redistribution * source. Typical value is the originating protocol name. */ virtual XrlCmdError redist_transaction4_0_1_delete_all_routes( // Input values, const uint32_t& tid, const string& cookie) = 0; /** * Pure-virtual function that needs to be implemented to: * * Start transaction. * * @param tid the transaction ID to use for this transaction. */ virtual XrlCmdError redist_transaction6_0_1_start_transaction( // Output values, uint32_t& tid) = 0; /** * Pure-virtual function that needs to be implemented to: * * Commit transaction. * * @param tid the transaction ID of this transaction. */ virtual XrlCmdError redist_transaction6_0_1_commit_transaction( // Input values, const uint32_t& tid) = 0; /** * Pure-virtual function that needs to be implemented to: * * Abort transaction. * * @param tid the transaction ID of this transaction. */ virtual XrlCmdError redist_transaction6_0_1_abort_transaction( // Input values, const uint32_t& tid) = 0; /** * Pure-virtual function that needs to be implemented to: * * Add/delete a routing entry. * * @param tid the transaction ID of this transaction. * * @param dst destination network. * * @param nexthop nexthop router address. * * @param ifname interface name associated with nexthop. * * @param vifname virtual interface name with nexthop. * * @param metric origin routing protocol metric for route. * * @param admin_distance administrative distance of origin routing * protocol. * * @param cookie value set by the requestor to identify redistribution * source. Typical value is the originating protocol name. * * @param protocol_origin the name of the protocol that originated this * routing entry. */ virtual XrlCmdError redist_transaction6_0_1_add_route( // Input values, 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) = 0; virtual XrlCmdError redist_transaction6_0_1_delete_route( // Input values, 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) = 0; /** * Pure-virtual function that needs to be implemented to: * * Delete all routing entries. * * @param tid the transaction ID of this transaction. * * @param cookie value set by the requestor to identify redistribution * source. Typical value is the originating protocol name. */ virtual XrlCmdError redist_transaction6_0_1_delete_all_routes( // Input values, const uint32_t& tid, const string& cookie) = 0; /** * Pure-virtual function that needs to be implemented to: * * Add/delete membership information. * * @param xrl_sender_name the XRL name of the originator of this XRL. * * @param vif_name the name of the new vif. * * @param vif_index the index of the new vif. * * @param source the source address that has been joined/left. * * @param group the group address that has been joined/left. */ virtual XrlCmdError mld6igmp_client_0_1_add_membership4( // Input values, const string& xrl_sender_name, const string& vif_name, const uint32_t& vif_index, const IPv4& source, const IPv4& group) = 0; virtual XrlCmdError mld6igmp_client_0_1_add_membership6( // Input values, const string& xrl_sender_name, const string& vif_name, const uint32_t& vif_index, const IPv6& source, const IPv6& group) = 0; virtual XrlCmdError mld6igmp_client_0_1_delete_membership4( // Input values, const string& xrl_sender_name, const string& vif_name, const uint32_t& vif_index, const IPv4& source, const IPv4& group) = 0; virtual XrlCmdError mld6igmp_client_0_1_delete_membership6( // Input values, const string& xrl_sender_name, const string& vif_name, const uint32_t& vif_index, const IPv6& source, const IPv6& group) = 0; /** * Pure-virtual function that needs to be implemented to: * * Enable/disable/start/stop a PIM vif interface. * * @param vif_name the name of the vif to enable/disable/start/stop. * * @param enable if true, then enable the vif, otherwise disable it. */ virtual XrlCmdError pim_0_1_enable_vif( // Input values, const string& vif_name, const bool& enable) = 0; virtual XrlCmdError pim_0_1_start_vif( // Input values, const string& vif_name) = 0; virtual XrlCmdError pim_0_1_stop_vif( // Input values, const string& vif_name) = 0; /** * Pure-virtual function that needs to be implemented to: * * Enable/disable/start/stop all PIM vif interfaces. * * @param enable if true, then enable the vifs, otherwise disable them. */ virtual XrlCmdError pim_0_1_enable_all_vifs( // Input values, const bool& enable) = 0; virtual XrlCmdError pim_0_1_start_all_vifs() = 0; virtual XrlCmdError pim_0_1_stop_all_vifs() = 0; /** * Pure-virtual function that needs to be implemented to: * * Enable/disable/start/stop the PIM protocol. * * @param enable if true, then enable the PIM protocol, otherwise disable * it. */ virtual XrlCmdError pim_0_1_enable_pim( // Input values, const bool& enable) = 0; virtual XrlCmdError pim_0_1_start_pim() = 0; virtual XrlCmdError pim_0_1_stop_pim() = 0; /** * Pure-virtual function that needs to be implemented to: * * Enable/disable/start/stop the PIM CLI access. * * @param enable if true, then enable the PIM CLI access, otherwise * disable it. */ virtual XrlCmdError pim_0_1_enable_cli( // Input values, const bool& enable) = 0; virtual XrlCmdError pim_0_1_start_cli() = 0; virtual XrlCmdError pim_0_1_stop_cli() = 0; /** * Pure-virtual function that needs to be implemented to: * * Enable/disable/start/stop BSR. * * @param enable if true, then enable the BSR, otherwise disable it. */ virtual XrlCmdError pim_0_1_enable_bsr( // Input values, const bool& enable) = 0; virtual XrlCmdError pim_0_1_start_bsr() = 0; virtual XrlCmdError pim_0_1_stop_bsr() = 0; /** * Pure-virtual function that needs to be implemented to: * * Add/delete scope zone. * * @param scope_zone_id the ID of the configured zone. * * @param vif_name the name of the vif to use as a bondary of the scope * zone. */ virtual XrlCmdError pim_0_1_add_config_scope_zone_by_vif_name4( // Input values, const IPv4Net& scope_zone_id, const string& vif_name) = 0; virtual XrlCmdError pim_0_1_add_config_scope_zone_by_vif_name6( // Input values, const IPv6Net& scope_zone_id, const string& vif_name) = 0; virtual XrlCmdError pim_0_1_add_config_scope_zone_by_vif_addr4( // Input values, const IPv4Net& scope_zone_id, const IPv4& vif_addr) = 0; virtual XrlCmdError pim_0_1_add_config_scope_zone_by_vif_addr6( // Input values, const IPv6Net& scope_zone_id, const IPv6& vif_addr) = 0; virtual XrlCmdError pim_0_1_delete_config_scope_zone_by_vif_name4( // Input values, const IPv4Net& scope_zone_id, const string& vif_name) = 0; virtual XrlCmdError pim_0_1_delete_config_scope_zone_by_vif_name6( // Input values, const IPv6Net& scope_zone_id, const string& vif_name) = 0; virtual XrlCmdError pim_0_1_delete_config_scope_zone_by_vif_addr4( // Input values, const IPv4Net& scope_zone_id, const IPv4& vif_addr) = 0; virtual XrlCmdError pim_0_1_delete_config_scope_zone_by_vif_addr6( // Input values, const IPv6Net& scope_zone_id, const IPv6& vif_addr) = 0; /** * Pure-virtual function that needs to be implemented to: * * Add/delete candidate-BSR configuration. * * @param scope_zone_id the ID of the configured zone. * * @param is_scope_zone true if configuring administratively scoped zone. * * @param vif_name the name of the vif to use its address as a * candidate-BSR. * * @param vif_addr the address of the vif to use as a candidate-BSR. * * @param bsr_priority the BSR priority (larger is better). * * @param hash_mask_len the hash mask length. */ virtual XrlCmdError pim_0_1_add_config_cand_bsr4( // Input values, 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) = 0; virtual XrlCmdError pim_0_1_add_config_cand_bsr6( // Input values, 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) = 0; virtual XrlCmdError pim_0_1_delete_config_cand_bsr4( // Input values, const IPv4Net& scope_zone_id, const bool& is_scope_zone) = 0; virtual XrlCmdError pim_0_1_delete_config_cand_bsr6( // Input values, const IPv6Net& scope_zone_id, const bool& is_scope_zone) = 0; /** * Pure-virtual function that needs to be implemented to: * * Add/delete Candidate-RP configuration.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -