Browse Source

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
changes/42/567742/1 13.0.0.0b2
Federico Ressi 3 years ago
parent
commit
26bfa08b23
  1. 6
      neutron_dynamic_routing/tests/tempest/scenario/base.py

6
neutron_dynamic_routing/tests/tempest/scenario/base.py

@ -195,7 +195,8 @@ class BgpSpeakerScenarioTestJSONBase(base.BaseAdminNetworkTest):
mask_bits=exsubnet.mask,
ip_version=ip_version,
client=self.admin_client,
subnetpool_id=ext_subnetpool['id'])
subnetpool_id=ext_subnetpool['id'],
reserve_cidr=False)
# tenant network
tenant_subnetpool = self.create_subnetpool(
tpool.name,
@ -209,7 +210,8 @@ class BgpSpeakerScenarioTestJSONBase(base.BaseAdminNetworkTest):
cidr=netaddr.IPNetwork(tsubnet.cidr),
mask_bits=tsubnet.mask,
ip_version=ip_version,
subnetpool_id=tenant_subnetpool['id'])
subnetpool_id=tenant_subnetpool['id'],
reserve_cidr=False)
# router
ext_gw_info = {'network_id': ext_net_id}
router_cr = self.admin_client.create_router(

Loading…
Cancel
Save