Multiple meter support added and meter action added for OF1.5
MeterFeaturesFlag added for OF1.5
Change-Id: I84d2785f37ea51b08244de9c54effe5224af9531
diff --git a/core/api/src/main/java/org/onosproject/net/flow/TrafficTreatment.java b/core/api/src/main/java/org/onosproject/net/flow/TrafficTreatment.java
index 057f0f8..f61b017 100644
--- a/core/api/src/main/java/org/onosproject/net/flow/TrafficTreatment.java
+++ b/core/api/src/main/java/org/onosproject/net/flow/TrafficTreatment.java
@@ -17,6 +17,7 @@
import java.util.List;
import java.util.Map;
+import java.util.Set;
import com.google.common.annotations.Beta;
import org.onlab.packet.EthType;
@@ -90,11 +91,18 @@
/**
* Returns the meter instruction if there is one.
*
- * @return a meter instruction that may be null
+ * @return a meter instruction that may be a null.
*/
Instructions.MeterInstruction metered();
/**
+ * Returns the meter instructions if there is any.
+ *
+ * @return meter instructions that may be an empty set.
+ */
+ Set<Instructions.MeterInstruction> meters();
+
+ /**
* Builder of traffic treatment entities.
*/
interface Builder {