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

The trapping rules from the NNI port are not handled correctly in the openolt adapter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Story Points:
      2

      Description

      In openolt_flow_mgr.add_flow() just before calling openolt_flow_mgr.divide_and_add_flow(), "intf_id, onu_id, uni_id" can't be got correct values from "classifier_info[IN_PORT], action_info[OUTPUT]" because both IN_PORT and OUT_PORT are not UNI ports. Then openolt_flow_mgr.divide_and_add_flow() will return without adding rules into device, and ERROR can be seen from log messages.
      LLDP and DHCP trapping from NNI to CONTROLLER rules are added after "enable device". In Voltha cli, these rules can be displayed under logical-device, but they are missed under device olt, such as
      (voltha) logical_device 00010000ac1d0a63
      (logical device 00010000ac1d0a63) flows
      Logical Device 00010000ac1d0a63 (type: n/a)
      Flows (8):
      --------------------------------------------------------------------------------------------+
      table_id priority cookie in_port vlan_vid eth_type ip_proto udp_src udp_dst output goto-table
      --------------------------------------------------------------------------------------------+
      0 10000 ~801ca341 65536 88CC CONTROLLER
      0 10000 ~5f7d2175 65536 800 17 67 68 CONTROLLER
      0 10000 ~c8aa000a 16 888E CONTROLLER
      0 10000 ~fa237c41 16 800 17 68 67 CONTROLLER
      1 1000 ~7e10fe6d 16 33 65536
      0 1000 ~d204d235 16 0 1
      1 1000 ~b25fea37 65536 33 16
      0 1000 ~04415595 65536 44 1
      --------------------------------------------------------------------------------------------+
      (device 0001bec1ff8bd11e) flows
      Device 0001bec1ff8bd11e (type: openolt)
      Flows (6):
      -----------------------------------------------------------------------------------------------+
      table_id priority cookie in_port vlan_vid eth_type ip_proto udp_src udp_dst output goto-table
      -----------------------------------------------------------------------------------------------+
      0 10000 ~3498d342 16 4091 888E CONTROLLER
      0 10000 ~3498d342 CONTROLLER 4090 16
      0 10000 ~9c0834bf 16 800 17 68 67 CONTROLLER
      1 1000 ~b62f3c0a 16 33 65536
      0 10000 ~3498d342 16 33 888E CONTROLLER
      0 1000 ~aba5d3c1 65536 44 1
      -----------------------------------------------------------------------------------------------+

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              gdepatie Gilles Depatie
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes