]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Decompose _create_subnet_from_pool
authorPavel Bondar <pbondar@infoblox.com>
Fri, 19 Jun 2015 14:58:57 +0000 (17:58 +0300)
committerPavel Bondar <pbondar@infoblox.com>
Mon, 22 Jun 2015 08:15:54 +0000 (08:15 +0000)
commitb9e551936410eca647b48c48f49f2b2be5d2d4a4
tree4e91beccbac03f5d6f714b7b8b3d955508b2b38f
parent29bb401973af81f4a4b8a667f8b7445e19e017da
Decompose _create_subnet_from_pool

Moved validations into separate methods:
- _validate_pools_with_subnetpool
Verifies that allocation pools are set only for specific subnet request.
For any subnet request allocation pools can not be set manually
- _validate_ip_version_with_subnetpool
Verifies that subnet has the same ip version as subnet pool

Partially-Implements: blueprint neutron-ipam

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