diff options
author | Dino Simeon Madarang <dino.simeonx.madarang@intel.com> | 2015-10-19 14:55:06 +0100 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2016-02-03 10:17:04 +0000 |
commit | f463c563912abb806fe0d2fe85a4cf6825f416cc (patch) | |
tree | 0c588b1390b3333ecf262b4e39460ca2fc9d1d21 /vsperf | |
parent | 9685088224d2fe542026a6ecbc31a212e3dca3e9 (diff) |
Add OVS tunnel encapsulation performance test
Measure OVS DPDK and native VXLAN/GRE/GENEVE encapsulation performance.
This patch creates a new deployment scenario, Overlay_P2P.
The DUT is configured as a TEP (Tunnel Endpoint)
which performs encapsulation of frames and sends traffic to
the 2nd traffic generator port. The traffic generator in this
case receives an encapsulated frame. No decapsulation is performed
in this testcase.
Introduce a vsperf param, --run-integration, to filter tests to
integration tests. When running integration tests, variables defined
in the directory conf/integration/*conf as well as the conf/*.conf
are available.
This test case requires DPDK 2.1.0 and OVS master - 6bb4a18 or newer.
Change-Id: Ide2f418909d647119388df9b30d0d0a3656b4e53
JIRA: VSPERF-180
Signed-off-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Diffstat (limited to 'vsperf')
-rwxr-xr-x | vsperf | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -154,6 +154,7 @@ def parse_arguments(): name contains RFC2544 less those containing "p2p"') group.add_argument('--verbosity', choices=list_logging_levels(), help='debug level') + group.add_argument('--run-integration', action='store_true', help='run integration tests') group.add_argument('--trafficgen', help='traffic generator to use') group.add_argument('--vswitch', help='vswitch implementation to use') group.add_argument('--fwdapp', help='packet forwarding application to use') @@ -325,6 +326,10 @@ def main(): settings.load_from_dir('conf') + # Load non performance/integration tests + if args['run_integration']: + settings.load_from_dir('conf/integration') + # load command line parameters first in case there are settings files # to be used settings.load_from_dict(args) @@ -455,6 +460,9 @@ def main(): else: # configure tests testcases = settings.getValue('PERFORMANCE_TESTS') + if args['run_integration']: + testcases = settings.getValue('INTEGRATION_TESTS') + all_tests = [] for cfg in testcases: try: |