]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Track allocation_pools in SubnetRequest
authorPavel Bondar <pbondar@infoblox.com>
Thu, 2 Jul 2015 08:35:18 +0000 (11:35 +0300)
committerPavel Bondar <pbondar@infoblox.com>
Tue, 7 Jul 2015 08:47:28 +0000 (11:47 +0300)
commit8b13609edac2c136e1a0acbc05ad93059bb59fc1
tree3ee983b39a9028d03f355983e94f853b08ea51f2
parent678ddf4f18f6f3eca7ab2ce13cb4a8fdd655e0d5
Track allocation_pools in SubnetRequest

To keep pluggable and non-pluggable ipam implementation consistent
non-pluggable one has to be switched to track allocation_pools and
gateway_ip using SubnetRequests.
SubnetRequest requires allocation_pools to be list of IPRanges.
Previously allocation_pools were tracked as list of dicts.
So allocation_pools generating and validating was moved before
SubnetRequest is created.

Partially-Implements: blueprint neutron-ipam

Change-Id: I8d2fec3013b302db202121f946b53a0610ae8321
neutron/db/db_base_plugin_common.py
neutron/db/ipam_backend_mixin.py
neutron/db/ipam_non_pluggable_backend.py
neutron/ipam/__init__.py
neutron/tests/unit/agent/test_securitygroups_rpc.py
neutron/tests/unit/db/test_db_base_plugin_v2.py