Welcome to TestON tutorial!
Overview
Test on runs on Linux platform. TestON TestOn requires a proper onos installation in order to work, see ONOS tutorial for more information.
By completing this tutorial, you will understand how to:
- Install TestON
- Create appropriate files to run test on TestON.
- Create and run TestON script
- Create a TestON driver
NOTE: If you are having trouble on running TestOn TestON visit TestON FAQs for more details or visit git hub wiki for additional information.
Configuring Linux to run TestON
...
Requirements:
- A Linux 2.6.26 or greater kernel compiled with network namespace support enabled (see INSTALL for additional information.)
python 2.6 or higher versions.
Install python package configObj using:
Code Block |
---|
$ sudo pip install configObj |
Prerequisites:
- Properly installed ONOS
- Dependencies - ONOS, Python packages, Pox, Mininet, STS etc. (Check out the Dependencies section in the Github wiki for more information)
- Prior knowledge of ONOS and Mininet
- Two or more VMs running Ubuntu Server
Stuck? Found a bug? Questions?
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.
Installation
Clone the TestON from https://github.com/OPENNETWORKINGLAB/ONLabTest.git
Please configure mail server details before going to start working with TestON
- Open core/utilities.py file inside TestON Framework
- Check def send_mail(self) and configure the mail server and your credentials as mention below:
Code Block |
---|
233: msg['From'] = 'user@mailserver.com'
250: smtp = smtplib.SMTP('Hostname/IP')
252: smtp.login('user@mailserver.com','password')
|
Requirements: