commit | 914b0b1b2e972cb44cd60864210eb000f03b813d | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@opennetworking.org> | Tue Jan 09 11:54:52 2018 -0800 |
committer | Thomas Vachuska <tom@opennetworking.org> | Tue Jan 09 21:15:28 2018 +0000 |
tree | 8b674a7df1ac9243de1bfae8701ac2468af64944 | |
parent | 65cd9e3e171dd8b51a552623caded28da872b43f [diff] |
Fixed the ECFlowRuleStore to support MODIFY flow rule operations. Change-Id: If1ee4b1d2af120535b21b0914ec30aa8930539d1
diff --git a/core/store/dist/src/main/java/org/onosproject/store/flow/impl/ECFlowRuleStore.java b/core/store/dist/src/main/java/org/onosproject/store/flow/impl/ECFlowRuleStore.java index cd29b77..266e6fb 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/flow/impl/ECFlowRuleStore.java +++ b/core/store/dist/src/main/java/org/onosproject/store/flow/impl/ECFlowRuleStore.java
@@ -470,6 +470,7 @@ StoredFlowEntry entry; switch (op.operator()) { case ADD: + case MODIFY: entry = new DefaultFlowEntry(op.target()); // always add requested FlowRule // Note: 2 equal FlowEntry may have different treatment @@ -486,9 +487,6 @@ return op; } break; - case MODIFY: - //TODO: figure this out at some point - break; default: log.warn("Unknown flow operation operator: {}", op.operator()); }