Fix get subnet name in get_port_pool
Subnet name in the form of ns/{ns_name}-subnet was added This is the form in 3.11 Change-Id: I1d1e1a5fbc0cfe4de404089110b31c4eebd95e7b
This commit is contained in:
parent
76f0c5ac74
commit
3acaa0062a
@ -61,6 +61,7 @@ class TestPortPoolScenario(base.BaseKuryrScenarioTest):
|
||||
for subnet_name in (f'{ns_uid}/{ns_name}',
|
||||
f'{ns_name}/{ns_uid}',
|
||||
f'{ns_name}-subnet',
|
||||
f'ns/{ns_name}-subnet',
|
||||
ns_name):
|
||||
subnet_id = [n['id'] for n in subnets_list['subnets']
|
||||
if n['name'] == subnet_name]
|
||||
|
Loading…
Reference in New Issue
Block a user