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

Welcome to TestON !

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.

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 :

    $ sudo pip install configObj
    

How to launch a test:

  • Navigate to the bin/ directory which resides in the TestON/ directory:

    $ ./cli.py
    teston> run SAMPstartTemplate_1node
    

    or

    $ ./cli.py run SAMPstartTemplate_1node
    

Examples

For more examples, refer to the TestON/tests/SAMP/ directory. Check out the ONOS Wiki for guides in creating a test.

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/