Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-1679

Flows decomposed incorrectly in voltha 2.0

    XMLWordPrintable

    Details

    • Story Points:
      1
    • Sprint:
      VOLTHA 2.1 Sprint 2

      Description

      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.

       

        Attachments

        1. adapter_openolt.log
          8.89 MB
        2. adapter_openonu.log
          3.52 MB
        3. ofagent.log
          1.46 MB
        4. rw_core.log
          2.31 MB
        5. voltha_cli_commands.txt
          15 kB
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            khen khenaidoo Nursimulu
            Reporter:
            felkozah Fahed El-Kozah
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes