1 heat_template_version: 2015-04-30
4 Creates a port on the management network. The IP address will be chosen
5 automatically if FixedIPs is empty.
9 description: Name of the management neutron network
13 description: Name of the port
16 ControlPlaneIP: # Here for compatibility with noop.yaml
17 description: IP address on the control plane
23 type: OS::Neutron::Port
25 network: {get_param: ManagementNetName}
26 name: {get_param: PortName}
27 replacement_policy: AUTO
31 description: management network IP
32 value: {get_attr: [ManagementPort, fixed_ips, 0, ip_address]}
34 # FIXME: this assumes a 2 digit subnet CIDR (need more heat functions?)
35 description: IP/Subnet CIDR for the management network IP
39 - - {get_attr: [ManagementPort, fixed_ips, 0, ip_address]}
41 - {get_attr: [ManagementPort, subnets, 0, cidr, -2]}
42 - {get_attr: [ManagementPort, subnets, 0, cidr, -1]}