]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Bulk move methods to ipam_backend_mixin.py
authorPavel Bondar <pbondar@infoblox.com>
Tue, 23 Jun 2015 09:07:43 +0000 (12:07 +0300)
committerPavel Bondar <pbondar@infoblox.com>
Tue, 23 Jun 2015 10:49:00 +0000 (10:49 +0000)
commit277d89b67a6a8ea4f6a7bc216014d55ace5c1d2d
treef0b7b3f0308fe4b3db33be42cb0cd5f970ada5a2
parent23836f67163d80e268b5cf2866f647dd3d23d0db
Bulk move methods to ipam_backend_mixin.py

ipam_backend_mixin contains methods common for both backends:
pluggable and non-pluggable, so moving methods to make them accessible
by backends.
Next methods were moved from db_base_plugin_v2.py to
ipam_backend_mixin.py:
- _validate_subnet_cidr
- _validate_network_subnetpools
- _allocate_pools_for_subnet
- _save_subnet

This commit moves methods without any internal changes.
All future changes and decomposition of these methods will be handled in
next commits.

Partially-Implements: blueprint neutron-ipam

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