diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2016-02-23 09:54:43 +0000 |
---|---|---|
committer | Martin Klozik <martinx.klozik@intel.com> | 2016-03-21 14:18:56 +0000 |
commit | b55c8beb6003f07f025fc0edbc08c3e0fcaed064 (patch) | |
tree | 435359b6ba1d382389dedc0d9bccc6964bcbb606 /docs/userguide/integration.rst | |
parent | 8ee2450bd267c7dc173f62909a8a4ebe13feab84 (diff) |
integration: Support of integration testcases
Generic support for integration testcases with first
set of tests for vswitch testing.
New test option "TestSteps" has been introduced
to define test step by step directly in configuration
file.
In case that this concept will be accepted, there
are plenty of possibilities for future improvements.
For example:
* use it also for performance tests without explicit
call of validation methods
* introduce step macros for repetitive scenarios,
so new tests can be easily written
* further generalization, which would go beyond
usage of controllers and will operate directly
with vswitch, vnf and trafficgen objects
Change-Id: Ifad166c8ef9cfbda6694682fe6b3421e0e97bbf2
JIRA: VSPERF-212
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Brian Castelli <brian.castelli@spirent.com>
Diffstat (limited to 'docs/userguide/integration.rst')
-rwxr-xr-x | docs/userguide/integration.rst | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/docs/userguide/integration.rst b/docs/userguide/integration.rst index dc871280..27bf2cd0 100755 --- a/docs/userguide/integration.rst +++ b/docs/userguide/integration.rst @@ -6,7 +6,7 @@ Integration tests ================= VSPERF includes a set of integration tests defined in conf/integration. -These tests can be run by specifying --run-integration as a parameter to vsperf. +These tests can be run by specifying --integration as a parameter to vsperf. Current tests in conf/integration are Overlay tests. VSPERF supports VXLAN, GRE and GENEVE tunneling protocols. @@ -59,21 +59,21 @@ To run VXLAN encapsulation tests: .. code-block:: console - ./vsperf --conf-file user_settings.py --run-integration + ./vsperf --conf-file user_settings.py --integration --test-params 'tunnel_type=vxlan' overlay_p2p_tput To run GRE encapsulation tests: .. code-block:: console - ./vsperf --conf-file user_settings.py --run-integration + ./vsperf --conf-file user_settings.py --integration --test-params 'tunnel_type=gre' overlay_p2p_tput To run GENEVE encapsulation tests: .. code-block:: console - ./vsperf --conf-file user_settings.py --run-integration + ./vsperf --conf-file user_settings.py --integration --test-params 'tunnel_type=geneve' overlay_p2p_tput To run OVS NATIVE tunnel tests (VXLAN/GRE/GENEVE): @@ -102,7 +102,7 @@ To run OVS NATIVE tunnel tests (VXLAN/GRE/GENEVE): .. code-block:: console - ./vsperf --conf-file user_settings.py --run-integration + ./vsperf --conf-file user_settings.py --integration --test-params 'tunnel_type=vxlan' overlay_p2p_tput @@ -123,7 +123,7 @@ To run VXLAN decapsulation tests: .. code-block:: console - ./vsperf --conf-file user_settings.py --run-integration overlay_p2p_decap_cont + ./vsperf --conf-file user_settings.py --integration overlay_p2p_decap_cont If you want to use different values for your VXLAN frame, you may set: @@ -165,7 +165,7 @@ To run GRE decapsulation tests: .. code-block:: console ./vsperf --conf-file user_settings.py --test-params 'tunnel_type=gre' - --run-integration overlay_p2p_decap_cont + --integration overlay_p2p_decap_cont If you want to use different values for your GRE frame, you may set: @@ -222,7 +222,7 @@ To run GENEVE decapsulation tests: .. code-block:: console ./vsperf --conf-file user_settings.py --test-params 'tunnel_type=geneve' - --run-integration overlay_p2p_decap_cont + --integration overlay_p2p_decap_cont If you want to use different values for your GENEVE frame, you may set: @@ -301,7 +301,7 @@ To run VXLAN decapsulation tests: .. code-block:: console - ./vsperf --conf-file user_settings.py --run-integration + ./vsperf --conf-file user_settings.py --integration --test-params 'tunnel_type=vxlan' overlay_p2p_decap_cont Executing Native/Vanilla OVS GRE decapsulation tests @@ -356,7 +356,7 @@ To run GRE decapsulation tests: .. code-block:: console - ./vsperf --conf-file user_settings.py --run-integration + ./vsperf --conf-file user_settings.py --integration --test-params 'tunnel_type=gre' overlay_p2p_decap_cont Executing Native/Vanilla OVS GENEVE decapsulation tests @@ -411,6 +411,6 @@ To run GENEVE decapsulation tests: .. code-block:: console - ./vsperf --conf-file user_settings.py --run-integration + ./vsperf --conf-file user_settings.py --integration --test-params 'tunnel_type=geneve' overlay_p2p_decap_cont |