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/OpticalPathFlow.java b/src/main/java/net/onrc/onos/api/flowmanager/OpticalPathFlow.java
index 4018a7c..6b94472 100644
--- a/src/main/java/net/onrc/onos/api/flowmanager/OpticalPathFlow.java
+++ b/src/main/java/net/onrc/onos/api/flowmanager/OpticalPathFlow.java
@@ -35,6 +35,15 @@
}
/**
+ * Gets lambda which is used throughout the path.
+ *
+ * @return lambda which is used throughout the path
+ */
+ public int getLambda() {
+ return lambda;
+ }
+
+ /**
* Gets traffic filter for this flow.
* <p>
* This method only returns wildcard match, because the ingress transponder
@@ -45,17 +54,8 @@
return (new PacketMatchBuilder()).build();
}
- /**
- * Gets lambda which is used throughout the path.
- *
- * @return lambda which is used throughout the path
- */
- public int getLambda() {
- return lambda;
- }
-
@Override
- public MatchActionOperations compile() {
+ public List<MatchActionOperations> compile(FlowBatchOperation.Operator op) {
// TODO Auto-generated method stub
return null;
}