Start of interfaces for Match/Action framework
Change-Id: I1de54257b583986e6a9d93a395cb8e648235b2bf
diff --git a/src/main/java/net/onrc/onos/core/matchaction/MatchActionService.java b/src/main/java/net/onrc/onos/core/matchaction/MatchActionService.java
index 02a7ef3..a905e09 100644
--- a/src/main/java/net/onrc/onos/core/matchaction/MatchActionService.java
+++ b/src/main/java/net/onrc/onos/core/matchaction/MatchActionService.java
@@ -1,7 +1,7 @@
package net.onrc.onos.core.matchaction;
-import java.util.Collection;
import java.util.EventListener;
+import java.util.Set;
import net.onrc.onos.api.flowmanager.ConflictDetectionPolicy;
@@ -18,27 +18,19 @@
boolean addMatchAction(MatchAction matchAction);
/**
- * Removes the existing match-action entry.
- *
- * @param id ID for MatchaAction object to be removed.
- * @return true if succeeded, false otherwise.
- */
- boolean removeMatchAction(MatchActionId id);
-
- /**
* Gets the set of match-action entries.
*
* @return The set of match-action entries.
*/
- Collection<MatchAction> getMatchActions();
+ Set<MatchAction> getMatchActions();
/**
* Executes match-action operation plan.
*
- * @param plan MatchActionPlan to be executed.
+ * @param operations Operations to be executed.
* @return true if succeeded, false otherwise.
*/
- boolean executePlan(MatchActionPlan plan);
+ boolean executeOperations(MatchActionOperations operations);
/**
* Sets a conflict detection policy.