Add FlowManager 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 e84e0f6..ec5e7e3 100644
--- a/src/main/java/net/floodlightcontroller/core/FloodlightProvider.java
+++ b/src/main/java/net/floodlightcontroller/core/FloodlightProvider.java
@@ -11,6 +11,7 @@
import net.floodlightcontroller.core.module.IFloodlightModule;
import net.floodlightcontroller.core.module.IFloodlightService;
import net.floodlightcontroller.counter.ICounterStoreService;
+import net.floodlightcontroller.flowcache.IFlowService;
import net.floodlightcontroller.mastership.IMastershipService;
import net.floodlightcontroller.perfmon.IPktInProcessingTimeService;
import net.floodlightcontroller.restserver.IRestApiService;
@@ -51,6 +52,7 @@
dependencies.add(ICounterStoreService.class);
dependencies.add(IThreadPoolService.class);
dependencies.add(IMastershipService.class);
+ dependencies.add(IFlowService.class);
return dependencies;
}
@@ -67,6 +69,7 @@
controller.setThreadPoolService(
context.getServiceImpl(IThreadPoolService.class));
controller.setMastershipService(context.getServiceImpl(IMastershipService.class));
+ controller.setFlowService(context.getServiceImpl(IFlowService.class));
controller.init(context.getConfigParams(this));
}