XrlCmdMap* _cmds | _cmds |
[protected]
XrlFib2mribTargetBase (XrlCmdMap* cmds = 0)
| XrlFib2mribTargetBase |
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. |
~XrlFib2mribTargetBase ()
| ~XrlFib2mribTargetBase |
[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_fib_client_0_1_add_route4 (
const IPv4Net& network,
const IPv4& nexthop,
const string& ifname,
const string& vifname,
const uint32_t& metric,
const uint32_t& admin_distance,
const string& protocol_origin,
const bool& xorp_route)
| fea_fib_client_0_1_add_route4 |
[protected pure virtual]
Pure-virtual function that needs to be implemented to:
Add a route.
Parameters:
network | the network address prefix of the route to add. |
nexthop | the address of the next-hop router toward the destination. |
ifname | the name of the physical interface toward the destination. |
vifname | the name of the virtual interface toward the destination. |
metric | the routing metric toward the destination. |
admin_distance | the administratively defined distance toward the destination. |
protocol_origin | the name of the protocol that originated this route. |
xorp_route | true if this route was installed by XORP. |
XrlCmdError fea_fib_client_0_1_add_route6 (
const IPv6Net& network,
const IPv6& nexthop,
const string& ifname,
const string& vifname,
const uint32_t& metric,
const uint32_t& admin_distance,
const string& protocol_origin,
const bool& xorp_route)
| fea_fib_client_0_1_add_route6 |
[protected pure virtual]
XrlCmdError fea_fib_client_0_1_replace_route4 (
const IPv4Net& network,
const IPv4& nexthop,
const string& ifname,
const string& vifname,
const uint32_t& metric,
const uint32_t& admin_distance,
const string& protocol_origin,
const bool& xorp_route)
| fea_fib_client_0_1_replace_route4 |
[protected pure virtual]
Pure-virtual function that needs to be implemented to:
Replace a route.
Parameters:
network | the network address prefix of the route to replace. |
nexthop | the address of the next-hop router toward the destination. |
ifname | the name of the physical interface toward the destination. |
vifname | the name of the virtual interface toward the destination. |
metric | the routing metric toward the destination. |
admin_distance | the administratively defined distance toward the destination. |
protocol_origin | the name of the protocol that originated this route. |
xorp_route | true if this route was installed by XORP. |
XrlCmdError fea_fib_client_0_1_replace_route6 (
const IPv6Net& network,
const IPv6& nexthop,
const string& ifname,
const string& vifname,
const uint32_t& metric,
const uint32_t& admin_distance,
const string& protocol_origin,
const bool& xorp_route)
| fea_fib_client_0_1_replace_route6 |
[protected pure virtual]
XrlCmdError fea_fib_client_0_1_delete_route4 (
const IPv4Net& network,
const string& ifname,
const string& vifname)
| fea_fib_client_0_1_delete_route4 |
[protected pure virtual]
Pure-virtual function that needs to be implemented to:
Delete a route.
Parameters:
network | the network address prefix of the route to delete. |
ifname | the name of the physical interface toward the destination. |
vifname | the name of the virtual interface toward the |
XrlCmdError fea_fib_client_0_1_delete_route6 (
const IPv6Net& network,
const string& ifname,
const string& vifname)
| fea_fib_client_0_1_delete_route6 |
[protected pure virtual]
XrlCmdError fib2mrib_0_1_enable_fib2mrib (
const bool& enable)
| fib2mrib_0_1_enable_fib2mrib |
[protected pure virtual]
Pure-virtual function that needs to be implemented to:
Enable/disable/start/stop Fib2mrib.
Parameters:
enable | if true, then enable Fib2mrib, otherwise disable it. |
XrlCmdError fib2mrib_0_1_start_fib2mrib ()
| fib2mrib_0_1_start_fib2mrib |
[protected pure virtual]
XrlCmdError fib2mrib_0_1_stop_fib2mrib ()
| fib2mrib_0_1_stop_fib2mrib |
[protected pure virtual]
XrlCmdError fib2mrib_0_1_enable_log_trace_all (
const bool& enable)
| fib2mrib_0_1_enable_log_trace_all |
[protected pure virtual]
Pure-virtual function that needs to be implemented to:
Enable/disable the Fib2mrib trace log for all operations.
Parameters:
enable | if true, then enable the trace log, otherwise disable it. |