1 heat_template_version: 2015-04-30
4 Creates a port for a VIP on the isolated network NetworkName.
5 The IP address will be chosen automatically if FixedIPs is empty.
9 description: Name of the network where the VIP will be created
13 description: Name of the port
16 ControlPlaneIP: # Here for compatability with noop.yaml
17 description: IP address on the control plane
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'}]
32 type: OS::Neutron::Port
34 network: {get_param: NetworkName}
35 name: {get_param: PortName}
36 fixed_ips: {get_param: FixedIPs}
37 replacement_policy: AUTO
41 description: Virtual IP network IP
42 value: {get_attr: [VipPort, fixed_ips, 0, ip_address]}
44 # FIXME: this assumes a 2 digit subnet CIDR (need more heat functions?)
45 description: IP/Subnet CIDR for the network associated with this IP
49 - - {get_attr: [VipPort, fixed_ips, 0, ip_address]}
51 - {get_attr: [VipPort, subnets, 0, cidr, -2]}
52 - {get_attr: [VipPort, subnets, 0, cidr, -1]}