class XrlStaticRoutesV0p1Client


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

 XrlStaticRoutesV0p1Client (XrlSender* s)

XrlStaticRoutesV0p1Client

 ~XrlStaticRoutesV0p1Client ()

~XrlStaticRoutesV0p1Client

[virtual]

typedef XorpCallback1<void, const XrlError&>::RefPtr EnableStaticRoutesCB

EnableStaticRoutesCB

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_namethe Xrl target name of the destination.
enableif true, then enable StaticRoutes, otherwise disable it.
typedef XorpCallback1<void, const XrlError&>::RefPtr StartStaticRoutesCB

StartStaticRoutesCB

bool  send_start_static_routes ( const char* dst_xrl_target_name, const StartStaticRoutesCB& cb )

send_start_static_routes

typedef XorpCallback1<void, const XrlError&>::RefPtr StopStaticRoutesCB

StopStaticRoutesCB

bool  send_stop_static_routes ( const char* dst_xrl_target_name, const StopStaticRoutesCB& cb )

send_stop_static_routes

typedef XorpCallback1<void, const XrlError&>::RefPtr AddRoute4CB

AddRoute4CB

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_namethe Xrl target name of the destination.
unicastif true, then the route would be used for unicast routing.
multicastif 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).
networkthe network address prefix this route applies to.
nexthopthe address of the next-hop router for this route.
metricthe metric distance for this route.
typedef XorpCallback1<void, const XrlError&>::RefPtr AddRoute6CB

AddRoute6CB

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

typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceRoute4CB

ReplaceRoute4CB

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

typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceRoute6CB

ReplaceRoute6CB

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

typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteRoute4CB

DeleteRoute4CB

bool  send_delete_route4 ( const char* dst_xrl_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* dst_xrl_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* 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 a static route by explicitly specifying the network interface toward the destination.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
unicastif true, then the route would be used for unicast routing.
multicastif 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).
networkthe network address prefix this route applies to.
nexthopthe address of the next-hop router for this route.
ifnameof the name of the physical interface toward the destination.
vifnameof the name of the virtual interface toward the destination.
metricthe metric distance for this route.
typedef XorpCallback1<void, const XrlError&>::RefPtr AddInterfaceRoute6CB

AddInterfaceRoute6CB

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

typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceInterfaceRoute4CB

ReplaceInterfaceRoute4CB

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

typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceInterfaceRoute6CB

ReplaceInterfaceRoute6CB

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

typedef XorpCallback1<void, const XrlError&>::RefPtr EnableLogTraceAllCB

EnableLogTraceAllCB

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_namethe Xrl target name of the destination.
enableif true, then enable the trace log, otherwise disable it.
XrlSender* _sender

_sender

[protected]


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:06 2006, using kdoc $.