Configure subnets CIDR for BGP tests
The patch configures CIDR for subnets used in BGP tests because
when these tests are run simulteniuosly they tries to use the same
CIDR and fail with error "Available CIDR for subnet creation could not be found".
Related-PRODX: PRODX-30128
Change-Id: Ibfd1dbbbfa77f71cddfb3f40bcab957da4bcb8e5
diff --git a/neutron_tempest_plugin/neutron_dynamic_routing/api/test_bgp_speaker_extensions.py b/neutron_tempest_plugin/neutron_dynamic_routing/api/test_bgp_speaker_extensions.py
index 83b283e..c5c1646 100644
--- a/neutron_tempest_plugin/neutron_dynamic_routing/api/test_bgp_speaker_extensions.py
+++ b/neutron_tempest_plugin/neutron_dynamic_routing/api/test_bgp_speaker_extensions.py
@@ -241,7 +241,7 @@
address_scope_id=addr_scope1['id'],
prefixes=['8.0.0.0/8'])
self.create_subnet({'id': ext_net['id']},
- cidr=netaddr.IPNetwork('8.0.0.0/24'),
+ cidr=netaddr.IPNetwork('8.1.0.0/24'),
ip_version=4,
client=self.admin_client,
subnetpool_id=ext_subnetpool['id'])
@@ -268,7 +268,7 @@
address_scope_id=addr_scope1['id'],
prefixes=['8.0.0.0/8'])
self.create_subnet({'id': ext_net['id']},
- cidr=netaddr.IPNetwork('8.0.0.0/24'),
+ cidr=netaddr.IPNetwork('8.2.0.0/24'),
ip_version=4,
client=self.admin_client,
subnetpool_id=ext_subnetpool['id'])