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.
Check this if you would like to know more details about TestON.
No tests are currently running.
The following tests are ready, but not yet commited.
- Basic ONOS instantiation
- Basic IP connectivity on 2x2 leaf-spine topology
The following tests are being developed.
The following are ideas for tests to be implemented:
- A simple test for default connectivity in a fish topology
- A simple test for verify controller's recovery functionality in a fish topology
- A simple test for verifying tunnels and policies
- A simple test for verifying tunnels and policies with auto generated adjacencySid
- A simple test for verifying tunnels and policies with adjacencySid with multiple ports
- Restarts the controller in a linear 3-node topology
- Restarts the controller in a ring topology
- Restarts the controller in 10 switch topology
- Leaf-Spine topology : 4 x 4
- Link failure on Fabric topology
- Test VLAN crossconnect
- Linear 2 node topology
- In-Rack Forwarding
- 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
In-Rack forwarding
In this test, we test forwading between elements preconfigured in the same rack
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 3 node topology
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