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:
dd8b0a6
)
Bug 2160 fixed: verifying if VDUR exists within the method update_ns_vld_target
41/12541/3
author
Pedro Escaleira
<escaleira@av.it.pt>
Sun, 11 Sep 2022 23:14:41 +0000
(
00:14
+0100)
committer
cubag
<gcuba@whitestack.com>
Fri, 4 Nov 2022 17:14:18 +0000
(18:14 +0100)
Change-Id: I2f3ce8a8b32a2bc72e5e3022dd88c120300e2b29
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
osm_lcm/ns.py
patch
|
blob
|
history
diff --git
a/osm_lcm/ns.py
b/osm_lcm/ns.py
index
7b59ea8
..
6a764f0
100644
(file)
--- a/
osm_lcm/ns.py
+++ b/
osm_lcm/ns.py
@@
-889,6
+889,8
@@
class NsLcm(LcmBase):
None,
)
vdur = next((vdur for vdur in target_vnf.get("vdur", ())), None)
+ if not vdur:
+ return
for a_index, a_vld in enumerate(target["ns"]["vld"]):
target_vld = find_in_list(
get_iterable(vdur, "interfaces"),