Merge "NSX|V remove warning on no dhcp edge"

This commit is contained in:
Zuul 2017-10-24 11:15:09 +00:00 committed by Gerrit Code Review
commit f0da56a1c2

View File

@ -1861,9 +1861,9 @@ class EdgeManager(object):
{'edge_id': edge_id, {'edge_id': edge_id,
'port_id': port_id}) 'port_id': port_id})
else: else:
LOG.warning("Failed to find edge_id to delete dhcp " # This happens during network/subnet deletion
"binding for port %(port_id)s", LOG.info("Didn't delete dhcp binding for port %(port_id)s: "
{'port_id': port_id}) "No edge id", {'port_id': port_id})
@vcns.retry_upon_exception(nsxapi_exc.VcnsApiException, max_delay=10) @vcns.retry_upon_exception(nsxapi_exc.VcnsApiException, max_delay=10)
def _create_dhcp_binding(self, context, edge_id, binding): def _create_dhcp_binding(self, context, edge_id, binding):