diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2017-11-09 13:09:25 +0000 |
---|---|---|
committer | Martin Klozik <martinx.klozik@intel.com> | 2017-11-09 13:25:25 +0000 |
commit | bee2d008c4f708895ef93a7918c20d546091ac29 (patch) | |
tree | 7ed345d225596138621080a9338f8fd137cf1476 /vsperf | |
parent | 1653f5d6a12febed50f138076dcf8c191d9f24e6 (diff) |
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 <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
Diffstat (limited to 'vsperf')
-rwxr-xr-x | vsperf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |