From f463c563912abb806fe0d2fe85a4cf6825f416cc Mon Sep 17 00:00:00 2001 From: Dino Simeon Madarang Date: Mon, 19 Oct 2015 14:55:06 +0100 Subject: 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 Reviewed-by: Maryam Tahhan Reviewed-by: Al Morton --- vsperf | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vsperf') diff --git a/vsperf b/vsperf index 4b1d86d0..71ca2eb0 100755 --- a/vsperf +++ b/vsperf @@ -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: -- cgit 1.2.3-korg