1 heat_template_version: pike
3 description: Create networks to split out Overcloud traffic
7 {%- for network in networks %}
8 {%- if network.name != 'InternalApi' %}
9 {{network.name}}Network:
13 type: OS::TripleO::Network::{{network.name}}
17 type: OS::TripleO::Network::ExtraConfig
23 # NOTE(gfidente): we need to replace the null value with a
24 # string to work around https://bugs.launchpad.net/heat/+bug/1700025
25 {%- for network in networks %}
26 {%- if network.name != 'InternalApi' %}
27 {{network.name_lower}}:
29 data: {get_attr: [{{network.name}}Network, subnet_cidr]}
30 expression: str($.data).replace('null', 'disabled')
32 {{network.name_lower}}:
34 data: {get_attr: [InternalNetwork, subnet_cidr]}
35 expression: str($.data).replace('null', 'disabled')