XrlCmdMap* _cmds | _cmds |
[protected]
XrlFeaIfmgrMirrorTargetBase (XrlCmdMap* cmds = 0)
| XrlFeaIfmgrMirrorTargetBase |
Constructor.
Parameters:
cmds | an XrlCmdMap that the commands associated with the target should be added to. This is typically the XrlRouter associated with the target. |
~XrlFeaIfmgrMirrorTargetBase ()
| ~XrlFeaIfmgrMirrorTargetBase |
[virtual]
Destructor.
Dissociates instance commands from command map.
bool set_command_map (XrlCmdMap* cmds)
| set_command_map |
Set command map.
Parameters:
cmds | pointer to command map to associate commands with. This argument is typically a pointer to the XrlRouter associated with the target. |
Returns: true on success, false if cmds is null or a command map has already been supplied.
inline const string& name ()
| name |
[const]
Get Xrl instance name associated with command map.
inline const char* version ()
| version |
[const]
Get version string of instance.
XrlCmdError common_0_1_get_target_name (
string& name)
| common_0_1_get_target_name |
[protected pure virtual]
Pure-virtual function that needs to be implemented to:
XrlCmdError common_0_1_get_version (
string& version)
| common_0_1_get_version |
[protected pure virtual]
Pure-virtual function that needs to be implemented to:
Get version string from Xrl Target
XrlCmdError common_0_1_get_status (
uint32_t& status,
string& reason)
| common_0_1_get_status |
[protected pure virtual]
Pure-virtual function that needs to be implemented to:
XrlCmdError common_0_1_shutdown ()
| common_0_1_shutdown |
[protected pure virtual]
Pure-virtual function that needs to be implemented to:
Request clean shutdown of Xrl Target
XrlCmdError fea_ifmgr_mirror_0_1_interface_add (
const string& ifname)
| fea_ifmgr_mirror_0_1_interface_add |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_interface_remove (
const string& ifname)
| fea_ifmgr_mirror_0_1_interface_remove |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_interface_set_enabled (
const string& ifname,
const bool& enabled)
| fea_ifmgr_mirror_0_1_interface_set_enabled |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_interface_set_discard (
const string& ifname,
const bool& discard)
| fea_ifmgr_mirror_0_1_interface_set_discard |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_interface_set_mtu (
const string& ifname,
const uint32_t& mtu_bytes)
| fea_ifmgr_mirror_0_1_interface_set_mtu |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_interface_set_mac (
const string& ifname,
const Mac& mac)
| fea_ifmgr_mirror_0_1_interface_set_mac |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_interface_set_pif_index (
const string& ifname,
const uint32_t& index)
| fea_ifmgr_mirror_0_1_interface_set_pif_index |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_interface_set_no_carrier (
const string& ifname,
const bool& no_carrier)
| fea_ifmgr_mirror_0_1_interface_set_no_carrier |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_vif_add (
const string& ifname,
const string& vifname)
| fea_ifmgr_mirror_0_1_vif_add |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_vif_remove (
const string& ifname,
const string& vifname)
| fea_ifmgr_mirror_0_1_vif_remove |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_vif_set_enabled (
const string& ifname,
const string& vifname,
const bool& enabled)
| fea_ifmgr_mirror_0_1_vif_set_enabled |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_vif_set_multicast_capable (
const string& ifname,
const string& vifname,
const bool& capable)
| fea_ifmgr_mirror_0_1_vif_set_multicast_capable |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_vif_set_broadcast_capable (
const string& ifname,
const string& vifname,
const bool& capable)
| fea_ifmgr_mirror_0_1_vif_set_broadcast_capable |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_vif_set_p2p_capable (
const string& ifname,
const string& vifname,
const bool& capable)
| fea_ifmgr_mirror_0_1_vif_set_p2p_capable |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_vif_set_loopback (
const string& ifname,
const string& vifname,
const bool& loopback)
| fea_ifmgr_mirror_0_1_vif_set_loopback |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_vif_set_pif_index (
const string& ifname,
const string& vifname,
const uint32_t& index)
| fea_ifmgr_mirror_0_1_vif_set_pif_index |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_ipv4_add (
const string& ifname,
const string& vifname,
const IPv4& addr)
| fea_ifmgr_mirror_0_1_ipv4_add |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_ipv4_remove (
const string& ifname,
const string& vifname,
const IPv4& addr)
| fea_ifmgr_mirror_0_1_ipv4_remove |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_ipv4_set_prefix (
const string& ifname,
const string& vifname,
const IPv4& addr,
const uint32_t& prefix_len)
| fea_ifmgr_mirror_0_1_ipv4_set_prefix |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_ipv4_set_enabled (
const string& ifname,
const string& vifname,
const IPv4& addr,
const bool& enabled)
| fea_ifmgr_mirror_0_1_ipv4_set_enabled |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_ipv4_set_multicast_capable (
const string& ifname,
const string& vifname,
const IPv4& addr,
const bool& capable)
| fea_ifmgr_mirror_0_1_ipv4_set_multicast_capable |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_ipv4_set_loopback (
const string& ifname,
const string& vifname,
const IPv4& addr,
const bool& loopback)
| fea_ifmgr_mirror_0_1_ipv4_set_loopback |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_ipv4_set_broadcast (
const string& ifname,
const string& vifname,
const IPv4& addr,
const IPv4& oaddr)
| fea_ifmgr_mirror_0_1_ipv4_set_broadcast |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_ipv4_set_endpoint (
const string& ifname,
const string& vifname,
const IPv4& addr,
const IPv4& oaddr)
| fea_ifmgr_mirror_0_1_ipv4_set_endpoint |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_ipv6_add (
const string& ifname,
const string& vifname,
const IPv6& addr)
| fea_ifmgr_mirror_0_1_ipv6_add |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_ipv6_remove (
const string& ifname,
const string& vifname,
const IPv6& addr)
| fea_ifmgr_mirror_0_1_ipv6_remove |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_ipv6_set_prefix (
const string& ifname,
const string& vifname,
const IPv6& addr,
const uint32_t& prefix_len)
| fea_ifmgr_mirror_0_1_ipv6_set_prefix |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_ipv6_set_enabled (
const string& ifname,
const string& vifname,
const IPv6& addr,
const bool& enabled)
| fea_ifmgr_mirror_0_1_ipv6_set_enabled |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_ipv6_set_loopback (
const string& ifname,
const string& vifname,
const IPv6& addr,
const bool& loopback)
| fea_ifmgr_mirror_0_1_ipv6_set_loopback |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_ipv6_set_multicast_capable (
const string& ifname,
const string& vifname,
const IPv6& addr,
const bool& capable)
| fea_ifmgr_mirror_0_1_ipv6_set_multicast_capable |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_ipv6_set_endpoint (
const string& ifname,
const string& vifname,
const IPv6& addr,
const IPv6& oaddr)
| fea_ifmgr_mirror_0_1_ipv6_set_endpoint |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_hint_tree_complete ()
| fea_ifmgr_mirror_0_1_hint_tree_complete |
[protected pure virtual]
XrlCmdError fea_ifmgr_mirror_0_1_hint_updates_made ()
| fea_ifmgr_mirror_0_1_hint_updates_made |
[protected pure virtual]