1 heat_template_version: 2015-04-30
4 Creates a port on the tenant network.
8 description: Name of the tenant neutron network
12 description: Name of the port
15 ControlPlaneIP: # Here for compatability with noop.yaml
16 description: IP address on the control plane
20 Control the IP allocation for the VIP port. E.g.
21 [{'ip_address':'1.2.3.4'}]
28 type: OS::Neutron::Port
30 network: {get_param: TenantNetName}
31 name: {get_param: PortName}
32 fixed_ips: {get_param: FixedIPs}
33 replacement_policy: AUTO
37 description: tenant network IP
38 value: {get_attr: [TenantPort, fixed_ips, 0, ip_address]}
40 # FIXME: this assumes a 2 digit subnet CIDR (need more heat functions?)
41 description: IP/Subnet CIDR for the tenant network IP
45 - - {get_attr: [TenantPort, fixed_ips, 0, ip_address]}
47 - {get_attr: [TenantPort, subnets, 0, cidr, -2]}
48 - {get_attr: [TenantPort, subnets, 0, cidr, -1]}