Update compile() method of Flow object.
- Changed compile() to use FlowBatchOperation.Operator as a parameter
and return the list of MatchActionOperations object.
- This task is a preparation for ONOS-1690.
Change-Id: Ic1334c0385f244f1614e8a6b7cd6653252893dfd
diff --git a/src/main/java/net/onrc/onos/api/flowmanager/SingleDstTreeFlow.java b/src/main/java/net/onrc/onos/api/flowmanager/SingleDstTreeFlow.java
index 92533cb..8ed1fb1 100644
--- a/src/main/java/net/onrc/onos/api/flowmanager/SingleDstTreeFlow.java
+++ b/src/main/java/net/onrc/onos/api/flowmanager/SingleDstTreeFlow.java
@@ -53,17 +53,6 @@
// TODO: check consistency among ingressPorts, tree, and actions.
}
- @Override
- public PacketMatch getMatch() {
- return match;
- }
-
- @Override
- public MatchActionOperations compile() {
- // TODO Auto-generated method stub
- return null;
- }
-
/**
* Gets the ingress ports of the tree.
*
@@ -90,4 +79,15 @@
public List<Action> getEgressActions() {
return actions;
}
+
+ @Override
+ public PacketMatch getMatch() {
+ return match;
+ }
+
+ @Override
+ public List<MatchActionOperations> compile(FlowBatchOperation.Operator op) {
+ // TODO Auto-generated method stub
+ return null;
+ }
}