use of org.openkilda.floodlight.pathverification.web.PathVerificationServiceWebRoutable in project open-kilda by telstra.
the class PathVerificationService method startUp.
@Override
public void startUp(FloodlightModuleContext context) throws FloodlightModuleException {
logger.info("Stating {}", PathVerificationService.class.getCanonicalName());
KafkaChannel kafkaChannel = context.getServiceImpl(KafkaUtilityService.class).getKafkaChannel();
logger.info("region: {}", kafkaChannel.getRegion());
topoDiscoTopic = context.getServiceImpl(KafkaUtilityService.class).getKafkaChannel().getTopoDiscoTopic();
islLatencyTopic = context.getServiceImpl(KafkaUtilityService.class).getKafkaChannel().getIslLatencyTopic();
region = context.getServiceImpl(KafkaUtilityService.class).getKafkaChannel().getRegion();
InputService inputService = context.getServiceImpl(InputService.class);
inputService.addTranslator(OFType.PACKET_IN, this);
context.getServiceImpl(PingService.class).setup(context);
context.getServiceImpl(IRestApiService.class).addRestletRoutable(new PathVerificationServiceWebRoutable());
}
Aggregations