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.
8 ServiceName: # Here for compatibility with from_service.yaml
9 description: Name of the service to lookup
13 description: Name of the network where the VIP will be created
17 description: Name of the port
20 ControlPlaneIP: # Here for compatibility with noop.yaml
21 description: IP address on the control plane
25 description: The name of the undercloud Neutron control plane
30 Control the IP allocation for the VIP port. E.g.
31 [{'ip_address':'1.2.3.4'}]
37 type: OS::Neutron::Port
39 network: {get_param: NetworkName}
40 name: {get_param: PortName}
41 fixed_ips: {get_param: FixedIPs}
42 replacement_policy: AUTO
46 description: Virtual IP network IP
47 value: {get_attr: [VipPort, fixed_ips, 0, ip_address]}
49 # FIXME: this assumes a 2 digit subnet CIDR (need more heat functions?)
50 description: IP/Subnet CIDR for the network associated with this IP
54 - - {get_attr: [VipPort, fixed_ips, 0, ip_address]}
56 - {get_attr: [VipPort, subnets, 0, cidr, -2]}
57 - {get_attr: [VipPort, subnets, 0, cidr, -1]}