aboutsummaryrefslogtreecommitdiffstats
path: root/conf/__init__.py
diff options
context:
space:
mode:
authorLukasz Pawlik <lukaszx.pawlik@intel.com>2019-10-07 07:48:53 +0100
committerEmma Finn <emma.finn@intel.com>2019-10-29 11:04:50 +0000
commit579caa865deca76619ee1611e427ac222aa66321 (patch)
tree23f0dc2069685244e52ce728fd6214d2adc8f0a0 /conf/__init__.py
parentf8f22a8301ff5c188f6a5647a52c57290da5ffa6 (diff)
integration: fix ovsdpdk_mq_pvp_rxqs_testpmd
Parameters passed to testpmd are changed in DPDK 18.11. Setting stat-qmap does not work from command line it can be set only from testpmd application before port forwarding is started. Decrease frame rate on traffic generator to receive traffic on two queues. Change-Id: I82b8e478226d59b091154d325afed07327908250 Signed-off-by: Lukasz Pawlik <lukaszx.pawlik@intel.com>
Diffstat (limited to 'conf/__init__.py')
-rw-r--r--conf/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/__init__.py b/conf/__init__.py
index 83c5475f..6dff8360 100644
--- a/conf/__init__.py
+++ b/conf/__init__.py
@@ -256,6 +256,9 @@ class Settings(object):
Expand VM option with given key for given number of VMs
"""
tmp_value = self.getValue(key)
+ # skip empty/not set value
+ if not tmp_value:
+ return
if isinstance(tmp_value, str):
scalar = True
master_value = tmp_value