]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Allocation pool creation should check if gateway is in subnet
authorGary Kotton <gkotton@redhat.com>
Wed, 5 Sep 2012 08:19:40 +0000 (04:19 -0400)
committerGary Kotton <gkotton@redhat.com>
Thu, 6 Sep 2012 12:16:42 +0000 (08:16 -0400)
commitf25b4f17fbd56fb0b78943d0e828fac80a5aa7fe
tree607b1fb4a560f58b172543ded18939b929cad31c
parent0f4b24a2bf1dddaa892e6b749a6a305e53446757
Allocation pool creation should check if gateway is in subnet

Fixes bug 1046192

If the configured gateway is not in the subnet then it should not be
used for the allocation pool creation.

Change-Id: Ifba766a13d860b58d21034db278c6b24d4c126e7
quantum/db/db_base_plugin_v2.py
quantum/tests/unit/test_db_plugin.py