Merge "NSX|V3: Add retry logic for deleting logical router port"

This commit is contained in:
Jenkins 2016-09-18 08:14:25 +00:00 committed by Gerrit Code Review
commit 9a417dc977

View File

@ -397,6 +397,9 @@ class LogicalRouterPort(AbstractRESTResource):
# new revision_id
return self._client.update(logical_port_id, body=logical_router_port)
@utils.retry_upon_exception_nsxv3(
exceptions.StaleRevision,
max_attempts=cfg.CONF.nsx_v3.retries)
def delete(self, logical_port_id):
return self._client.url_delete(logical_port_id)