Fix extra node name parsing for alltls job
since https://review.rdoproject.org/r/24069 merged we need to change the parsing of node name Change-Id: I36ea446292af345832f4ccbbbc5ba017f4a37024
This commit is contained in:
parent
a9468d240a
commit
b32ea086df
@ -26,7 +26,10 @@ for node in data['nodes']:
|
|||||||
node_name = node['name']
|
node_name = node['name']
|
||||||
# NOTE: `nodes` and `network_details` dictionaries
|
# NOTE: `nodes` and `network_details` dictionaries
|
||||||
# vary node name by swapping the final '-' for a '_'
|
# vary node name by swapping the final '-' for a '_'
|
||||||
corrected_name = right_replace(node_name, '-', '_', 1)
|
corrected_name = right_replace(
|
||||||
|
node_name, '-', '_', 4).replace(
|
||||||
|
"_extra", "-extra").replace(
|
||||||
|
'baremetal_', 'baremetal-')
|
||||||
extra_node_networks = data['network_details'][
|
extra_node_networks = data['network_details'][
|
||||||
corrected_name]['ips'].keys()
|
corrected_name]['ips'].keys()
|
||||||
for network in extra_node_networks:
|
for network in extra_node_networks:
|
||||||
|
Loading…
Reference in New Issue
Block a user