Fix net_cidr_map in environments/deployed-network-environment.j2.yaml
With multiple subnets per network the net_cidr_map right now looks like: net_cidr_map: external: - 10.0.0.0/24 internal_api: - 172.17.0.0/24 internal_api: - 172.17.1.0/24 internal_api: - 172.17.2.0/24 storage: - 172.18.0.0/24 storage: - 172.18.1.0/24 storage: - 172.18.2.0/24 ... While it should be: net_cidr_map: external: - 10.0.0.0/24 internal_api: - 172.17.0.0/24 - 172.17.1.0/24 - 172.17.2.0/24 storage: - 172.18.0.0/24 - 172.18.1.0/24 - 172.18.2.0/24 ... Change-Id: I365e0e41ed78c79175d97f11c3a6fd69460bae5f
This commit is contained in:
parent
b36d30e898
commit
602de1af0b
|
@ -53,8 +53,8 @@ parameter_defaults:
|
|||
|
||||
net_cidr_map:
|
||||
{%- for network in networks if network.enabled|default(true) %}
|
||||
{%- for subnet in network.subnets %}
|
||||
{{ network.name_lower }}:
|
||||
{%- for subnet in network.subnets %}
|
||||
- {{ network.subnets[subnet].ip_subnet }}
|
||||
{%- endfor %}
|
||||
{%- endfor %}
|
||||
|
|
Loading…
Reference in New Issue