diff options
author | Pierrick Louin <pierrick.louin@orange.com> | 2020-11-10 04:27:47 +0100 |
---|---|---|
committer | fmenguy <francoisregis.menguy@orange.com> | 2021-03-05 09:48:00 +0100 |
commit | c9dd5277fe37ba1fb1366140c1b82890b6267e51 (patch) | |
tree | 17a05287267c9a3fd5155c7c4aa213b0ea8a4cf7 /nfvbench/chaining.py | |
parent | c1fc46a270a9e0e266f67f3e5a49c1fc66ec8c10 (diff) |
NFVBENCH-203: Make --show-config really print the actual running config
Add a --show-pre-config cmd to print the config before CLI override.
Signed-off-by: Pierrick Louin <pierrick.louin@orange.com>
Change-Id: I708498cf10eee043242cd975ab05bc44883bca4e
Diffstat (limited to 'nfvbench/chaining.py')
-rw-r--r-- | nfvbench/chaining.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nfvbench/chaining.py b/nfvbench/chaining.py index fea1c12..b983efb 100644 --- a/nfvbench/chaining.py +++ b/nfvbench/chaining.py @@ -1227,6 +1227,8 @@ class ChainManager(object): # if it is a single int or mac, make it a list of 1 int if isinstance(ll, (int, str)): ll = [ll] + else: + ll = list(ll) for item in ll: if not re.match(pattern, str(item)): raise ChainException("Invalid format '{item}' specified in {fname}" |