class XrlStaticRoutesNode


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods


Detailed Description

 XrlStaticRoutesNode (EventLoop& eventloop, XrlRouter* xrl_router, const string& fea_target, const string& rib_target)

XrlStaticRoutesNode

 ~XrlStaticRoutesNode ()

~XrlStaticRoutesNode

bool  startup ()

startup

Startup the node operation.

Returns: true on success, false on failure.

Reimplemented from StaticRoutesNode.

bool  shutdown ()

shutdown

Shutdown the node operation.

Returns: true on success, false on failure.

Reimplemented from StaticRoutesNode.

XrlCmdError  common_0_1_get_target_name ( string& name)

common_0_1_get_target_name

[protected]

Get name of Xrl Target

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  common_0_1_get_version ( string& version)

common_0_1_get_version

[protected]

Get version string from Xrl Target

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  common_0_1_get_status ( uint32_t& status, string& reason)

common_0_1_get_status

[protected]

Get status of Xrl Target

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  common_0_1_shutdown ()

common_0_1_shutdown

[protected]

Request clean shutdown of Xrl Target

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  static_routes_0_1_enable_static_routes ( const bool& enable)

static_routes_0_1_enable_static_routes

[protected]

Enable/disable/start/stop StaticRoutes.

Parameters:

enableif true, then enable StaticRoutes, otherwise disable it.

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  static_routes_0_1_start_static_routes ()

static_routes_0_1_start_static_routes

[protected]

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  static_routes_0_1_stop_static_routes ()

static_routes_0_1_stop_static_routes

[protected]

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  static_routes_0_1_add_route4 ( const bool& unicast, const bool& multicast, const IPv4Net& network, const IPv4& nexthop, const uint32_t& metric)

static_routes_0_1_add_route4

[protected]

Add/replace/delete a static route.

Parameters:

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.

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  static_routes_0_1_add_route6 ( const bool& unicast, const bool& multicast, const IPv6Net& network, const IPv6& nexthop, const uint32_t& metric)

static_routes_0_1_add_route6

[protected]

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  static_routes_0_1_replace_route4 ( const bool& unicast, const bool& multicast, const IPv4Net& network, const IPv4& nexthop, const uint32_t& metric)

static_routes_0_1_replace_route4

[protected]

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  static_routes_0_1_replace_route6 ( const bool& unicast, const bool& multicast, const IPv6Net& network, const IPv6& nexthop, const uint32_t& metric)

static_routes_0_1_replace_route6

[protected]

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  static_routes_0_1_delete_route4 ( const bool& unicast, const bool& multicast, const IPv4Net& network)

static_routes_0_1_delete_route4

[protected]

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  static_routes_0_1_delete_route6 ( const bool& unicast, const bool& multicast, const IPv6Net& network)

static_routes_0_1_delete_route6

[protected]

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  static_routes_0_1_add_interface_route4 ( const bool& unicast, const bool& multicast, const IPv4Net& network, const IPv4& nexthop, const string& ifname, const string& vifname, const uint32_t& metric)

static_routes_0_1_add_interface_route4

[protected]

Add/replace a static route by explicitly specifying the network interface toward the destination.

Parameters:

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.

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  static_routes_0_1_add_interface_route6 ( const bool& unicast, const bool& multicast, const IPv6Net& network, const IPv6& nexthop, const string& ifname, const string& vifname, const uint32_t& metric)

static_routes_0_1_add_interface_route6

[protected]

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  static_routes_0_1_replace_interface_route4 ( const bool& unicast, const bool& multicast, const IPv4Net& network, const IPv4& nexthop, const string& ifname, const string& vifname, const uint32_t& metric)

static_routes_0_1_replace_interface_route4

[protected]

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  static_routes_0_1_replace_interface_route6 ( const bool& unicast, const bool& multicast, const IPv6Net& network, const IPv6& nexthop, const string& ifname, const string& vifname, const uint32_t& metric)

static_routes_0_1_replace_interface_route6

[protected]

Reimplemented from XrlStaticRoutesTargetBase.

XrlCmdError  static_routes_0_1_enable_log_trace_all ( const bool& enable)

static_routes_0_1_enable_log_trace_all

[protected]

Enable/disable the StaticRoutes trace log for all operations.

Parameters:

enableif true, then enable the trace log, otherwise disable it.

Reimplemented from XrlStaticRoutesTargetBase.


Generated by: pavlin on possum.icir.org on Thu Jul 8 23:48:42 2004, using kdoc $.