-
Type: Task
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: Future
-
Labels:None
-
Story Points:10
-
Epic Link:
- PONSIM OLT and ONUs registered as ACTIVE in VOLTHA
- RG having obtained an ipv4 addr from Onos DHCP server
Pass scenario:
- Onos cli type "flows"
- That should return a certain number of flowRuleCount such as "flowRuleCount=8"
- Onos cli type "groups"
- That should return a certain number for groupCount such as "groupCount=1"
- Send an IGMP packet from the RG up to the ONU
- Type "igmp.py -j -i pon1_128 -m 229.0.0.1"
- Should get back
" .
Sent 1 packets." ( over two lines )
- Onos cli type "groups"
- GroupCount should have increased by one
- Onos cli type "flows -s"
- Check output for added flow bearing "229.0.0.1"
- Check whether we find this state in the logical device in VOLTHA.
-
- Type " logical_device
flows" ( two commands )- In flow table look for flow bearing "229.0.0.1"
- Type " logical_device
- Back to the physical device level
- Type "devices"
- Type "device <device Id> that sent the packet i.e. pon_128
- Type "flows"
- In flow table look for flow bearing "229.0.0.1"
- Send packet down NNI port towards RG
- 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") - On RG container we type "tcpdump -nei pon1_128"
- We should see packet bearing 229.0.0.1
- sudo scapy
Acceptance Criteria:
- Should demonstrate all pass and fail scenarios
- Log files should be attached to Jenkins artifacts
- Test should be triggered from Gerrit