Fix network-isolation.j2.yaml to ignore VIPs for disabled networks
This change modifies network-isolation.j2.yaml to ignore VIPs for networks that are disabled. This fixes a bug where VIPs would be created in network-isolation.yaml even if a network was disabled. Change-Id: I331b8fec3847bce6ca6c22a9f173055121ef65c9
This commit is contained in:
parent
782f68c8fd
commit
48cf302fb9
@ -17,7 +17,7 @@ resource_registry:
|
|||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
# Port assignments for the VIPs
|
# Port assignments for the VIPs
|
||||||
{%- for network in networks if network.vip %}
|
{%- for network in networks if network.vip and network.enabled|default(true) %}
|
||||||
OS::TripleO::Network::Ports::{{network.name}}VipPort: ../network/ports/{{network.name_lower|default(network.name.lower())}}.yaml
|
OS::TripleO::Network::Ports::{{network.name}}VipPort: ../network/ports/{{network.name_lower|default(network.name.lower())}}.yaml
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
OS::TripleO::Network::Ports::RedisVipPort: ../network/ports/vip.yaml
|
OS::TripleO::Network::Ports::RedisVipPort: ../network/ports/vip.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user