1 heat_template_version: pike
4 Creates a port on the {{network.name}} network. The IP address will be chosen
5 automatically if FixedIPs is empty.
8 {{network.name}}NetName:
9 description: The name of the {{network.name_lower}} network.
10 default: {{network.name_lower|default(network.name|lower)}}
13 description: Name of the port
16 ControlPlaneIP: # Here for compatibility with noop.yaml
17 description: IP address on the control plane
20 ControlPlaneNetwork: # Here for compatibility with ctlplane_vip.yaml
21 description: The name of the undercloud Neutron control plane
26 Control the IP allocation for the VIP port. E.g.
27 [{'ip_address':'1.2.3.4'}]
30 IPPool: # Here for compatibility with from_pool.yaml
33 NodeIndex: # Here for compatibility with from_pool.yaml
40 type: OS::Neutron::Port
42 network: {get_param: {{network.name}}NetName}
43 name: {get_param: PortName}
44 fixed_ips: {get_param: FixedIPs}
45 replacement_policy: AUTO
49 description: {{network.name}} network IP
50 value: {get_attr: [{{network.name}}Port, fixed_ips, 0, ip_address]}
52 {%- if network.ipv6 or ipv6_override|default(false) %}
53 description: {{network.name}} network IP (with brackets for IPv6 URLs)
58 - {get_attr: [{{network.name}}Port, fixed_ips, 0, ip_address]}
61 description: {{network.name}} network IP (for compatibility with IPv6 URLs)
62 value: {get_attr: [{{network.name}}Port, fixed_ips, 0, ip_address]}
65 description: IP/Subnet CIDR for the {{network.name}} network IP
69 - - {get_attr: [{{network.name}}Port, fixed_ips, 0, ip_address]}
71 - {str_split: ['/', {get_attr: [{{network.name}}Port, subnets, 0, cidr]}, 1]}