XrlFib2mribNode (EventLoop& eventloop,
const string& class_name,
const string& finder_hostname,
uint16_t finder_port,
const string& finder_target,
const string& fea_target,
const string& rib_target)
| XrlFib2mribNode |
~XrlFib2mribNode ()
| ~XrlFib2mribNode |
int startup ()
| startup |
Startup the node operation.
Returns: XORP_OK on success, otherwise XORP_ERROR.
Reimplemented from Fib2mribNode.
int shutdown ()
| shutdown |
Shutdown the node operation.
Returns: XORP_OK on success, otherwise XORP_ERROR.
Reimplemented from Fib2mribNode.
XrlRouter& xrl_router ()
| xrl_router |
Get a reference to the XrlRouter instance.
Returns: a reference to the XrlRouter (XrlRouter) instance.
XrlCmdError common_0_1_get_target_name (
string& name)
| common_0_1_get_target_name |
[protected]
Get name of Xrl Target
Reimplemented from XrlFib2mribTargetBase.
XrlCmdError common_0_1_get_version (
string& version)
| common_0_1_get_version |
[protected]
Get version string from Xrl Target
Reimplemented from XrlFib2mribTargetBase.
XrlCmdError common_0_1_get_status (
uint32_t& status,
string& reason)
| common_0_1_get_status |
[protected]
Get status of Xrl Target
Reimplemented from XrlFib2mribTargetBase.
XrlCmdError common_0_1_shutdown ()
| common_0_1_shutdown |
[protected]
Request clean shutdown of Xrl Target
Reimplemented from XrlFib2mribTargetBase.
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_class | the target class name. |
target_instance | the target instance name. |
Reimplemented from XrlFib2mribTargetBase.
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_class | the target class name. |
target_instance | the target instance name. |
Reimplemented from XrlFib2mribTargetBase.
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]
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. |
Reimplemented from XrlFib2mribTargetBase.
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]
Reimplemented from XrlFib2mribTargetBase.
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]
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. |
Reimplemented from XrlFib2mribTargetBase.
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]
Reimplemented from XrlFib2mribTargetBase.
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]
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 destination. |
Reimplemented from XrlFib2mribTargetBase.
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]
Reimplemented from XrlFib2mribTargetBase.
XrlCmdError fea_fib_client_0_1_resolve_route4 (
const IPv4Net& network)
| fea_fib_client_0_1_resolve_route4 |
[protected]
Route resolve notification.
Parameters:
network | the network address prefix of the lookup which failed or for which upper layer intervention is requested from the FIB. |
Reimplemented from XrlFib2mribTargetBase.
XrlCmdError fea_fib_client_0_1_resolve_route6 (
const IPv6Net& network)
| fea_fib_client_0_1_resolve_route6 |
[protected]
Reimplemented from XrlFib2mribTargetBase.
XrlCmdError fib2mrib_0_1_enable_fib2mrib (
const bool& enable)
| fib2mrib_0_1_enable_fib2mrib |
[protected]
Enable/disable/start/stop Fib2mrib.
Parameters:
enable | if true, then enable Fib2mrib, otherwise disable it. |
Reimplemented from XrlFib2mribTargetBase.
XrlCmdError fib2mrib_0_1_start_fib2mrib ()
| fib2mrib_0_1_start_fib2mrib |
[protected]
Reimplemented from XrlFib2mribTargetBase.
XrlCmdError fib2mrib_0_1_stop_fib2mrib ()
| fib2mrib_0_1_stop_fib2mrib |
[protected]
Reimplemented from XrlFib2mribTargetBase.
XrlCmdError fib2mrib_0_1_enable_log_trace_all (
const bool& enable)
| fib2mrib_0_1_enable_log_trace_all |
[protected]
Enable/disable the Fib2mrib trace log for all operations.
Parameters:
enable | if true, then enable the trace log, otherwise disable it. |
Reimplemented from XrlFib2mribTargetBase.
XrlCmdError policy_backend_0_1_configure (
const uint32_t& filter,
const string& conf)
| policy_backend_0_1_configure |
[protected]
Configure a policy filter.
Parameters:
filter | Id of filter to configure. |
conf | Configuration of filter. |
Reimplemented from XrlFib2mribTargetBase.
XrlCmdError policy_backend_0_1_reset (
const uint32_t& filter)
| policy_backend_0_1_reset |
[protected]
Reset a policy filter.
Parameters:
filter | Id of filter to reset. |
Reimplemented from XrlFib2mribTargetBase.
XrlCmdError policy_backend_0_1_push_routes ()
| policy_backend_0_1_push_routes |
[protected]
Push routes through policy filters for re-filtering.
Reimplemented from XrlFib2mribTargetBase.