Work In Progress
This documents describes how to set up fabric test environment for software data plane to run tests.
Test station: runs "OnosSystemTest/TestON"; optionally onos Bench and Mininet.
Required: "OC" environment variables are configure in the host to run test scripts.
ONOS cells: each cell is running ONOS (the number of cells depends on the test cases. In this guide, we will use three cells.)
Mininet: running Mininet-emulated Trellis leaf-spine fabric and dependent components
Set up fabric test environment
Follow ONOS installation guide to set up and run ONOS cluster.
Clone Mininet and run the install script
- Install other Trellis related components
- Following environment variables need to be set
- OC# (e.g., OC1, OC2, …): point to each cell running ONOS instance
- OCN: point to the station running mininet instance
- OCI: point to OC1
- Test Station
Follow TestON installation guide to install TestON
(Optional) Add OnosSystemTest/TestON/bin to $PATH for convenience
Before you run any test, it is recommended to run cleanup script to kill any TestON, ssh, and Mininet sessions that are running.
Fabric-related tests are in OnosSystemTest/TestON/tests/USECASE/SegmentRouting/.
(SRBridging, SRRouting, SRDhcprelay, SRMulticast, SRDynamicConf)