fix usageState at PDU 81/7081/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 21 Dec 2018 13:09:52 +0000 (13:09 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 21 Dec 2018 13:09:52 +0000 (13:09 +0000)
Change-Id: I70a8302d1aadf2f6d3961e5997911655936c85d6
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_lcm/ns.py

index badef36..1aaf2c5 100644 (file)
@@ -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"