-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.1
-
Component/s: Deprecated - VOLTHA
-
Labels:None
-
Story Points:1
-
Sprint:VOLTHA 2.1 Sprint 2
Using voltha 2.0 core with containerized adapters, after provisioning, enabling and installing traffic flows (cTag=33, sTag=44), the flows are visible correctly in the voltha logical_device.
But in the OLT and ONU devices, the flows have the same direction:
- on the OLT device, both flows are from the PON port to the NNI port
- on the ONU device, both flows are from the UNI port to the PON port
This was also the case in the demo made on 9/5/2019 : https://www.youtube.com/watch?v=GzlA8DbjteQ
Flows on logical_device:
+----------+----------+-----------+---------+----------+----------+----------+---------+---------+--------------+--------------+----------+-----------+------------+------------+ | table_id | priority | cookie | in_port | vlan_vid | eth_type | ip_proto | udp_src | udp_dst | metadata | set_vlan_vid | pop_vlan | push_vlan | output | goto-table | +----------+----------+-----------+---------+----------+----------+----------+---------+---------+--------------+--------------+----------+-----------+------------+------------+ ... | 0 | 1000 | ~fd5149aa | 65536 | 44 | | | | | 141733922832 | | Yes | | | 1 | | 0 | 1000 | ~caeb3185 | 2064 | 0 | | | | | | 33 | | | | 1 | | 1 | 1000 | ~1fe5a84b | 2064 | 33 | | | | | | 44 | | 8100 | 65536 | | | 1 | 1000 | ~25325e6d | 65536 | 33 | | | | | | 0 | Yes | | 2064 | | ...
Flows on OLT device:
+----------+----------+-----------+-----------+----------+----------+----------+----------+---------+---------+----------+-----------+--------------+----------+-----------+------------+ | table_id | priority | cookie | in_port | vlan_vid | vlan_pcp | eth_type | ip_proto | udp_src | udp_dst | metadata | tunnel_id | set_vlan_vid | pop_vlan | push_vlan | output | +----------+----------+-----------+-----------+----------+----------+----------+----------+---------+---------+----------+-----------+--------------+----------+-----------+------------+ | 0 | 1000 | ~1fe5a84b | 536870913 | 33 | | | | | | | 2064 | 44 | | 8100 | 65536 | | 0 | 1000 | ~fd5149aa | 536870913 | 44 | | | | | | 33 | 2064 | | Yes | | 65536 | ...
Flows on ONU device:
+----------+----------+-----------+---------+----------+-----------+--------------+----------+-----------+ | table_id | priority | cookie | in_port | vlan_vid | tunnel_id | set_vlan_vid | pop_vlan | output | +----------+----------+-----------+---------+----------+-----------+--------------+----------+-----------+ | 0 | 1000 | ~25325e6d | 2064 | 33 | | 0 | Yes | 536870913 | | 0 | 1000 | ~caeb3185 | 2064 | 0 | 2064 | 33 | | 536870913 | +----------+----------+-----------+---------+----------+-----------+--------------+----------+-----------+
Please find attached the voltha CLI commands showing the ports and flows on each device (logical_device, olt, onu), and the logs from the ofagent, core and adapters.
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
14194,1 | [VOL-1679] Fix flow decomposition rules | master | voltha-go | Status: MERGED | +2 | +1 |