-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
High
-
Resolution: Done
-
Affects Version/s: VOLTHA v1.1.0, VOLTHA v1.2.0
-
Fix Version/s: VOLTHA v1.3
-
Component/s: Deprecated - VOLTHA Adapter
-
Labels:
-
Environment:
Docker Swarm, 3 vcores,
-
Story Points:3
-
Sprint:VOLTHA 1.3 Sprint 2
Currently VOTHA generates a DPID for an OLT based on two factors:
1. the vcore which is the master of the device
2. an incremental index for each vcore
As you cannot predict which vcore will be used when an OLT is connected, today you have to configure of:000100..1, of:000200..1, and of:0003...1, etc. in ONOS as the configuration for the first OLT. If the OLT comes up under vcore 1, the access device configuration of:000100..1 will be used.
The problem is that when the second device comes up, it will likely come up under vcore 2 or 3 and thus try to read the access device configuration of of:000200..1 or of:000300..1, which was already had to configured for the information for the first OLT.
In stead of generating DPIDs in this way, VOLTHA should generate, as per the OF spec*, so that it would be "more" possible to provide configuration to ONOS based on the DPID.
I would recommend that the top 16 bits continue to be used for the vcore identifier, but change voltha and the adapters to use the management MAC address of the switch (or equivalent unique, unmutable, hardware value) for the lower 48 bits.
- The datapath_id field uniquely identifies a datapath. The lower 48 bits are intended for the switch
MAC address, while the top 16 bits are up to the implementer.
- relates to
-
VOL-542 oltApp: Use Sadis data (if available) for OLT configuration data instead of AccessDevice Configuration
-
- Resolved
-
-
VOL-622 Ensure the datapath ID (DPID) is a mac address in voltha core
-
- Resolved
-
-
SEBA-833 Need to be able to wild card search / specify access device configuration information in ONOS
-
- Resolved
-
-
VOL-622 Ensure the datapath ID (DPID) is a mac address in voltha core
-
- Resolved
-
-
VOL-627 Asfvolt16 OLT adapter should specify the mac_address of OLT during the creation of logical_device
-
- Resolved
-