Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

In a network environment, reliability plays a very important role. If one link fails, the traffic flowing through the link will switch to other paths. This test case is used to test the time it takes for the path to switch.

In this test, we chose two types of topologies, ring, and full mesh. In the ring topology, we select any two adjacent switches, and create one host in each switch, enable traffic between this two host, and then disconnect the link of this two switches to observe the traffic recovery time. In full mesh topology, the steps are consistent with the above, except that you can select any other two switches and disconnect them.

This test will create multiple switches with ring or full mesh topology connected to one controller. Datapath depends on the flow tables needed, after the link disconnectd, the flows download to the switches in another path will start, when all the switches have these flow table entries, datapath can be recovery successfully.

By capture, the time can be caculated by the packets below

      1、The port status packet

      2、The last flow_mod packet

The test was done by different number of switches with the sequence of 100、200、300、400 ... ...(ring), and 10、20、30、40 ... ...(full mesh)

Suggestions

  1. The topo of the switches
    Linear topology can show the datapath performance best. Mabe there's no linear topology in your IXIA tester version, create a ring topology first and then transformed into a linear topology.
  2. The trigger mode
    Through the topology in the first and last two hosts to do the operation of ping can trigger the flow download.

Preparation

  • Features install

    onos> feature:install onos-drivers
    onos> feature:install onos-openflow
    onos> feature:install onos-openflow-base
    onos> feature:install onos-app-fwd
    onos> feature:install onos-lldp-provider
    onos> feature:install onos-host-provider



Test steps

      1. Config IxNetwork with switches (first with 100) with linear topology and two hosts in the first and last switch.

      2. Start the controller with the features install.

      3. Start the OF protocol of the switch.

      4. Wait until the channel is established and Echo message interaction started.

      5. Start the capture of IxNetwork.

      6. Enable the traffic between this two hosts, wait until the hosts can ping through each other.

      7. Stop the capture, analyse the messages captured. Write down the time of the first packet_in message T1 and the time of the last flow mod message T2. Caculate the time of Datapath seted up T=T2-T1

      8. Clean the configuration of controllers and IxNetwork.

      9. Repeat test step 1-8 for three times.

      10. Restart the test with another number of switches.

Test Results