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

Add flowReconcileService

parent b18b8e6f
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ package net.floodlightcontroller.flowcache;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import net.floodlightcontroller.core.module.FloodlightModuleContext;
......@@ -98,13 +99,21 @@ public class FlowReconcileManager
@Override
public Collection<Class<? extends IFloodlightService>> getModuleServices() {
return null;
Collection<Class<? extends IFloodlightService>> l =
new ArrayList<Class<? extends IFloodlightService>>();
l.add(IFlowReconcileService.class);
return l;
}
@Override
public Map<Class<? extends IFloodlightService>, IFloodlightService>
getServiceImpls() {
return null;
Map<Class<? extends IFloodlightService>,
IFloodlightService> m =
new HashMap<Class<? extends IFloodlightService>,
IFloodlightService>();
m.put(IFlowReconcileService.class, this);
return m;
}
@Override
......
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