Committed by
Gerrit Code Review
Major refactoring of the BMv2 protocol module (onos1.6 cherry-pick)
- Created 3 separate sub-modules: API (doesn't depend on Thrift), CTL (depends on Thrift), THRIFT-API (to generate Thrift sources) - Implemented 2 new services (for device configuration swapping and table entry management) needed to distribute BMv2-specific state among ONOS instances. - Implemented a BMv2 controller (previously other modules where using separately a Thrift client and a server) - Added a default BMv2 JSON configuration (default.json) and interpreter to be used for devices that connect for the first time to ONOS. This allows for basic services to work (i.e. LLDP link discovery, ARP proxy. etc.). - Changed behavior of the flow rule translator and extension selector, now it allows extension to specify only some of the match parameters (before extension selectors were expected to describe the whole match key, i.e. all fields) - Various renaming to better represent the API - Various java doc fixes / improvements Change-Id: Ida4b5e546b0def97c3552a6c05f7bce76fd32c28
Showing
72 changed files
with
5100 additions
and
1622 deletions
protocols/bmv2/api/pom.xml
0 → 100644
protocols/bmv2/api/src/main/java/org/onosproject/bmv2/api/context/Bmv2FlowRuleTranslator.java
0 → 100644
protocols/bmv2/api/src/main/java/org/onosproject/bmv2/api/runtime/Bmv2ExtensionSelector.java
0 → 100644
protocols/bmv2/api/src/main/java/org/onosproject/bmv2/api/runtime/Bmv2FlowRuleWrapper.java
0 → 100644
protocols/bmv2/api/src/main/java/org/onosproject/bmv2/api/runtime/Bmv2ParsedTableEntry.java
0 → 100644
protocols/bmv2/api/src/main/java/org/onosproject/bmv2/api/runtime/Bmv2RuntimeException.java
0 → 100644
protocols/bmv2/api/src/main/java/org/onosproject/bmv2/api/runtime/Bmv2TableEntryReference.java
0 → 100644
protocols/bmv2/api/src/main/java/org/onosproject/bmv2/api/service/Bmv2DeviceContextService.java
0 → 100644
protocols/bmv2/api/src/main/java/org/onosproject/bmv2/api/service/Bmv2DeviceListener.java
0 → 100644
protocols/bmv2/api/src/main/java/org/onosproject/bmv2/api/service/Bmv2PacketListener.java
0 → 100644
protocols/bmv2/api/src/main/java/org/onosproject/bmv2/api/service/Bmv2TableEntryService.java
0 → 100644
protocols/bmv2/ctl/pom.xml
0 → 100644
protocols/bmv2/ctl/src/main/java/org/onosproject/bmv2/ctl/Bmv2DefaultInterpreterImpl.java
0 → 100644
protocols/bmv2/ctl/src/main/java/org/onosproject/bmv2/ctl/Bmv2DeviceContextServiceImpl.java
0 → 100644
protocols/bmv2/ctl/src/main/java/org/onosproject/bmv2/ctl/Bmv2FlowRuleTranslatorImpl.java
0 → 100644
protocols/bmv2/ctl/src/test/java/org/onosproject/bmv2/ctl/Bmv2FlowRuleTranslatorImplTest.java
0 → 100644
protocols/bmv2/thrift-api/pom.xml
0 → 100644
File moved
-
Please register or login to post a comment