|
xorp
|
Xrl Route redistribution manager. More...
#include <xrl_redist_manager.hh>
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 |
| 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.
Implements ServiceBase.
| 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.
Implements ServiceBase.