commit | 7639bf953a24310d4f8ee2234d178846e838df5d | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@onlab.us> | Fri May 12 13:39:23 2017 -0700 |
committer | Ray Milkey <ray@onlab.us> | Wed May 17 17:00:45 2017 +0000 |
tree | 7c2d3be5c3a3427790866f5f1be8de8c913f7521 | |
parent | 4d454ccff06d07c40e5324860006726d5ce0e533 [diff] |
Remove deprecated API from virtual network flow rule store Change-Id: I3de9a1bf56d87f0c95843f61ccc3f8f2e37d1c5b
diff --git a/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/VirtualNetworkFlowRuleStore.java b/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/VirtualNetworkFlowRuleStore.java index a5a212a..232e595 100644 --- a/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/VirtualNetworkFlowRuleStore.java +++ b/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/VirtualNetworkFlowRuleStore.java
@@ -60,17 +60,6 @@ Iterable<FlowEntry> getFlowEntries(NetworkId networkId, DeviceId deviceId); /** - * // TODO: Better description of method behavior. - * Stores a new flow rule without generating events. - * - * @param networkId virtual network identifier - * @param rule the flow rule to add - * @deprecated in Cardinal Release - */ - @Deprecated - void storeFlowRule(NetworkId networkId, FlowRule rule); - - /** * Stores a batch of flow rules. * * @param networkId virtual network identifier
diff --git a/incubator/store/src/main/java/org/onosproject/incubator/store/virtual/impl/SimpleVirtualFlowRuleStore.java b/incubator/store/src/main/java/org/onosproject/incubator/store/virtual/impl/SimpleVirtualFlowRuleStore.java index 4b22d9e..eeb3a7c 100644 --- a/incubator/store/src/main/java/org/onosproject/incubator/store/virtual/impl/SimpleVirtualFlowRuleStore.java +++ b/incubator/store/src/main/java/org/onosproject/incubator/store/virtual/impl/SimpleVirtualFlowRuleStore.java
@@ -177,8 +177,7 @@ .transformAndConcat(Collections::unmodifiableList); } - @Override - public void storeFlowRule(NetworkId networkId, FlowRule rule) { + private void storeFlowRule(NetworkId networkId, FlowRule rule) { storeFlowRuleInternal(networkId, rule); }