X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2Fns.py;h=fb1478ebdc3fed568636e5bf869f7d8c290b0fe5;hb=364c457fda3b41bc8e84b8247a29f7e55d7f3d43;hp=1f97761dc4457e30c35a4c6891bdf81e331bebb7;hpb=c295040b0646329d60e7def201866df3df9fef8f;p=osm%2FLCM.git diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index 1f97761..fb1478e 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -2297,7 +2297,7 @@ class NsLcm(LcmBase): db_nsr = self.db.get_one("nsrs", {"_id": nsr_id}) # for each defined NS relation, find the VCA's related - for r in ns_relations: + for r in ns_relations.copy(): from_vca_ee_id = None to_vca_ee_id = None from_vca_endpoint = None @@ -2342,7 +2342,7 @@ class NsLcm(LcmBase): pass # for each defined VNF relation, find the VCA's related - for r in vnf_relations: + for r in vnf_relations.copy(): from_vca_ee_id = None to_vca_ee_id = None from_vca_endpoint = None