Merge "NSX|V3: Add retry logic for deleting logical router port"
This commit is contained in:
commit
9a417dc977
@ -397,6 +397,9 @@ class LogicalRouterPort(AbstractRESTResource):
|
|||||||
# new revision_id
|
# new revision_id
|
||||||
return self._client.update(logical_port_id, body=logical_router_port)
|
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):
|
def delete(self, logical_port_id):
|
||||||
return self._client.url_delete(logical_port_id)
|
return self._client.url_delete(logical_port_id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user