Add TopoRouteService to the list of modules to be loaded on startup.
diff --git a/src/main/java/net/floodlightcontroller/core/FloodlightProvider.java b/src/main/java/net/floodlightcontroller/core/FloodlightProvider.java
index ec5e7e3..5c847b7 100644
--- a/src/main/java/net/floodlightcontroller/core/FloodlightProvider.java
+++ b/src/main/java/net/floodlightcontroller/core/FloodlightProvider.java
@@ -10,6 +10,7 @@
import net.floodlightcontroller.core.module.FloodlightModuleException;
import net.floodlightcontroller.core.module.IFloodlightModule;
import net.floodlightcontroller.core.module.IFloodlightService;
+import net.floodlightcontroller.core.INetMapTopologyService.ITopoRouteService;
import net.floodlightcontroller.counter.ICounterStoreService;
import net.floodlightcontroller.flowcache.IFlowService;
import net.floodlightcontroller.mastership.IMastershipService;
@@ -53,6 +54,7 @@
dependencies.add(IThreadPoolService.class);
dependencies.add(IMastershipService.class);
dependencies.add(IFlowService.class);
+ dependencies.add(ITopoRouteService.class);
return dependencies;
}
@@ -70,6 +72,7 @@
context.getServiceImpl(IThreadPoolService.class));
controller.setMastershipService(context.getServiceImpl(IMastershipService.class));
controller.setFlowService(context.getServiceImpl(IFlowService.class));
+ controller.setTopoRouteService(context.getServiceImpl(ITopoRouteService.class));
controller.init(context.getConfigParams(this));
}