]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Decompose db_base_plugin_v2.py with changes
authorPavel Bondar <pbondar@infoblox.com>
Mon, 8 Jun 2015 11:15:30 +0000 (14:15 +0300)
committerJohn Belamaric <jbelamaric@infoblox.com>
Sat, 13 Jun 2015 04:14:29 +0000 (00:14 -0400)
commit9952abaab182f3ec701aad2397d6f3fcc0bacc7f
tree3965af32b743efdd1c8ebfbc42779ab53905516e
parentf12a65ad07a87fe98a9d47b9ccb96e97798e6371
Decompose db_base_plugin_v2.py with changes

This commit is a preparation step for using pluggable IPAM.
1. Moved get_subnets functionality to db_base_plugin_common to make it
accessible by ipam backends.
2. Reworked update_subnet routine:
- moved db part into update_db_subnet;

Partially-Implements: blueprint neutron-ipam

Change-Id: Idb8f54d9fccaad1137222d156590c37d86aa576b
neutron/db/db_base_plugin_common.py
neutron/db/db_base_plugin_v2.py
neutron/db/ipam_backend_mixin.py
neutron/db/ipam_non_pluggable_backend.py
neutron/tests/unit/db/test_db_base_plugin_v2.py