2 ## Copyright (c) 2010-2017 Intel Corporation
4 ## Licensed under the Apache License, Version 2.0 (the "License");
5 ## you may not use this file except in compliance with the License.
6 ## You may obtain a copy of the License at
8 ## http://www.apache.org/licenses/LICENSE-2.0
10 ## Unless required by applicable law or agreed to in writing, software
11 ## distributed under the License is distributed on an "AS IS" BASIS,
12 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ## See the License for the specific language governing permissions and
14 ## limitations under the License.
17 heat_template_version: 2016-04-08
18 description: RAPID stack (Rapid Automated Performance Indication for Dataplane)
22 label: Image name or ID
23 description: Image to be used for compute instance
28 description: Type of instance (flavor) to be used
33 description: Name of key-pair to be used for compute instance
37 label: Private network name or ID
38 description: Network to attach instance to.
39 default: dataplane-network
42 label: Private network name or ID
43 description: Network to attach instance to.
44 default: admin_internal_net
47 label: Floating network name or ID
48 description: Public Network to attach instance to.
49 default: admin_floating_net
52 description: The Availability Zone to launch the instance.
54 vm1_availability_zone:
56 description: The Availability Zone to launch the instance.
61 type: OS::Neutron::Port
63 network: {get_param: internal_network}
67 type: OS::Neutron::Port
69 network: {get_param: dataplane_network}
73 type: OS::Neutron::FloatingIP
75 floating_network: {get_param: floating_network}
76 port_id: {get_resource: vm1_admin_port}
78 type: OS::Nova::Server
80 availability_zone: { get_param: vm1_availability_zone }
82 get_file: prox_user_data.sh
83 key_name: { get_param: key }
84 image: { get_param: image }
85 flavor: { get_param: flavor }
87 - port: {get_resource: vm1_admin_port}
88 - port: {get_resource: vm1_dataplane_port}
90 type: OS::Neutron::Port
92 network: {get_param: internal_network}
96 type: OS::Neutron::Port
98 network: {get_param: dataplane_network}
102 type: OS::Neutron::FloatingIP
104 floating_network: {get_param: floating_network}
105 port_id: {get_resource: vm2_admin_port}
107 type: OS::Nova::Server
109 availability_zone: { get_param: availability_zone }
111 get_file: prox_user_data.sh
112 key_name: { get_param: key }
113 image: { get_param: image }
114 flavor: { get_param: flavor }
116 - port: {get_resource: vm2_admin_port}
117 - port: {get_resource: vm2_dataplane_port}
119 type: OS::Neutron::Port
121 network: {get_param: internal_network}
125 type: OS::Neutron::Port
127 network: {get_param: dataplane_network}
131 type: OS::Neutron::FloatingIP
133 floating_network: {get_param: floating_network}
134 port_id: {get_resource: vm3_admin_port}
136 type: OS::Nova::Server
138 availability_zone: { get_param: availability_zone }
140 get_file: prox_user_data.sh
141 key_name: { get_param: key }
142 image: { get_param: image }
143 flavor: { get_param: flavor }
145 - port: {get_resource: vm3_admin_port}
146 - port: {get_resource: vm3_dataplane_port}
150 description: Number of VMs created by this stack
153 description: IP address of VM1 admin port
154 value: { get_attr: [vm1_admin_port, fixed_ips, 0, ip_address] }
156 description: Floating IP address of VM1 in public network
157 value: { get_attr: [ vm1_floating_ip, floating_ip_address ] }
159 description: IP address of VM1 dataplane port
160 value: { get_attr: [vm1_dataplane_port, fixed_ips, 0, ip_address] }
162 description: The MAC address of VM1 dataplane port
163 value: { get_attr: [vm1_dataplane_port, mac_address] }
165 description: IP address of the VM2 admin port
166 value: { get_attr: [vm2_admin_port, fixed_ips, 0, ip_address] }
168 description: Floating IP address of VM2 in public network
169 value: { get_attr: [ vm2_floating_ip, floating_ip_address ] }
171 description: IP address of VM2 dataplane port
172 value: { get_attr: [vm2_dataplane_port, fixed_ips, 0, ip_address] }
174 description: The MAC address of VM2 dataplane port
175 value: { get_attr: [vm2_dataplane_port, mac_address] }
177 description: IP address of the VM3 admin port
178 value: { get_attr: [vm3_admin_port, fixed_ips, 0, ip_address] }
180 description: Floating IP address of VM3 in public network
181 value: { get_attr: [ vm3_floating_ip, floating_ip_address ] }
183 description: IP address of VM3 dataplane port
184 value: { get_attr: [vm3_dataplane_port, fixed_ips, 0, ip_address] }
186 description: The MAC address of VM3 dataplane port
187 value: { get_attr: [vm3_dataplane_port, mac_address] }