Merge "Fix network-isolation.j2.yaml to ignore VIPs for disabled networks"

This commit is contained in:
Jenkins 2017-08-02 01:35:47 +00:00 committed by Gerrit Code Review
commit d8649e0252

View File

@ -17,7 +17,7 @@ resource_registry:
{%- endfor %}
# 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
{%- endfor %}
OS::TripleO::Network::Ports::RedisVipPort: ../network/ports/vip.yaml