Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Please take a look at the Test Files section of the tutorial to know more about the files necessary to run the test. If you have any problem please visit TestON FAQs for more information.

In the OnosSystemTest/TestON/bin folder, you may run the cli.py a test by specifying "run", then the test name:

Code Block
$ ./cli.py

You can execute help command for the to show the list of command in TestON :

Code Block
teston> help

Running the test on TestON:

Code Block
teston> run SAMPstartTemplate_1node


or simply run your test when you execute cli.pyAlternatively, you may specify your own .params and .topo file in the cli arguments:

Code Block
$ ./cli.py run SAMPstartTemplate_1node --params-file SAMPstartTemplate_1node.params --topo-file SAMPstartTemplate_1node.topo

Ensure your .params and .topo file are in the test directory (ie: in OnosSystemTest/TestON/tests/SAMP/SAMPstartTemplate_1node/ ).


NOTE: If you stop a test while running (by ^C or ^D), make sure to clean up before running a new test:

Code Block
$ ./cleanup.sh

This will run various scripts to clean up any currently running ONOS, TestON, and MininetNOTE: Every time you run your test make sure you disconnect Mininet entirely by doing "sudo mn -c" command.

Stuck? Found a bug? Questions?

...