commit | 338886c25fd4cbb9effa997039e392440260b2cf | [log] [tgz] |
---|---|---|
author | timlindberg <tim@onlab.us> | Tue Aug 06 17:01:47 2013 -0700 |
committer | timlindberg <tim@onlab.us> | Tue Aug 06 17:01:47 2013 -0700 |
tree | 52803d5087e693bbed93714868307b11fca49e5e | |
parent | 9ce280baaca6e0b09e946135d709aa4988e31818 [diff] |
Delete README
TestON is the testing platform that all the ONOS tests are being run on curretly.
Pull the git repo from https://github.com/OPENNETWORKINGLAB/ONLabTest.git
$ git clone https://github.com/OPENNETWORKINGLAB/ONLabTest.git
Make a symbolic link for TestON on the HOMEDIR Execute the following from the home directory
$ ln -s ONLab/TestON TestON
Make sure python path is correct
$ export PYTHONPATH={PATH TO HOMEDIR}/TestON/
$ echo $PYTHONPATH
Zookeeper
Cassandra
ONOS
Mininet
Config file at TestON/config/teston.cfg
Change the file paths to the appropriate paths
TestON must be ran from its bin directory
$ cd TestON/bin
Launch cli
$ ./cli.py
Run the test
teston> run MininetTest
The tests are all located it TestON/tests/ Each test has its own folder with the following files:
.ospk file
This is written in Openspeak, an word based languaged developed by Paxterra.
It defines the cases that the test runs as the sequence of events in general
.py file
This file serves the same exact function as the openspeak file.
It will only be run when the test is called if there is NO .ospk file, so if you like python, delete or rename the .ospk file
.topo file
This defines all the components that TestON creates for that test and includes data such as IP address, login info, and device drivers
The Components must be defined in this file to be uesd in the openspeak or python files.
.params file
Defines all the test-specific variables that are used by the test.
NOTE: The variable testcases
which defines which testcases run when the test is ran.