From b021526d62e9c8bb60a72e50dd63a70c222e0587 Mon Sep 17 00:00:00 2001 From: "ying.yunlong" Date: Wed, 6 Dec 2017 09:04:44 +0800 Subject: Fix vfc-lcm log bug Change-Id: I371dcf302ab13b8c34cdfddf3e45efb0c4c4cbf4 Issue-ID: VFC-602 Signed-off-by: ying.yunlong --- lcm/ns/vnfs/notify_lcm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcm/ns/vnfs/notify_lcm.py b/lcm/ns/vnfs/notify_lcm.py index ee4c5ee2..f494443b 100644 --- a/lcm/ns/vnfs/notify_lcm.py +++ b/lcm/ns/vnfs/notify_lcm.py @@ -88,7 +88,6 @@ class NotifyLcm(object): instid=self.vnf_instid, vmname=vmName, hostid='1').save() if REPORT_TO_AAI: self.create_vserver_in_aai(vimId, vmId, vmName) - logger.debug("Success to create all vserver to aai.") elif changeType == 'removed': VNFCInstModel.objects.filter(vnfcinstanceid=vnfcInstanceId).delete() elif changeType == 'modified': @@ -97,6 +96,7 @@ class NotifyLcm(object): vmid=vmId) else: self.exception('affectedVnfc struct error: changeType not in {added,removed,modified}') + logger.debug("Success to create all vserver to aai.") def update_Vl(self): for vl in self.affectedVl: -- cgit 1.2.3-korg