diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2016-01-26 14:32:01 +0000 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2016-01-28 15:53:14 +0000 |
commit | 35cc59470bf86e33ca4fe30b459e224b2f4cf399 (patch) | |
tree | ed776683bfc7022a385249af7553c03fa1e09e85 /tools/report/report.py | |
parent | 00f09149caf0c0e23c91d147f0e7cfb30d197920 (diff) |
bugfix: do not report DPDK version for vanilla OVS vswitch
DPDK version check has been removed in case that OVS
does not use DPDK.
Change-Id: I78560a72e4fde3d7113165d88eb81d80f6399af8
JIRA: VSPERF-209
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: Brian Castelli <brian.castelli@spirent.com>
(cherry picked from commit 8744bcc583c734caf006116b033362e01022f7b8)
Diffstat (limited to 'tools/report/report.py')
-rw-r--r-- | tools/report/report.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/report/report.py b/tools/report/report.py index 1e0f87bc..16ef0eb3 100644 --- a/tools/report/report.py +++ b/tools/report/report.py @@ -56,9 +56,11 @@ def _get_env(result): 'vsperf': systeminfo.get_version('vswitchperf'), 'traffic_gen': systeminfo.get_version(S.getValue('TRAFFICGEN')), 'vswitch': systeminfo.get_version(S.getValue('VSWITCH')), - 'dpdk': systeminfo.get_version('dpdk'), } + if S.getValue('VSWITCH').lower().count('dpdk'): + env.update({'dpdk': systeminfo.get_version('dpdk')}) + if result[ResultsConstants.DEPLOYMENT].count('v'): env.update({'vnf': systeminfo.get_version(S.getValue('VNF')), 'guest_image': S.getValue('GUEST_IMAGE'), |