xorp

XrlRedistManager< A > Class Template Reference

Xrl Route redistribution manager. More...

#include <xrl_redist_manager.hh>

Inheritance diagram for XrlRedistManager< A >:
ServiceBase BugCatcher

List of all members.

Public Types

typedef A Addr
typedef IPNet< A > Net

Public Member Functions

 XrlRedistManager (System< A > &system)
int startup ()
 Start service.
int shutdown ()
 Shutdown service.
void add_route (const Net &net, const Addr &nh, const string &ifname, const string &vifname, uint16_t cost, uint16_t tag, const PolicyTags &policytags)
void delete_route (const Net &net)

Protected Attributes

RouteRedistributor< A > _rr

Detailed Description

template<typename A>
class XrlRedistManager< A >

Xrl Route redistribution manager.


Member Function Documentation

template<typename A >
int XrlRedistManager< A >::shutdown ( ) [virtual]

Shutdown service.

Service should transition from SERVICE_RUNNING to SERVICE_SHUTTING_DOWN immediately and onto SERVICE_SHUTDOWN or SERVICE_FAILED in the near future.

Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements ServiceBase.

template<typename A >
int XrlRedistManager< A >::startup ( ) [virtual]

Start service.

Service should transition from SERVICE_READY to SERVICE_STARTING immediately and onto SERVICE_RUNNING or SERVICE_FAILED in the near future.

Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implements ServiceBase.


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