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

Test Case: Multicast/IGMP

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: Future
    • Component/s: ponsim, Testing
    • Labels:
      None

      Description

      • PONSIM OLT and ONUs registered as ACTIVE in VOLTHA
      • RG having obtained an ipv4 addr from Onos DHCP server

      Pass scenario:

      1. Onos cli type "flows"
        1. That should return a certain number of flowRuleCount such as "flowRuleCount=8"
      2. Onos cli type "groups"
        1. That should return a certain number for groupCount such as "groupCount=1"
      3. Send an IGMP packet from the RG up to the ONU
        1. Type  "igmp.py -j -i pon1_128 -m 229.0.0.1"
        2. Should get back
          " .
          Sent 1 packets."  ( over two lines )
      4. Onos cli type "groups"
        1. GroupCount should have increased by one
      5. Onos cli type "flows -s"
        1. Check output for added flow bearing "229.0.0.1"
      6. Check whether we find this state in the logical device in VOLTHA.
        1. Type " logical_device
          flows" ( two commands )
          1. In flow table look for flow bearing "229.0.0.1"
      1. Back to the physical device level
        1. Type "devices"
        2. Type "device <device Id> that sent the packet i.e. pon_128
        3. Type "flows"
          1. In flow table look for flow bearing "229.0.0.1"
      2. Send packet down NNI port towards RG
        1.  sudo scapy
          mc = Ether(src="00:00:00:00:00:01")/Dot1Q(vlan=<vlanId>)/IP(dst="229.0.0.1", proto=17) sendp(mc, iface="pon1_0")
        2. On RG container we type  "tcpdump -nei pon1_128"
          1. We should see packet bearing 229.0.0.1

       

      Acceptance Criteria:

      • Should demonstrate all pass and fail scenarios
      • Log files should be attached to Jenkins artifacts
      • Test should be triggered from Gerrit 

        Attachments

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

          Activity

            People

            Assignee:
            gdepatie Gilles Depatie
            Reporter:
            dlussier Daryl Lussier
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes