From bee2d008c4f708895ef93a7918c20d546091ac29 Mon Sep 17 00:00:00 2001 From: Martin Klozik Date: Thu, 9 Nov 2017 13:09:25 +0000 Subject: paths: Modify algorithm for PATHS verification VSPERF verifies if PATHS to the tools (vSwitch, VNF, etc.) are valid. This check was modified to take into the account tools required by selected testcase. It will help to avoid runtime errors triggered by missing tools, which are not essential for testcase execution. Change-Id: Ifcfea983cad1bdbc8c1f08c7a0281001005410df Signed-off-by: Martin Klozik Reviewed-by: Al Morton Reviewed-by: Christian Trautman Reviewed-by: Sridhar Rao Reviewed-by: Trevor Cooper --- vsperf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vsperf') diff --git a/vsperf b/vsperf index 46b6b416..c14f9bb2 100755 --- a/vsperf +++ b/vsperf @@ -546,8 +546,8 @@ def main(): settings.setValue('mode', args['mode']) - # set dpdk and ovs paths according to VNF and VSWITCH - if settings.getValue('mode') != 'trafficgen': + # update paths to trafficgens if required + if settings.getValue('mode') == 'trafficgen': functions.settings_update_paths() # if required, handle list-* operations -- cgit 1.2.3-korg