Disable subnet CIDR reservation
Reserving subnet CIDR make impossible to reuse the same CIDR for a subnet twice for the test case class. Change-Id: Ia32f0e3fea509d1eb0074f5d4bdaf5b02b6dcae0 Depends-On: I421dd28999086ee0af9246121f4f033291e341b4 Closes-Bug: #1766702
This commit is contained in:
parent
04bcb0853c
commit
26bfa08b23
@ -195,7 +195,8 @@ class BgpSpeakerScenarioTestJSONBase(base.BaseAdminNetworkTest):
|
|||||||
mask_bits=exsubnet.mask,
|
mask_bits=exsubnet.mask,
|
||||||
ip_version=ip_version,
|
ip_version=ip_version,
|
||||||
client=self.admin_client,
|
client=self.admin_client,
|
||||||
subnetpool_id=ext_subnetpool['id'])
|
subnetpool_id=ext_subnetpool['id'],
|
||||||
|
reserve_cidr=False)
|
||||||
# tenant network
|
# tenant network
|
||||||
tenant_subnetpool = self.create_subnetpool(
|
tenant_subnetpool = self.create_subnetpool(
|
||||||
tpool.name,
|
tpool.name,
|
||||||
@ -209,7 +210,8 @@ class BgpSpeakerScenarioTestJSONBase(base.BaseAdminNetworkTest):
|
|||||||
cidr=netaddr.IPNetwork(tsubnet.cidr),
|
cidr=netaddr.IPNetwork(tsubnet.cidr),
|
||||||
mask_bits=tsubnet.mask,
|
mask_bits=tsubnet.mask,
|
||||||
ip_version=ip_version,
|
ip_version=ip_version,
|
||||||
subnetpool_id=tenant_subnetpool['id'])
|
subnetpool_id=tenant_subnetpool['id'],
|
||||||
|
reserve_cidr=False)
|
||||||
# router
|
# router
|
||||||
ext_gw_info = {'network_id': ext_net_id}
|
ext_gw_info = {'network_id': ext_net_id}
|
||||||
router_cr = self.admin_client.create_router(
|
router_cr = self.admin_client.create_router(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user