ONOS-4044 Implemented ONOS-to-Bmv2 flow rule translator
In Bmv2, tables, header fields and actions all depend on the packet processing model configuration (Bmv2Model) currently deployed on the device. For this reason, translation is needed from protocol-aware ONOS FlowRule objects into properly formatted, protocol-independent Bmv2TableEntry objects. Translation is based on a TranslatorConfig that provides a mapping between ONOS types and Bmv2 model-dependent types. Change-Id: I620802c2024b5250867dc6b1b988b739177f582a
Showing
7 changed files
with
918 additions
and
0 deletions
This diff is collapsed. Click to expand it.
drivers/bmv2/src/main/java/org/onosproject/drivers/bmv2/translators/Bmv2FlowRuleTranslator.java
0 → 100644
drivers/bmv2/src/test/java/org/onosproject/drivers/bmv2/Bmv2DefaultFlowRuleTranslatorTest.java
0 → 100644
-
Please register or login to post a comment