NSX|V3: Add retry logic for deleting logical router port
Change-Id: Ib765015cf545ffc117785b9eee9484479e502048
This commit is contained in:
parent
28fa681d9c
commit
cdde1ae270
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user