class XrlStaticRoutesV0p1Client
|
|
|
|
Public Types
- typedef XorpCallback1<void, const XrlError&>::RefPtr EnableStaticRoutesCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StartStaticRoutesCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StopStaticRoutesCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddRoute4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddRoute6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceRoute4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceRoute6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteRoute4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteRoute6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddBackupRoute4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddBackupRoute6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceBackupRoute4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceBackupRoute6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteBackupRoute4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteBackupRoute6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddInterfaceRoute4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddInterfaceRoute6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceInterfaceRoute4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceInterfaceRoute6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteInterfaceRoute4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteInterfaceRoute6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddBackupInterfaceRoute4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddBackupInterfaceRoute6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceBackupInterfaceRoute4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceBackupInterfaceRoute6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteBackupInterfaceRoute4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteBackupInterfaceRoute6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr EnableLogTraceAllCB
Public Methods
- XrlStaticRoutesV0p1Client (XrlSender* s)
- virtual ~XrlStaticRoutesV0p1Client ()
- bool send_enable_static_routes (
const char* dst_xrl_target_name,
const bool& enable,
const EnableStaticRoutesCB& cb
)
- bool send_start_static_routes (
const char* dst_xrl_target_name,
const StartStaticRoutesCB& cb
)
- bool send_stop_static_routes (
const char* dst_xrl_target_name,
const StopStaticRoutesCB& cb
)
- bool send_add_route4 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const uint32_t& metric,
const AddRoute4CB& cb
)
- bool send_add_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const uint32_t& metric,
const AddRoute6CB& cb
)
- bool send_replace_route4 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const uint32_t& metric,
const ReplaceRoute4CB& cb
)
- bool send_replace_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const uint32_t& metric,
const ReplaceRoute6CB& cb
)
- bool send_delete_route4 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const DeleteRoute4CB& cb
)
- bool send_delete_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const DeleteRoute6CB& cb
)
- bool send_add_backup_route4 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const uint32_t& metric,
const AddBackupRoute4CB& cb
)
- bool send_add_backup_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const uint32_t& metric,
const AddBackupRoute6CB& cb
)
- bool send_replace_backup_route4 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const uint32_t& metric,
const ReplaceBackupRoute4CB& cb
)
- bool send_replace_backup_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const uint32_t& metric,
const ReplaceBackupRoute6CB& cb
)
- bool send_delete_backup_route4 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const DeleteBackupRoute4CB& cb
)
- bool send_delete_backup_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const DeleteBackupRoute6CB& cb
)
- bool send_add_interface_route4 (
const char* dst_xrl_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
)
- bool send_add_interface_route6 (
const char* dst_xrl_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
)
- bool send_replace_interface_route4 (
const char* dst_xrl_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
)
- bool send_replace_interface_route6 (
const char* dst_xrl_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
)
- bool send_delete_interface_route4 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const string& ifname,
const string& vifname,
const DeleteInterfaceRoute4CB& cb
)
- bool send_delete_interface_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const string& ifname,
const string& vifname,
const DeleteInterfaceRoute6CB& cb
)
- bool send_add_backup_interface_route4 (
const char* dst_xrl_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 AddBackupInterfaceRoute4CB& cb
)
- bool send_add_backup_interface_route6 (
const char* dst_xrl_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 AddBackupInterfaceRoute6CB& cb
)
- bool send_replace_backup_interface_route4 (
const char* dst_xrl_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 ReplaceBackupInterfaceRoute4CB& cb
)
- bool send_replace_backup_interface_route6 (
const char* dst_xrl_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 ReplaceBackupInterfaceRoute6CB& cb
)
- bool send_delete_backup_interface_route4 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const string& ifname,
const string& vifname,
const DeleteBackupInterfaceRoute4CB& cb
)
- bool send_delete_backup_interface_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const string& ifname,
const string& vifname,
const DeleteBackupInterfaceRoute6CB& cb
)
- bool send_enable_log_trace_all (
const char* dst_xrl_target_name,
const bool& enable,
const EnableLogTraceAllCB& cb
)
Protected Members
XrlStaticRoutesV0p1Client (XrlSender* s)
| XrlStaticRoutesV0p1Client |
~XrlStaticRoutesV0p1Client ()
| ~XrlStaticRoutesV0p1Client |
[virtual]
bool send_enable_static_routes (
const char* dst_xrl_target_name,
const bool& enable,
const EnableStaticRoutesCB& cb
)
| send_enable_static_routes |
Send Xrl intended to:
Enable/disable/start/stop StaticRoutes.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
enable | if true, then enable StaticRoutes, otherwise disable it.
|
bool send_start_static_routes (
const char* dst_xrl_target_name,
const StartStaticRoutesCB& cb
)
| send_start_static_routes |
bool send_stop_static_routes (
const char* dst_xrl_target_name,
const StopStaticRoutesCB& cb
)
| send_stop_static_routes |
bool send_add_route4 (
const char* dst_xrl_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:
dst_xrl_target_name | the Xrl target name of the destination.
|
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.
|
bool send_add_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const uint32_t& metric,
const AddRoute6CB& cb
)
| send_add_route6 |
bool send_replace_route4 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const uint32_t& metric,
const ReplaceRoute4CB& cb
)
| send_replace_route4 |
bool send_replace_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const uint32_t& metric,
const ReplaceRoute6CB& cb
)
| send_replace_route6 |
bool send_delete_route4 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const DeleteRoute4CB& cb
)
| send_delete_route4 |
bool send_delete_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const DeleteRoute6CB& cb
)
| send_delete_route6 |
bool send_add_backup_route4 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const uint32_t& metric,
const AddBackupRoute4CB& cb
)
| send_add_backup_route4 |
Send Xrl intended to:
Add/replace/delete a backup static route.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
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.
|
bool send_add_backup_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const uint32_t& metric,
const AddBackupRoute6CB& cb
)
| send_add_backup_route6 |
bool send_replace_backup_route4 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const uint32_t& metric,
const ReplaceBackupRoute4CB& cb
)
| send_replace_backup_route4 |
bool send_replace_backup_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const uint32_t& metric,
const ReplaceBackupRoute6CB& cb
)
| send_replace_backup_route6 |
bool send_delete_backup_route4 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const DeleteBackupRoute4CB& cb
)
| send_delete_backup_route4 |
bool send_delete_backup_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const DeleteBackupRoute6CB& cb
)
| send_delete_backup_route6 |
bool send_add_interface_route4 (
const char* dst_xrl_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/delete a static route by explicitly specifying the network
interface toward the destination.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
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.
|
bool send_add_interface_route6 (
const char* dst_xrl_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 |
bool send_replace_interface_route4 (
const char* dst_xrl_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 |
bool send_replace_interface_route6 (
const char* dst_xrl_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 |
bool send_delete_interface_route4 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const string& ifname,
const string& vifname,
const DeleteInterfaceRoute4CB& cb
)
| send_delete_interface_route4 |
bool send_delete_interface_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const string& ifname,
const string& vifname,
const DeleteInterfaceRoute6CB& cb
)
| send_delete_interface_route6 |
typedef XorpCallback1<void, const XrlError&>::RefPtr AddBackupInterfaceRoute4CB | AddBackupInterfaceRoute4CB |
bool send_add_backup_interface_route4 (
const char* dst_xrl_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 AddBackupInterfaceRoute4CB& cb
)
| send_add_backup_interface_route4 |
Send Xrl intended to:
Add/replace/delete a backup static route by explicitly specifying the
network interface toward the destination.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
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 AddBackupInterfaceRoute6CB | AddBackupInterfaceRoute6CB |
bool send_add_backup_interface_route6 (
const char* dst_xrl_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 AddBackupInterfaceRoute6CB& cb
)
| send_add_backup_interface_route6 |
typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceBackupInterfaceRoute4CB | ReplaceBackupInterfaceRoute4CB |
bool send_replace_backup_interface_route4 (
const char* dst_xrl_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 ReplaceBackupInterfaceRoute4CB& cb
)
| send_replace_backup_interface_route4 |
typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceBackupInterfaceRoute6CB | ReplaceBackupInterfaceRoute6CB |
bool send_replace_backup_interface_route6 (
const char* dst_xrl_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 ReplaceBackupInterfaceRoute6CB& cb
)
| send_replace_backup_interface_route6 |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteBackupInterfaceRoute4CB | DeleteBackupInterfaceRoute4CB |
bool send_delete_backup_interface_route4 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv4Net& network,
const IPv4& nexthop,
const string& ifname,
const string& vifname,
const DeleteBackupInterfaceRoute4CB& cb
)
| send_delete_backup_interface_route4 |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteBackupInterfaceRoute6CB | DeleteBackupInterfaceRoute6CB |
bool send_delete_backup_interface_route6 (
const char* dst_xrl_target_name,
const bool& unicast,
const bool& multicast,
const IPv6Net& network,
const IPv6& nexthop,
const string& ifname,
const string& vifname,
const DeleteBackupInterfaceRoute6CB& cb
)
| send_delete_backup_interface_route6 |
bool send_enable_log_trace_all (
const char* dst_xrl_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:
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 kobe.xorp.net on Wed Jan 7 19:10:48 2009, using kdoc 2.0a54+XORP.