Skip to content
Snippets Groups Projects
Commit 46a01a6a authored by escaleira's avatar escaleira Committed by gcubae
Browse files

Bug 2160 fixed: verifying if VDUR exists within the method update_ns_vld_target


Change-Id: I2f3ce8a8b32a2bc72e5e3022dd88c120300e2b29
Signed-off-by: escaleira's avatarPedro Escaleira <escaleira@av.it.pt>
(cherry picked from commit aa366ed3)
parent 5ce6ea87
Branches v10.0
Tags v10.1.6
No related merge requests found
......@@ -840,6 +840,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"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment