]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Make sure that gateway is in CIDR range by default
authorAssaf Muller <amuller@redhat.com>
Wed, 7 May 2014 15:05:42 +0000 (18:05 +0300)
committerAssaf Muller <amuller@redhat.com>
Wed, 30 Jul 2014 11:53:00 +0000 (14:53 +0300)
commit0e44b7b5418c400af7358a5391f350f2f737929e
treeccfc6dfa5f1ff880a0cb3cdebbfba641f2f9bf4a
parent4e1ff7bba220eecea9a1d3c800baa32f141b70af
Make sure that gateway is in CIDR range by default

Git commit c3706fa2 introduced the force_gateway_on_subnet
option that verified that the defined gateway is in the CIDR
range of a newly created or updated subnet. However, the default
value was False for backwards compatability reasons. The default
will change to True and the option will be marked as deprecated.

For IPv6, the gateway must be in the CIDR only if the gateway
is not a link local address.

DocImpact
Change-Id: I04fd1caec6da5dceee3f736b3f91f2468150ba2a
Closes-Bug: #1304181
etc/neutron.conf
neutron/common/config.py
neutron/db/db_base_plugin_v2.py
neutron/tests/unit/ml2/test_ml2_plugin.py
neutron/tests/unit/nuage/test_nuage_plugin.py
neutron/tests/unit/oneconvergence/test_nvsd_plugin.py
neutron/tests/unit/test_db_plugin.py
neutron/tests/unit/test_l3_plugin.py