Initial DistributedDlowRuleStore
- known bug: responding to ClusterMessage not possible.
Change-Id: Iaa4245c64d2a6219d7c48ed30ddca7d558dbc177
diff --git a/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleStore.java b/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleStore.java
index 5ce7eb1..abb9a10 100644
--- a/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleStore.java
+++ b/core/api/src/main/java/org/onlab/onos/net/flow/FlowRuleStore.java
@@ -44,16 +44,18 @@
* Stores a new flow rule without generating events.
*
* @param rule the flow rule to add
+ * @return true if the rule should be handled locally
*/
- void storeFlowRule(FlowRule rule);
+ boolean storeFlowRule(FlowRule rule);
/**
* Marks a flow rule for deletion. Actual deletion will occur
* when the provider indicates that the flow has been removed.
*
* @param rule the flow rule to delete
+ * @return true if the rule should be handled locally
*/
- void deleteFlowRule(FlowRule rule);
+ boolean deleteFlowRule(FlowRule rule);
/**
* Stores a new flow rule, or updates an existing entry.