From: tierno Date: Fri, 21 Dec 2018 13:09:52 +0000 (+0000) Subject: fix usageState at PDU X-Git-Tag: v5.0.3~8^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=7c76ad9242e92a917b700db41e044982666c9bda;p=osm%2FLCM.git fix usageState at PDU Change-Id: I70a8302d1aadf2f6d3961e5997911655936c85d6 Signed-off-by: tierno --- diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index badef36..1aaf2c5 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -1269,7 +1269,7 @@ class NsLcm(LcmBase): db_nslcmop_update.clear() self.db.del_list("vnfrs", {"nsr-id-ref": nsr_id}) self.db.set_list("pdus", {"_admin.usage.nsr_id": nsr_id}, - {"_admin.usageSate": "NOT_IN_USE", "_admin.usage": None}) + {"_admin.usageState": "NOT_IN_USE", "_admin.usage": None}) self.logger.debug(logging_text + "Delete from database") else: db_nsr_update["operational-status"] = "terminated"