commit | 9e39e31c5635d6398d692eec226c95b3714b730a | [log] [tgz] |
---|---|---|
author | Carmelo Cascone <carmelo@onlab.us> | Thu Jun 16 14:47:09 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Jun 28 22:40:42 2016 +0000 |
tree | 326c31c0d422c472ef30837b899472f630074d12 | |
parent | 62f8018c8be4fc556e2fe1b0683ae41822756708 [diff] [blame] |
Polished BMv2 protocol module - Improved and fixed typos in javadocs - Added missing beta API annotations - Refactored the default interpreter implementation Change-Id: Ibfb21d31415d8f25cc67307f8bea2871951c9a8f
diff --git a/protocols/bmv2/ctl/src/main/java/org/onosproject/bmv2/ctl/Bmv2FlowRuleTranslatorImpl.java b/protocols/bmv2/ctl/src/main/java/org/onosproject/bmv2/ctl/Bmv2FlowRuleTranslatorImpl.java index b3c1e8a..ef9427e 100644 --- a/protocols/bmv2/ctl/src/main/java/org/onosproject/bmv2/ctl/Bmv2FlowRuleTranslatorImpl.java +++ b/protocols/bmv2/ctl/src/main/java/org/onosproject/bmv2/ctl/Bmv2FlowRuleTranslatorImpl.java
@@ -241,7 +241,7 @@ if (extTreatment.type() == ExtensionTreatmentTypes.BMV2_ACTION.type()) { if (extTreatment instanceof Bmv2ExtensionTreatment) { - return ((Bmv2ExtensionTreatment) extTreatment).getAction(); + return ((Bmv2ExtensionTreatment) extTreatment).action(); } else { throw new Bmv2FlowRuleTranslatorException("Unable to decode treatment extension: " + extTreatment); }