]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
add test for create subnet with default gateway and conflict allocation pool
authorHe Jie Xu <xuhj@linux.vnet.ibm.com>
Sat, 13 Oct 2012 10:00:20 +0000 (18:00 +0800)
committerHe Jie Xu <xuhj@linux.vnet.ibm.com>
Sat, 13 Oct 2012 23:54:06 +0000 (07:54 +0800)
commitbcb30fcc6675473a08c0e97eaec5fd8f15e0fb72
tree2bf1ad4df5eb47f8dfe2881196c9e70d4783b8ec
parent12ed618200cd265df24a6c0512e59c9e426a3c33
add test for create subnet with default gateway and conflict allocation pool

Create subnet with default gateway and conflict allocation pool should return
status code 409:
$ quantum subnet-create net1 --allocation-pool start=10.0.0.1,end=10.0.0.5 \
10.0.0.0/24
Found overlapping allocation pools:{u'start': u'10.0.0.1',
u'end': u'10.0.0.5'} 10.0.0.1 for subnet 10.0.0.0/24.

Change-Id: I8608314ad7899a752eea239dbe224e25c00a375b
quantum/tests/unit/test_db_plugin.py