Have questions? Stuck? Please check our FAQ for some common questions and answers.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

TestOn is the testing framework used at ONLAB to run nightly test of ONOS. This page describes the tests ran over the Segment Routing application.

To install TestOn follow this link on the wiki.

A connectivity test is currently running nightly. The test consists of 3 Steps:

  1. Configure and installs ONOS
  2. Start mininet and check flow state
  3. Test connectivity

The test runs for the following configurations of apps:

  1. drivers,segmentrouting,openflow-base,netcfghostprovider,netcfglinksprovider

  2. drivers,segmentrouting,openflow

The test runs for the following topologies:

  1. 2x2 Leaf-Spine
  2. 4x4 Leaf-Spine

The following are ideas for tests to be implemented:

  1. Connectivity in a fish topology
  2. Controller's recovery functionality in a fish topology
  3. Verifying tunnels and policies
  4. Verifying tunnels and policies with auto generated adjacencySid
  5. Verifying tunnels and policies with adjacencySid with multiple ports
  6. Restarts the controller in a linear 3-node topology 
  7. Restarts the controller in a ring topology
  8. Restarts the controller in 10 switch topology
  9. Link failure on Fabric topology
  10. Test VLAN crossconnect
  11. Linear 2 node topology
  12. In-Rack Forwarding
  13. Subnet Forwarding 

Here we have a few comments about each test idea.

Default connectivity in a fish topology

In this test a fish topology is used. Onos configures the segment routing application and the test framework tests connectivity by making hosts ping each other.

Link failure in Leaf-spine

In this test we test ONOS recovery mechanism. We bring down a switch of the topology and verify if we can still achieve full connectivity

In-Rack forwarding

In this test, we test forwarding between elements in the same rack, this is already tested in the basic leaf-spine connectivity, and we would only add this new one to have more visibility in the details.

Vlan Crossconnect

In this test, we test port forwarding based on the vlan field.

Linear 2 nodes topology

In this test we test IP forwarding on a 2 node topology. This would be necessary having in mind that we may not have a spine all the times.

Controller dataplane's recovery in a fish topology

In this test, we test ONOS recovery mechanism by bringing down links s1-s2, s3-s4, and s5-s6.

Tunnels and policies

In this test we test the creation of tunnels and policies. A tunnel is tested by checking if its groups were properly installed. Finally connectivity is tested using the tunnels and policies.

Tunnels and policies with auto generated adjacency Sid

The current Segment Routing application doesn't implement with adjacency Sids

Controller restart in linear 3 node topology

In this test, we restart Onos with new configuration files and test connectivity between nodes in the topology. The test is repeated for different topologies

  • No labels