TestOn is the testing framework used at ONLAB to run nightly test of ONOS. This page details the tests developed to make sure the Segment Routing application under a few failure scenarios.
To install TestOn follow this link on the wiki.
A connectivity test is currently running nightly. The test consists of 3 Steps:
The test runs for the following configurations of apps:
drivers,segmentrouting,openflow-base,netcfghostprovider,netcfglinksprovider
The test runs for the following topologies:
The following are ideas for tests to be implemented:
Here we have a few comments about each test idea.
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.
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 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.
In this test, we test port forwarding based on the vlan field.
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.
In this test, we test ONOS recovery mechanism by bringing down links s1-s2, s3-s4, and s5-s6.
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.
The current Segment Routing application doesn't implement with adjacency Sids
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