1 heat_template_version: 2015-04-30
4 Creates a port on the external network. The IP address will be chosen
5 automatically if FixedIPs is empty.
9 description: Name of the external neutron network
13 description: Name of the port
16 ControlPlaneIP: # Here for compatability with noop.yaml
17 description: IP address on the control plane
19 ControlPlaneNetwork: # Here for compatibility with ctlplane_vip.yaml
20 description: The name of the undercloud Neutron control plane
25 Control the IP allocation for the VIP port. E.g.
26 [{'ip_address':'1.2.3.4'}]
33 type: OS::Neutron::Port
35 network: {get_param: ExternalNetName}
36 name: {get_param: PortName}
37 fixed_ips: {get_param: FixedIPs}
38 replacement_policy: AUTO
42 description: external network IP
43 value: {get_attr: [ExternalPort, fixed_ips, 0, ip_address]}
45 # FIXME: this assumes a 2 digit subnet CIDR (need more heat functions?)
46 description: IP/Subnet CIDR for the external network IP
50 - - {get_attr: [ExternalPort, fixed_ips, 0, ip_address]}
52 - {get_attr: [ExternalPort, subnets, 0, cidr, -2]}
53 - {get_attr: [ExternalPort, subnets, 0, cidr, -1]}