The bug noticed that an admin user could delete a port that stored
the underlying IP allocation for a floating IP. This patch prevents
the direction deletion of ports via the API for ports that are used as
router interfaces, router gateways, of for floating IPs.
Add a unit test to check such an invalid delete, and also updates
unit tests to avoid them tripping over the new checks.
Reviewed: https:/ /review. openstack. org/11834 github. com/openstack/ quantum/ commit/ 8fb4e6efe8dcf19 87d41917f71da8d b345647321
Committed: http://
Submitter: Jenkins
Branch: master
commit 8fb4e6efe8dcf19 87d41917f71da8d b345647321
Author: Dan Wendlandt <email address hidden>
Date: Fri Aug 31 04:29:12 2012 -0700
prevent invalid deletion of ports using by L3 devices
bug 1039947
The bug noticed that an admin user could delete a port that stored
the underlying IP allocation for a floating IP. This patch prevents
the direction deletion of ports via the API for ports that are used as
router interfaces, router gateways, of for floating IPs.
Add a unit test to check such an invalid delete, and also updates
unit tests to avoid them tripping over the new checks.
Change-Id: Ief28e318158342 8d55259275a7c21 151a4a4fa9b