Public Types
- typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr HaveMulticastRouting4CB
- typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr HaveMulticastRouting6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddProtocol4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddProtocol6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteProtocol4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteProtocol6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StartProtocolVif4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StartProtocolVif6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StopProtocolVif4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StopProtocolVif6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AllowSignalMessagesCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr JoinMulticastGroup4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr JoinMulticastGroup6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr LeaveMulticastGroup4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr LeaveMulticastGroup6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddMfc4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddMfc6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteMfc4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteMfc6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr SendProtocolMessage4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr SendProtocolMessage6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddDataflowMonitor4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddDataflowMonitor6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteDataflowMonitor4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteDataflowMonitor6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAllDataflowMonitor4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAllDataflowMonitor6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr EnableVifCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StartVifCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StopVifCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr EnableAllVifsCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StartAllVifsCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StopAllVifsCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr EnableMfeaCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StartMfeaCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StopMfeaCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr EnableCliCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StartCliCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StopCliCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr LogTraceAllCB
Public Methods
- XrlMfeaV0p1Client (XrlSender* s)
- virtual ~XrlMfeaV0p1Client ()
- bool send_have_multicast_routing4 (
const char* dst_xrl_target_name,
const HaveMulticastRouting4CB& cb
)
- bool send_have_multicast_routing6 (
const char* dst_xrl_target_name,
const HaveMulticastRouting6CB& cb
)
- bool send_add_protocol4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const AddProtocol4CB& cb
)
- bool send_add_protocol6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const AddProtocol6CB& cb
)
- bool send_delete_protocol4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const DeleteProtocol4CB& cb
)
- bool send_delete_protocol6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const DeleteProtocol6CB& cb
)
- bool send_start_protocol_vif4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const string& vif_name,
const uint32_t& vif_index,
const StartProtocolVif4CB& cb
)
- bool send_start_protocol_vif6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const string& vif_name,
const uint32_t& vif_index,
const StartProtocolVif6CB& cb
)
- bool send_stop_protocol_vif4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const string& vif_name,
const uint32_t& vif_index,
const StopProtocolVif4CB& cb
)
- bool send_stop_protocol_vif6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const string& vif_name,
const uint32_t& vif_index,
const StopProtocolVif6CB& cb
)
- bool send_allow_signal_messages (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const bool& is_allow,
const AllowSignalMessagesCB& cb
)
- bool send_join_multicast_group4 (
const char* dst_xrl_target_name,
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& group_address,
const JoinMulticastGroup4CB& cb
)
- bool send_join_multicast_group6 (
const char* dst_xrl_target_name,
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& group_address,
const JoinMulticastGroup6CB& cb
)
- bool send_leave_multicast_group4 (
const char* dst_xrl_target_name,
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& group_address,
const LeaveMulticastGroup4CB& cb
)
- bool send_leave_multicast_group6 (
const char* dst_xrl_target_name,
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& group_address,
const LeaveMulticastGroup6CB& cb
)
- bool send_add_mfc4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const uint32_t& iif_vif_index,
const vector<uint8_t>& oiflist,
const vector<uint8_t>& oiflist_disable_wrongvif,
const uint32_t& max_vifs_oiflist,
const IPv4& rp_address,
const AddMfc4CB& cb
)
- bool send_add_mfc6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const uint32_t& iif_vif_index,
const vector<uint8_t>& oiflist,
const vector<uint8_t>& oiflist_disable_wrongvif,
const uint32_t& max_vifs_oiflist,
const IPv6& rp_address,
const AddMfc6CB& cb
)
- bool send_delete_mfc4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const DeleteMfc4CB& cb
)
- bool send_delete_mfc6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const DeleteMfc6CB& cb
)
- bool send_send_protocol_message4 (
const char* dst_xrl_target_name,
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,
const SendProtocolMessage4CB& cb
)
- bool send_send_protocol_message6 (
const char* dst_xrl_target_name,
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,
const SendProtocolMessage6CB& cb
)
- bool send_add_dataflow_monitor4 (
const char* dst_xrl_target_name,
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& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const AddDataflowMonitor4CB& cb
)
- bool send_add_dataflow_monitor6 (
const char* dst_xrl_target_name,
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& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const AddDataflowMonitor6CB& cb
)
- bool send_delete_dataflow_monitor4 (
const char* dst_xrl_target_name,
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& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const DeleteDataflowMonitor4CB& cb
)
- bool send_delete_dataflow_monitor6 (
const char* dst_xrl_target_name,
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& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const DeleteDataflowMonitor6CB& cb
)
- bool send_delete_all_dataflow_monitor4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const DeleteAllDataflowMonitor4CB& cb
)
- bool send_delete_all_dataflow_monitor6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const DeleteAllDataflowMonitor6CB& cb
)
- bool send_enable_vif (
const char* dst_xrl_target_name,
const string& vif_name,
const bool& enable,
const EnableVifCB& cb
)
- bool send_start_vif (
const char* dst_xrl_target_name,
const string& vif_name,
const StartVifCB& cb
)
- bool send_stop_vif (
const char* dst_xrl_target_name,
const string& vif_name,
const StopVifCB& cb
)
- bool send_enable_all_vifs (
const char* dst_xrl_target_name,
const bool& enable,
const EnableAllVifsCB& cb
)
- bool send_start_all_vifs (
const char* dst_xrl_target_name,
const StartAllVifsCB& cb
)
- bool send_stop_all_vifs (
const char* dst_xrl_target_name,
const StopAllVifsCB& cb
)
- bool send_enable_mfea (
const char* dst_xrl_target_name,
const bool& enable,
const EnableMfeaCB& cb
)
- bool send_start_mfea (
const char* dst_xrl_target_name,
const StartMfeaCB& cb
)
- bool send_stop_mfea (
const char* dst_xrl_target_name,
const StopMfeaCB& cb
)
- bool send_enable_cli (
const char* dst_xrl_target_name,
const bool& enable,
const EnableCliCB& cb
)
- bool send_start_cli (
const char* dst_xrl_target_name,
const StartCliCB& cb
)
- bool send_stop_cli (
const char* dst_xrl_target_name,
const StopCliCB& cb
)
- bool send_log_trace_all (
const char* dst_xrl_target_name,
const bool& enable,
const LogTraceAllCB& cb
)
Protected Members
XrlMfeaV0p1Client (XrlSender* s)
| XrlMfeaV0p1Client |
~XrlMfeaV0p1Client ()
| ~XrlMfeaV0p1Client |
[virtual]
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr HaveMulticastRouting4CB | HaveMulticastRouting4CB |
bool send_have_multicast_routing4 (
const char* dst_xrl_target_name,
const HaveMulticastRouting4CB& cb
)
| send_have_multicast_routing4 |
Send Xrl intended to:
Test if the underlying system supports IPv4 multicast routing.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr HaveMulticastRouting6CB | HaveMulticastRouting6CB |
bool send_have_multicast_routing6 (
const char* dst_xrl_target_name,
const HaveMulticastRouting6CB& cb
)
| send_have_multicast_routing6 |
Send Xrl intended to:
Test if the underlying system supports IPv6 multicast routing.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
bool send_add_protocol4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const AddProtocol4CB& cb
)
| send_add_protocol4 |
Send Xrl intended to:
Add/delete a protocol in the Multicast FEA.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
xrl_sender_name | the XRL name of the originator of this XRL.
|
protocol_name | the name of the protocol to add/delete.
|
protocol_id | the ID of the protocol to add/delete (both sides
must agree on the particular values).
|
bool send_add_protocol6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const AddProtocol6CB& cb
)
| send_add_protocol6 |
bool send_delete_protocol4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const DeleteProtocol4CB& cb
)
| send_delete_protocol4 |
bool send_delete_protocol6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const DeleteProtocol6CB& cb
)
| send_delete_protocol6 |
bool send_start_protocol_vif4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const string& vif_name,
const uint32_t& vif_index,
const StartProtocolVif4CB& cb
)
| send_start_protocol_vif4 |
Send Xrl intended to:
Start/stop a protocol on an interface in the Multicast FEA.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
xrl_sender_name | the XRL name of the originator of this XRL.
|
protocol_name | the name of the protocol to start/stop on the
particular vif.
|
protocol_id | the ID of the protocol to add/stop on the particular
vif (both sides must agree on the particular values).
|
vif_name | the name of the vif to start/stop for the particular
protocol.
|
vif_index | the index of the vif to start/stop for the particular
protocol.
|
bool send_start_protocol_vif6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const string& vif_name,
const uint32_t& vif_index,
const StartProtocolVif6CB& cb
)
| send_start_protocol_vif6 |
bool send_stop_protocol_vif4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const string& vif_name,
const uint32_t& vif_index,
const StopProtocolVif4CB& cb
)
| send_stop_protocol_vif4 |
bool send_stop_protocol_vif6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const string& vif_name,
const uint32_t& vif_index,
const StopProtocolVif6CB& cb
)
| send_stop_protocol_vif6 |
bool send_allow_signal_messages (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const bool& is_allow,
const AllowSignalMessagesCB& cb
)
| send_allow_signal_messages |
Send Xrl intended to:
Enable/disable the receiving of kernel-originated signal messages.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
xrl_sender_name | the XRL name of the originator of this XRL.
|
protocol_name | the name of the protocol to add.
|
protocol_id | the ID of the protocol to add (both sides must agree
on the particular values).
|
is_allow | if true, enable the receiving of kernel-originated
signal messages by protocol 'protocol_name'.
|
bool send_join_multicast_group4 (
const char* dst_xrl_target_name,
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& group_address,
const JoinMulticastGroup4CB& cb
)
| send_join_multicast_group4 |
Send Xrl intended to:
Join/leave a multicast group.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
xrl_sender_name | the XRL name of the originator of this XRL.
|
protocol_name | the name of the protocol that joins/leave the
group.
|
protocol_id | the ID of the protocol that joins/leave the group
(both sides must agree on the particular values).
|
vif_name | the name of the vif to join/leave the multicast group.
|
vif_index | the index of the vif to join/leave the multicast
group.
|
group_address | the multicast group to join/leave.
|
bool send_join_multicast_group6 (
const char* dst_xrl_target_name,
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& group_address,
const JoinMulticastGroup6CB& cb
)
| send_join_multicast_group6 |
bool send_leave_multicast_group4 (
const char* dst_xrl_target_name,
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& group_address,
const LeaveMulticastGroup4CB& cb
)
| send_leave_multicast_group4 |
bool send_leave_multicast_group6 (
const char* dst_xrl_target_name,
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& group_address,
const LeaveMulticastGroup6CB& cb
)
| send_leave_multicast_group6 |
bool send_add_mfc4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const uint32_t& iif_vif_index,
const vector<uint8_t>& oiflist,
const vector<uint8_t>& oiflist_disable_wrongvif,
const uint32_t& max_vifs_oiflist,
const IPv4& rp_address,
const AddMfc4CB& cb
)
| send_add_mfc4 |
Send Xrl intended to:
Add/delete a Multicast Forwarding Cache with the kernel.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
xrl_sender_name | the XRL name of the originator of this XRL.
|
source_address | the source address of the MFC to add/delete.
|
group_address | the group address of the MFC to add/delete.
|
iif_vif_index | the index of the vif that is the incoming
interface.
|
oiflist | the bit-vector with the set of outgoing interfaces.
|
oiflist_disable_wrongvif | the bit-vector with the set of outgoing
interfaces to disable WRONGVIF kernel signal.
|
max_vifs_oiflist | the number of vifs covered by oiflist or
oiflist_disable_wrongvif .
|
rp_address | the RP address of the MFC to add.
|
bool send_add_mfc6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const uint32_t& iif_vif_index,
const vector<uint8_t>& oiflist,
const vector<uint8_t>& oiflist_disable_wrongvif,
const uint32_t& max_vifs_oiflist,
const IPv6& rp_address,
const AddMfc6CB& cb
)
| send_add_mfc6 |
bool send_delete_mfc4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const DeleteMfc4CB& cb
)
| send_delete_mfc4 |
bool send_delete_mfc6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const DeleteMfc6CB& cb
)
| send_delete_mfc6 |
bool send_send_protocol_message4 (
const char* dst_xrl_target_name,
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,
const SendProtocolMessage4CB& cb
)
| send_send_protocol_message4 |
Send Xrl intended to:
Send a protocol message to the MFEA.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
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 to send the message.
|
vif_index | the vif index of the vif to send the message.
|
source_address | the address of the sender.
|
dest_address | the destination address.
|
ip_ttl | the TTL of the IP packet to send. If it has a negative
value, the TTL will be set by the lower layers.
|
ip_tos | the TOS of the IP packet to send. If it has a negative
value, the TOS will be set by the lower layers.
|
is_router_alert | set/reset the IP Router Alert option in the IP
packet to send (when applicable).
|
bool send_send_protocol_message6 (
const char* dst_xrl_target_name,
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,
const SendProtocolMessage6CB& cb
)
| send_send_protocol_message6 |
bool send_add_dataflow_monitor4 (
const char* dst_xrl_target_name,
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& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const AddDataflowMonitor4CB& cb
)
| send_add_dataflow_monitor4 |
Send Xrl intended to:
Add/delete a dataflow monitor with the MFEA.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
xrl_sender_name | the XRL name of the originator of this XRL.
|
source_address | the source address of the dataflow to start/stop
monitoring.
|
group_address | the group address of the dataflow to start/stop
monitoring.
|
threshold_interval_sec | the number of seconds in the interval to
measure.
|
threshold_interval_usec | the number of microseconds in the
interval to measure.
|
threshold_packets | the threshold (in number of packets) to
compare against.
|
threshold_bytes | the threshold (in number of bytes) to compare
against.
|
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 "<=".
|
bool send_add_dataflow_monitor6 (
const char* dst_xrl_target_name,
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& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const AddDataflowMonitor6CB& cb
)
| send_add_dataflow_monitor6 |
bool send_delete_dataflow_monitor4 (
const char* dst_xrl_target_name,
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& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const DeleteDataflowMonitor4CB& cb
)
| send_delete_dataflow_monitor4 |
bool send_delete_dataflow_monitor6 (
const char* dst_xrl_target_name,
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& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const DeleteDataflowMonitor6CB& cb
)
| send_delete_dataflow_monitor6 |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAllDataflowMonitor4CB | DeleteAllDataflowMonitor4CB |
bool send_delete_all_dataflow_monitor4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const DeleteAllDataflowMonitor4CB& cb
)
| send_delete_all_dataflow_monitor4 |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAllDataflowMonitor6CB | DeleteAllDataflowMonitor6CB |
bool send_delete_all_dataflow_monitor6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const DeleteAllDataflowMonitor6CB& cb
)
| send_delete_all_dataflow_monitor6 |
bool send_enable_vif (
const char* dst_xrl_target_name,
const string& vif_name,
const bool& enable,
const EnableVifCB& cb
)
| send_enable_vif |
Send Xrl intended to:
Enable/disable/start/stop a MFEA vif interface.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
vif_name | the name of the vif to enable/disable/start/stop.
|
enable | if true, then enable the vif, otherwise disable it.
|
bool send_start_vif (
const char* dst_xrl_target_name,
const string& vif_name,
const StartVifCB& cb
)
| send_start_vif |
bool send_stop_vif (
const char* dst_xrl_target_name,
const string& vif_name,
const StopVifCB& cb
)
| send_stop_vif |
bool send_enable_all_vifs (
const char* dst_xrl_target_name,
const bool& enable,
const EnableAllVifsCB& cb
)
| send_enable_all_vifs |
Send Xrl intended to:
Enable/disable/start/stop all MFEA vif interfaces.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
enable | if true, then enable the vifs, otherwise disable them.
|
bool send_start_all_vifs (
const char* dst_xrl_target_name,
const StartAllVifsCB& cb
)
| send_start_all_vifs |
bool send_stop_all_vifs (
const char* dst_xrl_target_name,
const StopAllVifsCB& cb
)
| send_stop_all_vifs |
bool send_enable_mfea (
const char* dst_xrl_target_name,
const bool& enable,
const EnableMfeaCB& cb
)
| send_enable_mfea |
Send Xrl intended to:
Enable/disable/start/stop the MFEA.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
enable | if true, then enable the MFEA, otherwise disable it.
|
bool send_start_mfea (
const char* dst_xrl_target_name,
const StartMfeaCB& cb
)
| send_start_mfea |
bool send_stop_mfea (
const char* dst_xrl_target_name,
const StopMfeaCB& cb
)
| send_stop_mfea |
bool send_enable_cli (
const char* dst_xrl_target_name,
const bool& enable,
const EnableCliCB& cb
)
| send_enable_cli |
Send Xrl intended to:
Enable/disable/start/stop the MFEA CLI access.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
enable | if true, then enable the MFEA CLI access, otherwise
disable it.
|
bool send_start_cli (
const char* dst_xrl_target_name,
const StartCliCB& cb
)
| send_start_cli |
bool send_stop_cli (
const char* dst_xrl_target_name,
const StopCliCB& cb
)
| send_stop_cli |
bool send_log_trace_all (
const char* dst_xrl_target_name,
const bool& enable,
const LogTraceAllCB& cb
)
| send_log_trace_all |
Send Xrl intended to:
Enable/disable the MFEA trace log for all operations.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
enable | if true, then enable the trace log, otherwise disable it.
|
[protected]
Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:06 2006, using kdoc $.