XrlStaticRoutesV0p1Client (XrlSender* s)
| XrlStaticRoutesV0p1Client |
~XrlStaticRoutesV0p1Client ()
| ~XrlStaticRoutesV0p1Client |
[virtual]
typedef XorpCallback1<void, const XrlError&>::RefPtr EnableStaticRoutesCB | EnableStaticRoutesCB |
bool send_enable_static_routes (
const char* target_name,
const bool& enable,
const EnableStaticRoutesCB& cb
)
| send_enable_static_routes |
Send Xrl intended to:
Enable/disable/start/stop StaticRoutes.
Parameters:
tgt_name | Xrl Target name |
enable | if true, then enable StaticRoutes, otherwise disable it. |
typedef XorpCallback1<void, const XrlError&>::RefPtr StartStaticRoutesCB | StartStaticRoutesCB |
bool send_start_static_routes (
const char* target_name,
const StartStaticRoutesCB& cb
)
| send_start_static_routes |
typedef XorpCallback1<void, const XrlError&>::RefPtr StopStaticRoutesCB | StopStaticRoutesCB |
bool send_stop_static_routes (
const char* target_name,
const StopStaticRoutesCB& cb
)
| send_stop_static_routes |
typedef XorpCallback1<void, const XrlError&>::RefPtr AddRoute4CB | AddRoute4CB |
bool send_add_route4 (
const char* target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const uint32_t& metric,
const AddRoute4CB& cb
)
| send_add_route4 |
Send Xrl intended to:
Add/replace/delete a static route.
Parameters:
tgt_name | Xrl Target name |
unicast | if true, then the route would be used for unicast routing. |
multicast | if true, then the route would be used in the MRIB (Multicast Routing Information Base) for multicast purpose (e.g., computing the Reverse-Path Forwarding information). |
network | the network address prefix this route applies to. |
nexthop | the address of the next-hop router for this route. |
metric | the metric distance for this route. |
typedef XorpCallback1<void, const XrlError&>::RefPtr AddRoute6CB | AddRoute6CB |
bool send_add_route6 (
const char* target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const uint32_t& metric,
const AddRoute6CB& cb
)
| send_add_route6 |
typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceRoute4CB | ReplaceRoute4CB |
bool send_replace_route4 (
const char* target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const uint32_t& metric,
const ReplaceRoute4CB& cb
)
| send_replace_route4 |
typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceRoute6CB | ReplaceRoute6CB |
bool send_replace_route6 (
const char* target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const uint32_t& metric,
const ReplaceRoute6CB& cb
)
| send_replace_route6 |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteRoute4CB | DeleteRoute4CB |
bool send_delete_route4 (
const char* target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const DeleteRoute4CB& cb
)
| send_delete_route4 |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteRoute6CB | DeleteRoute6CB |
bool send_delete_route6 (
const char* target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const DeleteRoute6CB& cb
)
| send_delete_route6 |
typedef XorpCallback1<void, const XrlError&>::RefPtr AddInterfaceRoute4CB | AddInterfaceRoute4CB |
bool send_add_interface_route4 (
const char* target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const string& ifname,
const string& vifname,
const uint32_t& metric,
const AddInterfaceRoute4CB& cb
)
| send_add_interface_route4 |
Send Xrl intended to:
Add/replace a static route by explicitly specifying the network interface toward the destination.
Parameters:
tgt_name | Xrl Target name |
unicast | if true, then the route would be used for unicast routing. |
multicast | if true, then the route would be used in the MRIB (Multicast Routing Information Base) for multicast purpose (e.g., computing the Reverse-Path Forwarding information). |
network | the network address prefix this route applies to. |
nexthop | the address of the next-hop router for this route. |
ifname | of the name of the physical interface toward the destination. |
vifname | of the name of the virtual interface toward the destination. |
metric | the metric distance for this route. |
typedef XorpCallback1<void, const XrlError&>::RefPtr AddInterfaceRoute6CB | AddInterfaceRoute6CB |
bool send_add_interface_route6 (
const char* target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const string& ifname,
const string& vifname,
const uint32_t& metric,
const AddInterfaceRoute6CB& cb
)
| send_add_interface_route6 |
typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceInterfaceRoute4CB | ReplaceInterfaceRoute4CB |
bool send_replace_interface_route4 (
const char* target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const string& ifname,
const string& vifname,
const uint32_t& metric,
const ReplaceInterfaceRoute4CB& cb
)
| send_replace_interface_route4 |
typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceInterfaceRoute6CB | ReplaceInterfaceRoute6CB |
bool send_replace_interface_route6 (
const char* target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const string& ifname,
const string& vifname,
const uint32_t& metric,
const ReplaceInterfaceRoute6CB& cb
)
| send_replace_interface_route6 |
typedef XorpCallback1<void, const XrlError&>::RefPtr EnableLogTraceAllCB | EnableLogTraceAllCB |
bool send_enable_log_trace_all (
const char* target_name,
const bool& enable,
const EnableLogTraceAllCB& cb
)
| send_enable_log_trace_all |
Send Xrl intended to:
Enable/disable the StaticRoutes trace log for all operations.
Parameters:
tgt_name | Xrl Target name |
enable | if true, then enable the trace log, otherwise disable it. |
XrlSender* _sender | _sender |
[protected]