]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Do global CIDR check if overlapping IPs disabled.
authorSalvatore Orlando <salv.orlando@gmail.com>
Mon, 24 Sep 2012 23:20:35 +0000 (16:20 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Tue, 25 Sep 2012 14:49:21 +0000 (07:49 -0700)
commit95153e4e3eaa2738d532463a244ff923c73ec9ff
treed674e944d424ddd6974537ee0ad82319d96fa749
parent6194ab2becbd255e6b795c828844db2f3ab85659
Do global CIDR check if overlapping IPs disabled.

Fix bug 1055822

This patch adds a global configuration option for enabling or disabling
overlapping IPs for subnets in different networks.
If they are disabled, the validation of the CIDR against overlapping
ones should be performed globally and not just among subnets defined for
the current network.

Change-Id: If6a562324f0a5c3982591be8030c4628ec9007b6
etc/quantum.conf
quantum/common/config.py
quantum/db/db_base_plugin_v2.py
quantum/tests/unit/metaplugin/test_metaplugin.py
quantum/tests/unit/test_db_plugin.py
quantum/tests/unit/test_l3_plugin.py