Bug 2237 fixed: added a continue to the vdur verification in the update_ns_vld_target... 73/13673/1
authorPedro Escaleira <escaleira@av.it.pt>
Thu, 20 Apr 2023 14:22:16 +0000 (15:22 +0100)
committercubag <gcuba@whitestack.com>
Fri, 14 Jul 2023 17:45:37 +0000 (19:45 +0200)
Change-Id: I2919d846d35a115e9b884ba333a7501b780d1f5b
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
osm_lcm/ns.py

index 7a73326..a3cdb74 100644 (file)
@@ -904,7 +904,7 @@ class NsLcm(LcmBase):
                     )
                     vdur = next((vdur for vdur in target_vnf.get("vdur", ())), None)
                     if not vdur:
-                        return
+                        continue
                     for a_index, a_vld in enumerate(target["ns"]["vld"]):
                         target_vld = find_in_list(
                             get_iterable(vdur, "interfaces"),