diff options
Diffstat (limited to 'lcm/ns/vls/delete_vls.py')
-rw-r--r-- | lcm/ns/vls/delete_vls.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lcm/ns/vls/delete_vls.py b/lcm/ns/vls/delete_vls.py index 3402016f..1ae5e66c 100644 --- a/lcm/ns/vls/delete_vls.py +++ b/lcm/ns/vls/delete_vls.py @@ -92,12 +92,8 @@ class DeleteVls(object): # delete network from aai resp_data, resp_status = delete_network_aai(self.vl_inst_id, resource_version) - if resp_data: - logger.debug("Fail to delete network[%s] from aai, resp_status: [%s]." - % (self.vl_inst_id, resp_status)) - else: - logger.debug("Success to delete network[%s] from aai, resp_status: [%s]." - % (self.vl_inst_id, resp_status)) + logger.debug("Success to delete network[%s] from aai, resp_status: [%s]." + % (self.vl_inst_id, resp_status)) except NSLCMException as e: logger.debug("Fail to delete network[%s] to aai, detail message: %s" % (self.vl_inst_id, e.message)) except: |