use of org.openkilda.floodlight.switchmanager.web.SwitchManagerWebRoutable in project open-kilda by telstra.
the class SwitchManager method startUp.
/**
* {@inheritDoc}
*/
@Override
public void startUp(FloodlightModuleContext context) throws FloodlightModuleException {
logger.info("Module {} - start up", SwitchTrackingService.class.getName());
context.getServiceImpl(SwitchTrackingService.class).setup(context);
logger.info("Module {} - start up", SwitchFlowFactory.class.getName());
context.getServiceImpl(SwitchFlowFactory.class).setup(context);
context.getServiceImpl(IFloodlightProviderService.class).addOFMessageListener(OFType.ERROR, this);
context.getServiceImpl(IRestApiService.class).addRestletRoutable(new SwitchManagerWebRoutable());
}
Aggregations