]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Move _delete_port
authorPavel Bondar <pbondar@infoblox.com>
Thu, 18 Jun 2015 12:24:44 +0000 (15:24 +0300)
committerPavel Bondar <pbondar@infoblox.com>
Mon, 22 Jun 2015 08:09:16 +0000 (08:09 +0000)
commit29bb401973af81f4a4b8a667f8b7445e19e017da
treecef286fa3c8e4e895ba8002f6b99436d41de4447
parentc0ef7a8f4546cd3c081a61c742dd9ed70ec2c147
Move _delete_port

Pluggable ipam implementation will do additional actions on port
deletion (deallocate ip using ipam driver).
Existing _delete_port code will be resused.
Moving _delete_port to ipam_backend_mixin to make this code
accessible and extendable by both backends (pluggable and non
pluggable).

This commit is a preparation step before pluggable ipam implementation
can be used.

Partially-Implements: blueprint neutron-ipam

Change-Id: If6cd623aad9e5501a26e5fb8cdecd5f55e85cd05
neutron/db/db_base_plugin_v2.py
neutron/db/ipam_backend_mixin.py