diff options
author | Fu Jinhua <fu.jinhua@zte.com.cn> | 2017-12-06 01:12:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-12-06 01:12:51 +0000 |
commit | c365977d1cac9e5646efb16cc410cb443d0a7292 (patch) | |
tree | 990af74641ae76413f513a8d5638854b262befa0 | |
parent | d2262c1bc884321e38427d9c415f90760bed42d9 (diff) | |
parent | b021526d62e9c8bb60a72e50dd63a70c222e0587 (diff) |
Merge "Fix vfc-lcm log bug"
-rw-r--r-- | lcm/ns/vnfs/notify_lcm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/ns/vnfs/notify_lcm.py b/lcm/ns/vnfs/notify_lcm.py index 49a4e72b..f2007f31 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: |