Checking vm_reachability in delete path unnecessarily holds pecan context and sometimes could not
reply proxy agent because of the polling event going on in delete path. So removing
vm_reachability check in delete path

Change-Id: I8d2eda7dcc1134cadec3b2f461e581ece414eb32
This commit is contained in:
hitesh hapani 2017-06-23 12:16:29 +05:30 committed by hitesh
parent dc25f71543
commit 95e7d872ee

View File

@ -174,10 +174,7 @@ class Controller(base_controller.BaseController):
LOG.info(msg3)
device_ip = context['device_ip']
ip = str(device_ip)
resource_id = (context['nfp_context']['nfp_context']['id']
if context.get('nfp_context') and
context['nfp_context'].get('nfp_context') else '')
if operation == 'delete' and resource_id == 'PERFORM_CLEAR_HM':
if operation == 'delete':
return
msg5 = ("Verifying vm reachability on ip: %s, port: %s" % (
ip, self.vm_port))