]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Block subnet create when a network hosts subnets allocated from different pools
authorRyan Tidwell <ryan.tidwell@hp.com>
Mon, 4 May 2015 22:56:41 +0000 (15:56 -0700)
committerRyan Tidwell <rktidwell85@gmail.com>
Wed, 13 May 2015 22:23:58 +0000 (22:23 +0000)
commit251f551a5fe8fe05cdc8c9b9cfad357245b39bb9
tree92f5572b41e701af85648be5b081d1a2de147cf0
parent0933f26b2c9772c457bb259cff7c8f648d29f620
Block subnet create when a network hosts subnets allocated from different pools

This change will ensure that all subnets with the same ip_version on a given
network have been allocated from the same subnet pool or no pool. This
provides cleaner subnet overlap detection.

Change-Id: I3c7366c69b10c202c0511126fbee6b3aac36759e
Closes-Bug: #1451559
neutron/common/exceptions.py
neutron/db/db_base_plugin_v2.py
neutron/tests/api/test_subnetpools.py
neutron/tests/api/test_subnetpools_negative.py
neutron/tests/unit/db/test_db_base_plugin_v2.py