Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
L3 port delete prevention: do not raise if no IP on port
Bug #1104337 This patch alters the prevent_l3_port_deletion logic. PortInUse is raised only if the port has a device owner in (router_interface, router_gateway, floatingip) and an IP address. If no IP address is found on the port the port itself can be considered stale and therefore deleted as any association with l3 entities would be void. Change-Id: I9d711b2a9d2cbcc8be481f1751f51fe5b9f01327
- Loading branch information
1 parent
ccb847e
commit 921f203
Showing
2 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters