]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Prevent floating-ip and ex-gateway ports should prevent net deletion
authorDan Wendlandt <dan@nicira.com>
Sun, 9 Sep 2012 14:53:37 +0000 (07:53 -0700)
committerDan Wendlandt <dan@nicira.com>
Sun, 9 Sep 2012 14:53:37 +0000 (07:53 -0700)
commit99f8912283332f76bc20d8094e6dd1187932adc1
tree598a546f386208a28c9e9e9cf5276397fe2a5473
parent32d0f9c717772055923672b360e4b8c080c7ade7
Prevent floating-ip and ex-gateway ports should prevent net deletion

bug 1044331

Old behavior meant that any port with device owner starting with
"network:" would be auto-deleted when a network was deleted.  We don't
want that behavior for floating IPs or external network gateways.
This provides a model where we explicitly list the set of owners that
should be auto-deleted.

- Also clean up NetworkInUse message to no longer mention 'attachment',
since that is API v1 terminology.

Change-Id: Icb727ae86d490456ec1ebc55cec1bf98ae6490c9
quantum/common/exceptions.py
quantum/db/db_base_plugin_v2.py