...
Example Test Setup Procedure:
This procedure assume TestStation is running OnosSystemTest, onos bench, and Mininet; Host[1~7] are running onos cell OC[1-7]. All hosts are running Ubuntu14.04.
...
guide will help you install TestON, configure your environment, and run a sample test with a three node cluster.
NOTE: ONOS 1.3 or higher must be correctly installed. Follow this guide to install ONOS.
- Install Mininet on TestStation - http://mininet.org/download/
- Clone "OnosSystemtest" to TestStation: "git clone https://gerrit.onosproject.org/OnosSystemTest";
Configure
environment variables on the TestStation with OC[1-7], OCN, OCI to assigned the correct IPs peryour environment
; Important: these envvariables
are usedby
TestON in the init step to create (ssh) handles to all the component systems; they have to be set according to the specific test suites in order for the test to runsetting the appropriate cell. The sample test requires a 3-node cell. Follow this guide to help you set your cell.
Run the sample
case fromtest.
: "Code Block language bash cd ~/OnosSystemTest/TestON/bin
SAMPstartTemplate" (This case requires to have 3 onos cells)./ ./cli.py run
SAMPstartTemplate