Changes between Version 29 and Version 30 of OpenFlow/Slicer/TestPlan
- Timestamp:
- 04/14/15 13:08:19 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenFlow/Slicer/TestPlan
v29 v30 40 40 41 41 === Step 2: Establish that basic connectivity works === 42 a. Run a modified pox forwarding.l2_learning controller for 'samevlan' that installs a send-to-controller rule for unmatched traffic within the VLAN. 43 b. Start a packet capture on the slicer facing both the switch and the controller. 44 c. Using a host that is not in a slice, send ICMP ping traffic on the data plane and make sure it never reaches the other host that is not in a VLAN. ''(002)'' ''(004-a)'' ''(004-c)'' 45 d. Using 'samevlan', send ICMP ping data plane traffic between the two hosts. Ensure that it gets through to the two hosts in 'samevlan', but not to the hosts in 'diffvlans'. ''(001)'' ''(003)'' 46 e. Stop the packet capture(s) at the slicer, and check for the following: 42 a. Run a gosal instance and a modified pox forwarding.l2_learning controller for 'samevlan' that installs a send-to-controller rule for unmatched traffic within the VLAN. 43 b. Start a packet capture on the slicer facing the switch. 44 c. Start a packet capture on the host running gosal facing the controller. 45 d. Using a host that is not in a slice, send ICMP ping traffic on the data plane and make sure it never reaches the other host that is not in a VLAN. ''(002)'' ''(004-a)'' ''(004-c)'' 46 e. Using 'samevlan', send ICMP ping data plane traffic between the two hosts. Ensure that it gets through to the two hosts in 'samevlan', but not to the hosts in 'diffvlans'. ''(001)'' ''(003)'' 47 f. Stop the packet capture(s) at the slicer, and check for the following: 47 48 i. Check that traffic from the hosts that don't belong to a slice never shows up at the slicer. ''(004-a)'' ''(004-c)'' 48 49 ii. Check that traffic from the slicer destined for a controller is only sent to a single controller ''(004-b)'' ''(004-d)'' 49 50 iii. Check that packet-ins from the switch have a VLAN tag, but packet-ins going to the controller do not. Also ensure that nothing else is different. ''(014-b)'' ''(009)'' 50 51 iv. Check that packet-outs from the controller have no VLAN tag, but packet-outs going to the switch do. Also ensure that nothing else is different. ''(014-a)'' ''(009)'' 51 v. Traffic sent to the OFPP_ALL port from the controller is funnelled into the set of ports in the slice by the slicer. ''(003-c)'' 52 v. Traffic sent to the OFPP_ALL port from the controller is funnelled into the set of ports in the slice by the slicer. ''(003-c)'' 53 g. Stop the gosal instance and pox forwarding.l2_learning controller for 'samevlan'. 52 54 53 55 === Step 3: Test for VLAN enforcement and translation === 54 a. St op the pox forwarding.l2_learning controller for 'samevlan'. Start a floodlight instance in its place with static flow pusher enabled.56 a. Start a floodlight instance with static flow pusher enabled. 55 57 b. Push a flow that matches one of the ports and VLANs in 'samevlan' and tries to do a VLAN rewrite to a different VLAN ID before outputting to the other port in the slice. Ensure this gets rejected by the slicer, and an error message is returned. ''(003-b)'' ''(004-e)'' ''(008-a)'' 56 58 c. Push a flow that matches one of the ports and VLANs, and tries to do a strip-VLAN action. Ensure this gets rejected by the slicer, and an error message is returned. ''(003-a)'' ''(004-e)'' ''(008-a)'' 57 d. Run a modified pox forwarding.l2_learning controller for 'diffvlans' that installs a send-to-controller rule for unmatched traffic for the specific VLAN+port matches that fall within the slice.59 d. Run a gosal instance and a modified pox forwarding.l2_learning controller for 'diffvlans' that installs a send-to-controller rule for unmatched traffic for the specific VLAN+port matches that fall within the slice. 58 60 e. Send ICMP ping traffic between the 'diffvlans' hosts and make sure it gets exchanged properly. ''(014-d)'' 59 61