1 heat_template_version: 2015-04-30
4 Creates a port on the storage_mgmt API network.
8 description: Name of the storage_mgmt API neutron network
12 description: Name of the port
15 ControlPlaneIP: # Here for compatibility with noop.yaml
16 description: IP address on the control plane
21 Control the IP allocation for the VIP port. E.g.
22 [{'ip_address':'1.2.3.4'}]
29 type: OS::Neutron::Port
31 network: {get_param: StorageMgmtNetName}
32 name: {get_param: PortName}
33 fixed_ips: {get_param: FixedIPs}
34 replacement_policy: AUTO
38 description: storage_mgmt network IP
39 value: {get_attr: [StorageMgmtPort, fixed_ips, 0, ip_address]}
41 # FIXME: this assumes a 2 digit subnet CIDR (need more heat functions?)
42 description: IP/Subnet CIDR for the storage_mgmt network IP
46 - - {get_attr: [StorageMgmtPort, fixed_ips, 0, ip_address]}
48 - {get_attr: [StorageMgmtPort, subnets, 0, cidr, -2]}
49 - {get_attr: [StorageMgmtPort, subnets, 0, cidr, -1]}