summaryrefslogtreecommitdiffstats
path: root/tools/report/report.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/report/report.py')
-rw-r--r--tools/report/report.py4
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'),