X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2Fns.py;h=43e699f3754b39ede549f5404bf5166b455a4ac3;hb=refs%2Fchanges%2F85%2F14285%2F2;hp=986d5deb2caf38945e87717ddb7320dbf5e09e37;hpb=0ee777934b4c165578dd7c0ab411c710a16bb90d;p=osm%2FLCM.git diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index 986d5de..43e699f 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -8079,6 +8079,15 @@ class NsLcm(LcmBase): ) finally: error_list = list() + if db_vnfrs_list and target_list: + for vnfrs in db_vnfrs_list: + for vnf_instance in target_list: + if vnfrs["_id"] == vnf_instance.get("vnfInstanceId"): + self.db.set_list( + "vnfrs", + {"_id": vnfrs["_id"]}, + {"_admin.modified": time()}, + ) if exc: error_list.append(str(exc)) try: