Welcome to Test-ON tutorial!
Test on runs on Linux platform. Test-ON requires a proper ONOS installation in order to work, see ONOS tutorial for more information.
By completing this tutorial, you will understand how to:
NOTE: If you are having trouble on running Test-ON visit Test-ON FAQs or git hub wiki for additional information.
In this tutorial, commands are shown along with a command prompt to indicate the subsystem for which they are intended.
indicates that you are in the TestON command line, whereas
indicates that you are in your machine.
python 2.6 or higher versions.
Install python package configObj using:
$ sudo pip install configObj
Email us if you’re stuck, think you’ve found a bug, or just want to send some feedback. Please have a look at the guidelines to learn how to efficiently submit a bug report.
Clone the Test-ON from https://github.com/OPENNETWORKINGLAB/ONLabTest.git
Please configure mail server details before going to start working with Test-ON
233: msg['From'] = 'firstname.lastname@example.org' 250: smtp = smtplib.SMTP('Hostname/IP') 252: smtp.login('email@example.com','password')
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 /TestON/bin folder run the cli.py :
Running the test on TestON:
teston> run PingallExample
You can execute help command for the to show the list of command in TestON :
or simply run your test when you execute cli.py:
$ ./cli.py run PingallExample