summaryrefslogtreecommitdiffstats
path: root/nfvbench/config.py
diff options
context:
space:
mode:
authorahothan <ahothan@cisco.com>2019-04-14 22:23:50 -0700
committerahothan <ahothan@cisco.com>2019-04-14 23:15:36 -0700
commite7fdfb5c5e386bb8851b6c583c44ae61bd188627 (patch)
treefb809778f7e17d8e079edc6330647fbb33168f88 /nfvbench/config.py
parentbb04d1d32543b4e00400dbd736d4d48dc195a0b7 (diff)
NFVBENCH-131 Allow list of arbitrary network names for EXT chains
Change-Id: Ide9ee9999242f449c57e40ce2c3bb147bb795452 Signed-off-by: ahothan <ahothan@cisco.com>
Diffstat (limited to 'nfvbench/config.py')
-rw-r--r--nfvbench/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nfvbench/config.py b/nfvbench/config.py
index 5feeda5..0f0d64a 100644
--- a/nfvbench/config.py
+++ b/nfvbench/config.py
@@ -43,7 +43,7 @@ def config_loads(cfg_text, from_cfg=None, whitelist_keys=None):
"""Same as config_load but load from a string
"""
try:
- cfg = AttrDict(yaml.load(cfg_text))
+ cfg = AttrDict(yaml.safe_load(cfg_text))
except TypeError:
# empty string
cfg = AttrDict()