System Test Setup Overview
Created by: ; Last Modified by: ; Last Update:
[ yWorks Diagrams for Confluence Error: Cannot find the diagram "ONOS System Test Bench" on this page. ]
Components in this Setup:
- Jenkins CI system (Optional - if you need to have automated build job set up; else, all the test cases can be driven from TestStation.);
- Wiki (Atlassian Confluence), or other publishing services (Optional - if you do need to publish test results);
- Connection to Gerrit Repo - gerrit.onosproject.org
- TestStation - we use a single VM/server to run TestON together with ONOS test bench;
- ONOS cells - each cell is a node running ONOS - the number of cells needed depending on your test cases; we are currently running one cell per VM;
- Openflow network - this is either a Mininet-emulated network, or physical network.
Test Setup Procedure:
This procedure assume TestStation is running OnosSystemTest, onos bench, and Mininet; Host[1~7] are running onos cell OC[1-7].
- Setting up on TestStation ONOS test bench according to the "getting started" guide in "ONOS for Newcomers";
- 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 per your environment;
- Run the sample case from OnosSystemTest/TestON/bin: "./cli.py run SAMPstartTemplate" (This case only require to have one onos cell OC1)