Bug 6749: Set the openflow connection config at xml file
[openflowplugin.git] / test-scripts / README
index 2596c4da9e2f023605536b4a0d8b6d2bc33ccc70..643ebc5ed53a1c97069f2cb2f56caf2f7703c136 100644 (file)
@@ -1,37 +1,20 @@
-How to Install
-==============
-
-1. Unzip odl_tests.tar.zip file on a mininet machine. This will create 
-   an odl_tests directory.
-
-2. Install pip, which will be required to install missing python libraries: 
-   (For details, see http://www.pip-installer.org/en/latest/installing.html).
-   
-   2.1. Pip requires setuptools and it has to be installed first, 
-        before pip can run. Install setuptools:
-        > wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
-        > sudo python ez_setup.py
-
-   2.2. Install pip itself:
-
-        > wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
-        > sudo python get-pip.py
-
-3. Install python libraries required by the ODL testing script:
-   > sudo pip install netaddr
-
+Wiki documentation
+==================
 
+https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin::Python_test_scripts
 
 
 How to Run
 ==========
 
-1. > cd odl_testing/
+note:
+    all script have help which describe all parameters
+
+1. > python odl_crud_tests.py --odlhost 172.16.4.212 --fxmls 1,2
+   This runs tests f1 and f2 against ODL running on the specified IP.
+
+   To run with all XMLs, omit the '--xmls' option.
 
-2. > sudo python odl_tests.py --odlhost 172.16.4.212 --xmls 1,2
-   This runs tests f1 and f2 aginast ODL running on specified IP.
-   To run with all XMLs, omit the '--xmls' option. 
+   For more options, type 'sudo python odl_crud_tests.py --help'
 
-   For more options, type 'sudo python odl_tests.py --help'
+3. > src has to be in PYTHONPATH so you are able to run sudo PYTHONPATH=src stress_test python2.6 stress_test.py