1 heat_template_version: pike
4 Creates a port on the {{network.name}} network, using a map of IPs per role.
5 Each role has a map of IPs in <Role>IPs parameters, with a list of IPs by
6 network (lower_name or lower case). For example:
9 - 1.2.3.4 # First controller
10 - 1.2.3.5 # Second controller
13 {{network.name}}NetName:
14 description: Name of the {{network.name}} neutron network
15 default: {{network.name_lower}}
18 description: Name of the port
21 ControlPlaneIP: # Here for compatibility with noop.yaml
22 description: IP address on the control plane
25 ControlPlaneNetwork: # Here for compatibility with ctlplane_vip.yaml
26 description: The name of the undercloud Neutron control plane
29 IPPool: # Set in <Role>IPs map, see environments/ips-from-pool-all.yaml
32 NodeIndex: # First node in the role will get first IP, and so on...
35 {{network.name}}NetCidr:
36 default: {{network.ip_subnet}}
37 description: Cidr for the {{network.name_lower}} network.
42 description: {{network.name}} network IP
43 value: {get_param: [IPPool, {get_param: {{network.name}}NetName}, {get_param: NodeIndex}]}
45 {%- if network.ipv6 %}
46 description: {{network.name}} network IP (with brackets for IPv6 URLs)
51 - {get_param: [IPPool, {get_param: {{network.name}}NetName}, {get_param: NodeIndex}]}
54 description: {{network.name}} network IP (for compatibility with {{network.name_lower}}_v6.yaml)
55 value: {get_param: [IPPool, {get_param: {{network.name}}NetName}, {get_param: NodeIndex}]}
58 description: IP/Subnet CIDR for the {{network.name}} network IP
62 - - {get_param: [IPPool, {get_param: {{network.name}}NetName}, {get_param: NodeIndex}]}
64 - {str_split: ['/', {get_param: {{network.name}}NetCidr}, 1]}