X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2Fns.py;h=8f2b192a74cb1ef1c441a2ce00f1654e43e66de2;hb=ceb0386270a13ab6b68c3549c01813eb41c178a5;hp=20e813f94a36362e97d1aa9ac15f0bef74a80a28;hpb=0b430f6b3690b78474aca98d2112f20a9f56c8a4;p=osm%2FLCM.git diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index 20e813f..8f2b192 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -2999,6 +2999,9 @@ class NsLcm(LcmBase): cached_vnfds: Dict[str, Any], ) -> List[Relation]: relations = [] + if vca.target_element == "ns": + self.logger.debug("VCA is a NS charm, not a VNF.") + return relations vnf_profile = get_vnf_profile(nsd, vca.vnf_profile_id) vnf_profile_id = vnf_profile["id"] vnfd_id = vnf_profile["vnfd-id"]