Added network enabled check in multiple nic role rendering file
Without this check, even though network is disabled in network_data file, network configuration is present in role file. Change-Id: I03c361f3549f2d0bb9367f7fcd77349b3249fa70 Closes-Bug: 1761484
This commit is contained in:
parent
e57e2e871b
commit
1cc26fba5b
|
@ -84,7 +84,7 @@ resources:
|
||||||
get_param: ControlPlaneDefaultRoute
|
get_param: ControlPlaneDefaultRoute
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- set nics_used = [1] %}
|
{%- set nics_used = [1] %}
|
||||||
{%- for network in networks if network.name not in role.networks_skip_config|default([]) %}
|
{%- for network in networks if network.enabled|default(true) and network.name not in role.networks_skip_config|default([]) %}
|
||||||
{%- if network.name not in ["External", "Tenant"] %}
|
{%- if network.name not in ["External", "Tenant"] %}
|
||||||
{%- if network.name in role.networks %}
|
{%- if network.name in role.networks %}
|
||||||
- type: interface
|
- type: interface
|
||||||
|
|
Loading…
Reference in New Issue