tree: 94104b03f98cf5247600bf291fef6106cb880846 [path history] [tgz]
  1. .project
  2. .pydevproject
  3. Documentation/
  4. README.md
  5. TAI/
  6. __init__.py
  7. bin/
  8. config/
  9. core/
  10. drivers/
  11. examples/
  12. generate-docs.sh
  13. install.sh
  14. lib/
  15. logs/
  16. requirements.txt
  17. setup.cfg
  18. tests/
TestON/README.md

Welcome to TestON !

TestON

Introduction

TestON is a solution that aims to interact with OpenFlow/SDN components and automate the functionality of the components.

TestON is an end to end automation solution for testing the Openflow/SDN components. run across various components in an OpenFlow topology. This solution aims to provide an automation framework, that is not just exhaustive in coverage, but also makes it easy to debug and author scripts. It allows for authoring scripts in OpenSpeak (plain English) format and can be run standalone from the command line.

Note:

Please change the params parser file path and Parser name in ~/config/ofa.cfg

Test Launch

In order to run TestON, you must have:

  • 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. It can be installed as :

    openflow@ETH-Tutorial:~$ sudo pip install configObj

  • Finally ,launching of test:

  • TestON providing two options to launch the test.

    1 .Console based :

    • Launching of test must be from "bin" directory which

      resides into "TestON-master" directory as following:

       sdn@test-station:~/TestON/bin$ ./cli.py
       teston>run MininetTest
      
    1. TAI (Test Authoring Interface) UI based :

      • Will provide TAI stand-alone application soon, now user can get the raw code from the TAI directory.

    User can launch the test from TAI-UI by clicking the Run Button in tool-bar.

RunTest

Examples

For more examples, refer 'examples' directory. Please find the below link for examples: https://github.com/opennetworkinglab/OnosSystemTest/tree/master/TestON/examples

Documents

  • Documentation can be auto generated by running the generate-docs.sh script in the TestON directory.
  • Auto generated Documentation can be found in the Documentation folder.
  • index.html is the home page.

Note

Corresponding logs for the executed test or example will be available in ~/logs/