Skip to content
Snippets Groups Projects
Commit 7b2c8e1c authored by Kanzhe Jiang's avatar Kanzhe Jiang
Browse files

add FlowCacheService to DeviceManager's dependency list

parent cbb787ff
No related branches found
No related tags found
No related merge requests found
...@@ -599,6 +599,7 @@ public class DeviceManagerImpl implements ...@@ -599,6 +599,7 @@ public class DeviceManagerImpl implements
l.add(ITopologyService.class); l.add(ITopologyService.class);
l.add(IRestApiService.class); l.add(IRestApiService.class);
l.add(IThreadPoolService.class); l.add(IThreadPoolService.class);
l.add(IFlowReconcileService.class);
return l; return l;
} }
......
...@@ -17,15 +17,6 @@ import org.openflow.protocol.OFType; ...@@ -17,15 +17,6 @@ import org.openflow.protocol.OFType;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/**
*
* This class registers for various network events that may require flow
* reconciliation. Examples include host-move, new attachment-point,
* switch connection etc.
*
* @author subrata
*
*/
public class FlowReconcileManager public class FlowReconcileManager
implements IFloodlightModule, IFlowReconcileService { implements IFloodlightModule, IFlowReconcileService {
...@@ -100,7 +91,7 @@ public class FlowReconcileManager ...@@ -100,7 +91,7 @@ public class FlowReconcileManager
@Override @Override
public Collection<Class<? extends IFloodlightService>> getModuleServices() { public Collection<Class<? extends IFloodlightService>> getModuleServices() {
Collection<Class<? extends IFloodlightService>> l = Collection<Class<? extends IFloodlightService>> l =
new ArrayList<Class<? extends IFloodlightService>>(); new ArrayList<Class<? extends IFloodlightService>>();
l.add(IFlowReconcileService.class); l.add(IFlowReconcileService.class);
return l; return l;
} }
...@@ -108,8 +99,8 @@ public class FlowReconcileManager ...@@ -108,8 +99,8 @@ public class FlowReconcileManager
@Override @Override
public Map<Class<? extends IFloodlightService>, IFloodlightService> public Map<Class<? extends IFloodlightService>, IFloodlightService>
getServiceImpls() { getServiceImpls() {
Map<Class<? extends IFloodlightService>, Map<Class<? extends IFloodlightService>,
IFloodlightService> m = IFloodlightService> m =
new HashMap<Class<? extends IFloodlightService>, new HashMap<Class<? extends IFloodlightService>,
IFloodlightService>(); IFloodlightService>();
m.put(IFlowReconcileService.class, this); m.put(IFlowReconcileService.class, this);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment