Search in sources :

Example 1 with SwitchManagerWebRoutable

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());
}
Also used : IRestApiService(net.floodlightcontroller.restserver.IRestApiService) IFloodlightProviderService(net.floodlightcontroller.core.IFloodlightProviderService) SwitchFlowFactory(org.openkilda.floodlight.switchmanager.factory.SwitchFlowFactory) SwitchManagerWebRoutable(org.openkilda.floodlight.switchmanager.web.SwitchManagerWebRoutable)

Aggregations

IFloodlightProviderService (net.floodlightcontroller.core.IFloodlightProviderService)1 IRestApiService (net.floodlightcontroller.restserver.IRestApiService)1 SwitchFlowFactory (org.openkilda.floodlight.switchmanager.factory.SwitchFlowFactory)1 SwitchManagerWebRoutable (org.openkilda.floodlight.switchmanager.web.SwitchManagerWebRoutable)1