Changes between Version 18 and Version 19 of OpenFlow/Slicer/TestPlan


Ignore:
Timestamp:
11/14/14 10:26:30 (5 years ago)
Author:
tupty@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OpenFlow/Slicer/TestPlan

    v18 v19  
    2828=== Step 1: Setup ===
    2929 a. Reserve 5 slices (using the add_slice function) ''(005-a)'':
    30   i. Slice 'samevlan' with two ports on a single switch, each on the same VLAN.  Ensure the slicer state is accurate. ''(001-a)''
    31   ii. Slice 'diffvlans' with two ports on the same switch, each associated with a different VLAN.  Ensure the slicer state is accurate. ''(001-a)''
    32   iii. Slice 'tenvlans' with 10 VLANs spanning across 10 switches.  Ensure the slicer state is accurate. ''(001-a)''
    33   iv. Slice 'untaggedports' with two untagged ports on a single switch (doesn't need to be possible to pass).  Ensure the slicer state is accurate. ''(001-b)''
    34   v. Slice 'fullports' with two full ports on a single switch (doesn't need to be possible to pass).  Ensure the slicer state is accurate. ''(001-c)''
    35  b. Add a hosts attached to each port with the appropriate data plane VLAN connections for 'samevlan', 'diffvlans', and hosts for at least two of the VLANs for 'tenvlans'
     30  i. Slice 'samevlan' with two ports on a single switch, each on the same VLAN.  Create this slice such that it handles any VLAN translation at the slicer.  Ensure the slicer state is accurate. ''(001-a)''
     31  ii. Slice 'diffvlans' with two ports on the same switch, each associated with a different VLAN.  Create this slice such that it handles any VLAN translation at the slicer.  Ensure the slicer state is accurate. ''(001-a)''
     32  iii. Slice 'tenvlans' with 10 VLANs on the same switch.  Ensure the slicer state is accurate. ''(001-a)''
     33  iv. Slice 'untaggedports' with two untagged ports on a single switch.  Ensure the slicer state is accurate. ''(001-b)''
     34  v. Slice 'fullports' with two full ports on a single switch.  Ensure the slicer state is accurate. ''(001-c)''
     35 b. Attach hosts to each port with the appropriate data plane VLAN connections for 'samevlan', 'diffvlans', and hosts for at least two of the VLANs for 'tenvlans'
    3636 c. Add two hosts which are on the same VLAN but do not correspond to an existing slice.
    3737
     
    3939 a. Run a modified pox forwarding.l2_learning controller for 'samevlan' that installs a send-to-controller rule for unmatched traffic within the VLAN.
    4040 b. Start a packet capture on the slicer facing both the switch and the controller.
    41  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. ''(002)'' ''(004-a)'' ''(004-c)''
     41 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)''
    4242 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)''
    43  e. Stop the packet capture, and check for the following:
     43 e. Stop the packet capture(s) at the slicer, and check for the following:
    4444  i. Check that traffic from the hosts that don't belong to a slice never shows up at the slicer. ''(004-a)'' ''(004-c)''
    4545  ii. Check that traffic from the slicer destined for a controller is only sent to a single controller ''(004-b)'' ''(004-d)''
     
    5050=== Step 3: Test for VLAN enforcement and translation ===
    5151 a. Stop the pox forwarding.l2_learning controller for 'samevlan'.  Start a floodlight instance in its place with static flow pusher enabled.
    52  b. Push a flow that matches one of the ports and VLANs, and tries to do a VLAN rewrite to a different VLAN ID.  Ensure this gets rejected by the slicer, and an error message is returned. ''(003-b)'' ''(004-e)'' ''(008-a)''
     52 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)''
    5353 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)''
    54  d. Run a modified pox forwarding.l2_learning controller for 'diffvlans' that installs a send-to-controller rule for unmatched traffic within the VLAN.
     54 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.
    5555 e. Send ICMP ping traffic between the 'diffvlans' hosts and make sure it gets exchanged properly. ''(014-d)''
    5656