Skip to content
Snippets Groups Projects
Commit b321114e authored by Kuang-Ching Wang's avatar Kuang-Ching Wang
Browse files

Merge pull request #343 from wargoth/master

Fix for static flows pusher
parents 7106b844 ca932b39
No related branches found
No related tags found
No related merge requests found
......@@ -643,13 +643,6 @@ public class StaticFlowEntryPusher
@Override
public void addFlow(String name, OFFlowMod fm, String swDpid) {
Map<String, Object> fmMap = StaticFlowEntries.flowModToStorageEntry(fm, swDpid, name);
entry2dpid.put(name, swDpid);
Map<String, OFFlowMod> switchEntries = entriesFromStorage.get(swDpid);
if (switchEntries == null) {
switchEntries = new HashMap<String, OFFlowMod>();
entriesFromStorage.put(swDpid, switchEntries);
}
switchEntries.put(name, fm);
storageSource.insertRowAsync(TABLE_NAME, fmMap);
}
......
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