From 5a67813844dd4831a1a68f739e03a073473f3206 Mon Sep 17 00:00:00 2001 From: hongyuzhao Date: Wed, 31 Jul 2019 15:24:10 +0800 Subject: fix the bug for table NFVO_NSINST field status update incorrect Change-Id: I68de793dfb3e3b857ad2fab1bccc9a7fe601b23a Issue-ID: VFC-1463 Signed-off-by: hongyuzhao --- lcm/ns/biz/ns_terminate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcm/ns/biz/ns_terminate.py b/lcm/ns/biz/ns_terminate.py index 53973d3e..30fbd4c9 100644 --- a/lcm/ns/biz/ns_terminate.py +++ b/lcm/ns/biz/ns_terminate.py @@ -54,7 +54,7 @@ class TerminateNsService(threading.Thread): self.cancel_vl_list() self.cancel_pnf_list() - NSInstModel.objects.filter(id=self.ns_inst_id).update(status='null') + NSInstModel.objects.filter(id=self.ns_inst_id).update(status='NOT_INSTANTIATED') JobUtil.add_job_status(self.job_id, JOB_PROGRESS.FINISHED, "ns terminate ends.", '') NsLcmOpOcc.update(self.occ_id, "COMPLETED") except NSLCMException as e: -- cgit 1.2.3-korg