xorp

XrlFib2mribTargetBase Class Reference

Inheritance diagram for XrlFib2mribTargetBase:
XrlFib2mribNode

List of all members.

Classes

struct  handler_table

Public Member Functions

 XrlFib2mribTargetBase (XrlCmdMap *cmds=0)
 Constructor.
virtual ~XrlFib2mribTargetBase ()
 Destructor.
bool set_command_map (XrlCmdMap *cmds)
 Set command map.
const string & get_name () const
 Get Xrl instance name associated with command map.
const char * version () const
 Get version string of instance.
 XrlFib2mribTargetBase (XrlCmdMap *cmds=0)
 Constructor.
virtual ~XrlFib2mribTargetBase ()
 Destructor.
bool set_command_map (XrlCmdMap *cmds)
 Set command map.
const string & get_name () const
 Get Xrl instance name associated with command map.
const char * version () const
 Get version string of instance.

Protected Member Functions

virtual XrlCmdError common_0_1_get_target_name (string &name)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_get_version (string &version)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_get_status (uint32_t &status, string &reason)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_shutdown ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_startup ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError finder_event_observer_0_1_xrl_target_birth (const string &target_class, const string &target_instance)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError finder_event_observer_0_1_xrl_target_death (const string &target_class, const string &target_instance)=0
 Pure-virtual function that needs to be implemented to:
virtual 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)=0
 Pure-virtual function that needs to be implemented to:
virtual 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)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError fea_fib_client_0_1_delete_route4 (const IPv4Net &network, const string &ifname, const string &vifname)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError fea_fib_client_0_1_resolve_route4 (const IPv4Net &network)=0
 Pure-virtual function that needs to be implemented to:
virtual 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)=0
virtual XrlCmdError fea_fib_client_0_1_resolve_route6 (const IPv6Net &network)=0
virtual 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)=0
virtual XrlCmdError fea_fib_client_0_1_delete_route6 (const IPv6Net &network, const string &ifname, const string &vifname)=0
virtual XrlCmdError policy_backend_0_1_configure (const uint32_t &filter, const string &conf)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_reset (const uint32_t &filter)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_push_routes ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError fib2mrib_0_1_enable_fib2mrib (const bool &enable)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError fib2mrib_0_1_start_fib2mrib ()=0
virtual XrlCmdError fib2mrib_0_1_stop_fib2mrib ()=0
virtual XrlCmdError fib2mrib_0_1_enable_log_trace_all (const bool &enable)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_get_target_name (string &name)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_get_version (string &version)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_get_status (uint32_t &status, string &reason)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_shutdown ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_startup ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError finder_event_observer_0_1_xrl_target_birth (const string &target_class, const string &target_instance)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError finder_event_observer_0_1_xrl_target_death (const string &target_class, const string &target_instance)=0
 Pure-virtual function that needs to be implemented to:
virtual 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)=0
 Pure-virtual function that needs to be implemented to:
virtual 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)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError fea_fib_client_0_1_delete_route4 (const IPv4Net &network, const string &ifname, const string &vifname)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError fea_fib_client_0_1_resolve_route4 (const IPv4Net &network)=0
 Pure-virtual function that needs to be implemented to:
virtual 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)=0
virtual XrlCmdError fea_fib_client_0_1_resolve_route6 (const IPv6Net &network)=0
virtual 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)=0
virtual XrlCmdError fea_fib_client_0_1_delete_route6 (const IPv6Net &network, const string &ifname, const string &vifname)=0
virtual XrlCmdError policy_backend_0_1_configure (const uint32_t &filter, const string &conf)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_reset (const uint32_t &filter)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_push_routes ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError fib2mrib_0_1_enable_fib2mrib (const bool &enable)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError fib2mrib_0_1_start_fib2mrib ()=0
virtual XrlCmdError fib2mrib_0_1_stop_fib2mrib ()=0
virtual XrlCmdError fib2mrib_0_1_enable_log_trace_all (const bool &enable)=0
 Pure-virtual function that needs to be implemented to:

Protected Attributes

XrlCmdMap_cmds

Private Member Functions

XrlCmdRT handle_common_0_1_get_target_name (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_get_version (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_get_status (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_shutdown (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_startup (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_finder_event_observer_0_1_xrl_target_birth (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_finder_event_observer_0_1_xrl_target_death (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_add_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_replace_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_delete_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_resolve_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_add_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_resolve_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_replace_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_delete_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_configure (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_reset (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_push_routes (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fib2mrib_0_1_enable_fib2mrib (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fib2mrib_0_1_start_fib2mrib (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fib2mrib_0_1_stop_fib2mrib (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fib2mrib_0_1_enable_log_trace_all (const XrlArgs &in, XrlCmdOT out)
void add_handlers ()
void remove_handlers ()
XrlCmdRT handle_common_0_1_get_target_name (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_get_version (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_get_status (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_shutdown (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_startup (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_finder_event_observer_0_1_xrl_target_birth (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_finder_event_observer_0_1_xrl_target_death (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_add_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_replace_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_delete_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_resolve_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_add_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_resolve_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_replace_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fea_fib_client_0_1_delete_route6 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_configure (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_reset (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_push_routes (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fib2mrib_0_1_enable_fib2mrib (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fib2mrib_0_1_start_fib2mrib (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fib2mrib_0_1_stop_fib2mrib (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_fib2mrib_0_1_enable_log_trace_all (const XrlArgs &in, XrlCmdOT out)
void add_handlers ()
void remove_handlers ()

Static Private Attributes

static struct handler_table handlers []
static const size_t num_handlers = (sizeof(XrlFib2mribTargetBase::handlers) / sizeof(XrlFib2mribTargetBase::handlers[0]))

Constructor & Destructor Documentation

XrlFib2mribTargetBase::XrlFib2mribTargetBase ( XrlCmdMap cmds = 0)

Constructor.

Parameters:
cmdsan XrlCmdMap that the commands associated with the target should be added to. This is typically the XrlRouter associated with the target.
XrlFib2mribTargetBase::~XrlFib2mribTargetBase ( ) [virtual]

Destructor.

Dissociates instance commands from command map.

XrlFib2mribTargetBase::XrlFib2mribTargetBase ( XrlCmdMap cmds = 0)

Constructor.

Parameters:
cmdsan XrlCmdMap that the commands associated with the target should be added to. This is typically the XrlRouter associated with the target.
virtual XrlFib2mribTargetBase::~XrlFib2mribTargetBase ( ) [virtual]

Destructor.

Dissociates instance commands from command map.


Member Function Documentation

virtual XrlCmdError XrlFib2mribTargetBase::common_0_1_get_status ( uint32_t &  status,
string &  reason 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get status of Xrl Target

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::common_0_1_get_status ( uint32_t &  status,
string &  reason 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get status of Xrl Target

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::common_0_1_get_target_name ( string &  name) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get name of Xrl Target

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::common_0_1_get_target_name ( string &  name) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get name of Xrl Target

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::common_0_1_get_version ( string &  version) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get version string from Xrl Target

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::common_0_1_get_version ( string &  version) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get version string from Xrl Target

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::common_0_1_shutdown ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Request clean shutdown of Xrl Target

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::common_0_1_shutdown ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Request clean shutdown of Xrl Target

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::common_0_1_startup ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Request a startup of Xrl Target

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::common_0_1_startup ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Request a startup of Xrl Target

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::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 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Notification of a route being added.

Parameters:
networkthe network address prefix of the route to add.
nexthopthe address of the next-hop router toward the destination.
ifnamethe name of the physical interface toward the destination.
vifnamethe name of the virtual interface toward the destination.
metricthe routing metric toward the destination.
admin_distancethe administratively defined distance toward the destination.
protocol_originthe name of the protocol that originated this route.
xorp_routetrue if this route was installed by XORP.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::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 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Notification of a route being added.

Parameters:
networkthe network address prefix of the route to add.
nexthopthe address of the next-hop router toward the destination.
ifnamethe name of the physical interface toward the destination.
vifnamethe name of the virtual interface toward the destination.
metricthe routing metric toward the destination.
admin_distancethe administratively defined distance toward the destination.
protocol_originthe name of the protocol that originated this route.
xorp_routetrue if this route was installed by XORP.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::fea_fib_client_0_1_delete_route4 ( const IPv4Net network,
const string &  ifname,
const string &  vifname 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Notification of a route being deleted.

Parameters:
networkthe network address prefix of the route to delete.
ifnamethe name of the physical interface toward the destination.
vifnamethe name of the virtual interface toward the destination.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::fea_fib_client_0_1_delete_route4 ( const IPv4Net network,
const string &  ifname,
const string &  vifname 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Notification of a route being deleted.

Parameters:
networkthe network address prefix of the route to delete.
ifnamethe name of the physical interface toward the destination.
vifnamethe name of the virtual interface toward the destination.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::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 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Notification of a route being replaced.

Parameters:
networkthe network address prefix of the route to replace.
nexthopthe address of the next-hop router toward the destination.
ifnamethe name of the physical interface toward the destination.
vifnamethe name of the virtual interface toward the destination.
metricthe routing metric toward the destination.
admin_distancethe administratively defined distance toward the destination.
protocol_originthe name of the protocol that originated this route.
xorp_routetrue if this route was installed by XORP.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::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 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Notification of a route being replaced.

Parameters:
networkthe network address prefix of the route to replace.
nexthopthe address of the next-hop router toward the destination.
ifnamethe name of the physical interface toward the destination.
vifnamethe name of the virtual interface toward the destination.
metricthe routing metric toward the destination.
admin_distancethe administratively defined distance toward the destination.
protocol_originthe name of the protocol that originated this route.
xorp_routetrue if this route was installed by XORP.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::fea_fib_client_0_1_resolve_route4 ( const IPv4Net network) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Notification of a route resolution request. This is issued when the forwarding plane cannot find any route to a given destination, even a candidate default.

Parameters:
networkthe address of the destination. forwarding plane requires a route to be resolved by the upper layer.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::fea_fib_client_0_1_resolve_route4 ( const IPv4Net network) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Notification of a route resolution request. This is issued when the forwarding plane cannot find any route to a given destination, even a candidate default.

Parameters:
networkthe address of the destination. forwarding plane requires a route to be resolved by the upper layer.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::fib2mrib_0_1_enable_fib2mrib ( const bool &  enable) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Enable/disable/start/stop Fib2mrib.

Parameters:
enableif true, then enable Fib2mrib, otherwise disable it.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::fib2mrib_0_1_enable_fib2mrib ( const bool &  enable) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Enable/disable/start/stop Fib2mrib.

Parameters:
enableif true, then enable Fib2mrib, otherwise disable it.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::fib2mrib_0_1_enable_log_trace_all ( const bool &  enable) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Enable/disable the Fib2mrib trace log for all operations.

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

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::fib2mrib_0_1_enable_log_trace_all ( const bool &  enable) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Enable/disable the Fib2mrib trace log for all operations.

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

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::finder_event_observer_0_1_xrl_target_birth ( const string &  target_class,
const string &  target_instance 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Announce target birth to observer.

Parameters:
target_classthe target class name.
target_instancethe target instance name.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::finder_event_observer_0_1_xrl_target_birth ( const string &  target_class,
const string &  target_instance 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Announce target birth to observer.

Parameters:
target_classthe target class name.
target_instancethe target instance name.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::finder_event_observer_0_1_xrl_target_death ( const string &  target_class,
const string &  target_instance 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Announce target death to observer.

Parameters:
target_classthe target class name.
target_instancethe target instance name.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::finder_event_observer_0_1_xrl_target_death ( const string &  target_class,
const string &  target_instance 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Announce target death to observer.

Parameters:
target_classthe target class name.
target_instancethe target instance name.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::policy_backend_0_1_configure ( const uint32_t &  filter,
const string &  conf 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Configure a policy filter.

Parameters:
filterthe identifier of the filter to configure.
confthe configuration of the filter.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::policy_backend_0_1_configure ( const uint32_t &  filter,
const string &  conf 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Configure a policy filter.

Parameters:
filterthe identifier of the filter to configure.
confthe configuration of the filter.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::policy_backend_0_1_push_routes ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Push all available routes through all filters for re-filtering.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::policy_backend_0_1_push_routes ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Push all available routes through all filters for re-filtering.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::policy_backend_0_1_reset ( const uint32_t &  filter) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Reset a policy filter.

Parameters:
filterthe identifier of the filter to reset.

Implemented in XrlFib2mribNode.

virtual XrlCmdError XrlFib2mribTargetBase::policy_backend_0_1_reset ( const uint32_t &  filter) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Reset a policy filter.

Parameters:
filterthe identifier of the filter to reset.

Implemented in XrlFib2mribNode.

bool XrlFib2mribTargetBase::set_command_map ( XrlCmdMap cmds)

Set command map.

Parameters:
cmdspointer to command map to associate commands with. This argument is typically a pointer to the XrlRouter associated with the target.
Returns:
true on success, false if cmds is null or a command map has already been supplied.
bool XrlFib2mribTargetBase::set_command_map ( XrlCmdMap cmds)

Set command map.

Parameters:
cmdspointer to command map to associate commands with. This argument is typically a pointer to the XrlRouter associated with the target.
Returns:
true on success, false if cmds is null or a command map has already been supplied.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations