Browse Source

Merge "Added network enabled check in multiple nic role rendering file"

changes/11/555011/4
Zuul 4 years ago committed by Gerrit Code Review
parent
commit
08053924d8
  1. 2
      network/config/multiple-nics/role.role.j2.yaml

2
network/config/multiple-nics/role.role.j2.yaml

@ -84,7 +84,7 @@ resources:
get_param: ControlPlaneDefaultRoute
{%- endif %}
{%- 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 in role.networks %}
- type: interface

Loading…
Cancel
Save