projects
/
osm
/
LCM.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0f83a3
)
Fixes 1440 with proper iteration of dict
47/10447/1
author
garciaale
<agarcia@whitestack.com>
Tue, 2 Mar 2021 13:49:28 +0000
(10:49 -0300)
committer
garciaale
<agarcia@whitestack.com>
Wed, 3 Mar 2021 18:18:25 +0000
(19:18 +0100)
Change-Id: If1cdf143aaebb8c5246a8cae6cc6aff239ab0637
Signed-off-by: garciaale <agarcia@whitestack.com>
(cherry picked from commit
04694c678958696bbdb0a09b43e679b2548acf0e
)
osm_lcm/ns.py
patch
|
blob
|
history
diff --git
a/osm_lcm/ns.py
b/osm_lcm/ns.py
index
75db8e5
..
a006f8e
100644
(file)
--- a/
osm_lcm/ns.py
+++ b/
osm_lcm/ns.py
@@
-595,7
+595,7
@@
class NsLcm(LcmBase):
for param in ("vim-network-name", "vim-network-id"):
if vld_params.get(param):
if isinstance(vld_params[param], dict):
- for vim, vim_net in vld_params[param]:
+ for vim, vim_net in vld_params[param]
.items()
:
other_target_vim = "vim:" + vim
populate_dict(target_vld["vim_info"], (other_target_vim, param.replace("-", "_")), vim_net)
else: # isinstance str