summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-12-06 09:04:44 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-12-06 09:04:44 +0800
commitb021526d62e9c8bb60a72e50dd63a70c222e0587 (patch)
tree6bff626f91b03b68f4442fc0ac491b6ec7e5c452
parent6260d644ff043f8f132fa5a9165b34a8d781d5df (diff)
Fix vfc-lcm log bug
Change-Id: I371dcf302ab13b8c34cdfddf3e45efb0c4c4cbf4 Issue-ID: VFC-602 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
-rw-r--r--lcm/ns/vnfs/notify_lcm.py2
1 files changed, 1 insertions, 1 deletions
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: