aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2015-06-03 10:21:23 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-06-03 10:21:23 +0000
commitb40ad4493a1a730da9b7b922035c7ab37ed3c0b0 (patch)
treef7ea9443163e60f80179110cf7f5e3a9a4c2323c /docs
parentbd52c692b335429df0275eeac31188fe11ecf3a6 (diff)
parent7d983d2b0842ac284952f4ae874ec32a1f462a84 (diff)
Merge "update doc for Arno"
Diffstat (limited to 'docs')
-rw-r--r--docs/functest.rst57
1 files changed, 37 insertions, 20 deletions
diff --git a/docs/functest.rst b/docs/functest.rst
index 55c3aa121..49bdc8ae8 100644
--- a/docs/functest.rst
+++ b/docs/functest.rst
@@ -180,6 +180,14 @@ The ODL suite consists in a set of basic tests inherited from ODL project. The l
* Create New Port :: Create new port in OpenStack
* Check New Port :: Check new subnet created in OpenDaylight
* Neutron.Ports :: Checking Port created in OpenStack are pushed
+ * Delete Ports
+ * Delete previously created subnet in OpenStack
+ * Check subnet deleted in OpenDaylight
+ * Check subnet deleted in OpenStack
+ * Delete network
+ * Delete previously created network in OpenStack
+ * Check network deleted in OpenDaylight
+ * Check network deleted in OpenStack
vPing
=====
@@ -277,7 +285,7 @@ The procedure to set up functional testing environment can be described as follo
Modify and adapt needed parameters in the config_functest.yaml. Follow the instructions below.
Retrieve OpenStack source file (configure your `OpenRC`_ file to let Rally access to your OpenStack, you can either export it from Horizon or build it manually (OpenStack credentials are required)
$ source Your_OpenRC_file
- $ python config_functest.py -d <Your_functest_directory> start
+ $ python <functest_repo_directory>/config_functest.py -d <Your_functest_directory> start
At the end of the executing, a new directory will be created <functest_repo_directory> with the following structure::
@@ -364,6 +372,23 @@ You can check if the configuration of rally is fine by typing 'rally deployment
Manual testing
--------------
+vPing
+=====
+
+ $ python <functest_repo_directory>/vPing/vPing.py -d <Your_functest_directory>
+
+
+OpenDaylight
+============
+
+You can run ODL suite as follow:
+ $ python <functest_repo_directory>testcases/Controllers/ODL/CI/start_tests.sh
+
+ODL wiki page describes system preparation and running tests. See `Integration Group CSIT`_.
+
+.. _`Integration Group CSIT`: https://wiki.opendaylight.org/view/CrossProject:Integration_Group:CSIT
+
+
Rally bench suite
=================
@@ -381,7 +406,7 @@ Several scenarios are available (mainly based on native Rally scenarios):
You can run the script as follow::
- # python run_rally.py keystone
+ # python <functest_repo_directory>/testcases/VIM/OpenStack/CI/libraries/run_rally.py <functest_repo_directory> keystone
The script will:
* get the json scenario (if not already available) and put it into the scenario folder
@@ -402,12 +427,6 @@ The different modes available are smoke, baremetal, compute, data_processing, id
.. _`tempest installation guide using Rally`: https://www.mirantis.com/blog/rally-openstack-tempest-testing-made-simpler/
-OpenDaylight
-============
-ODL wiki page describes system preparation and running tests. See `Integration Group CSIT`_.
-
-.. _`Integration Group CSIT`: https://wiki.opendaylight.org/view/CrossProject:Integration_Group:CSIT
-
.. _manualtest:
@@ -415,6 +434,16 @@ ODL wiki page describes system preparation and running tests. See `Integration G
Test results
--------------
+vPing
+=====
+vPing results are automatically displayed in the console.
+
+
+OpenDaylight
+============
+ODL tests are executed in the console, and 3 result files are generated
+
+
Rally bench suite
=================
@@ -462,18 +491,6 @@ Example of test result display::
| tempest.api.object_storage.test_account_quotas.AccountQuotasTest | 0.0 | SKIP |
| ... | ... | ... |
-OpenDaylight
-============
-
-Tests can be executed with script *start_test.sh* from directory *functest/testcases/Controllers/ODL/CI*. For usage example see::
-
- # bash ~./.functest/ODL/start_test.sh -h
-
-vPing
-=====
-The test can be executed with command::
-
- #python ~./.functest/vPing.py -d
.. _automatictest: