Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ data:
rhos-release {{ cifmw_repo_setup_rhos_release_args }}
nodes:
{% for host in cifmw_networking_env_definition.instances.keys() if host is match('^leaf0-.*') %}
{% set idx = host.split('-')[1] %}
{% set idx = host.split('-')[-1] %}
{% set compute_name = 'edpm-compute-0-' ~ idx %}
{% set ip = cifmw_networking_env_definition.instances[host].networks.ctlplane1.ip_v4 %}
{% set ctlplane_ip = cifmw_networking_env_definition.instances[host].networks.ctlplane.ip_v4 | default(ip) %}
Expand Down Expand Up @@ -56,7 +56,7 @@ data:
rhos-release {{ cifmw_repo_setup_rhos_release_args }}
nodes:
{% for host in cifmw_networking_env_definition.instances.keys() if host is match('^leaf1-.*') %}
{% set idx = host.split('-')[1] %}
{% set idx = host.split('-')[-1] %}
{% set compute_name = 'edpm-compute-1-' ~ idx %}
{% set ip = cifmw_networking_env_definition.instances[host].networks.ctlplane2.ip_v4 %}
{% set ctlplane_ip = cifmw_networking_env_definition.instances[host].networks.ctlplane.ip_v4 | default(ip) %}
Expand Down
Loading