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.
57 type: OS::Neutron::Port
59 network: {get_param: internal_network}
63 type: OS::Neutron::Port
65 network: {get_param: dataplane_network}
69 type: OS::Neutron::FloatingIP
71 floating_network: {get_param: floating_network}
72 port_id: {get_resource: vm1_admin_port}
74 type: OS::Nova::Server
76 availability_zone: { get_param: availability_zone }
78 get_file: prox_user_data.sh
79 key_name: { get_param: key }
80 image: { get_param: image }
81 flavor: { get_param: flavor }
83 - port: {get_resource: vm1_admin_port}
84 - port: {get_resource: vm1_dataplane_port}
86 type: OS::Neutron::Port
88 network: {get_param: internal_network}
92 type: OS::Neutron::Port
94 network: {get_param: dataplane_network}
98 type: OS::Neutron::FloatingIP
100 floating_network: {get_param: floating_network}
101 port_id: {get_resource: vm2_admin_port}
103 type: OS::Nova::Server
105 availability_zone: { get_param: availability_zone }
107 get_file: prox_user_data.sh
108 key_name: { get_param: key }
109 image: { get_param: image }
110 flavor: { get_param: flavor }
112 - port: {get_resource: vm2_admin_port}
113 - port: {get_resource: vm2_dataplane_port}
115 # type: OS::Neutron::Port
117 # network: {get_param: internal_network}
120 # vm3_dataplane_port:
121 # type: OS::Neutron::Port
123 # network: {get_param: dataplane_network}
127 # type: OS::Neutron::FloatingIP
129 # floating_network: {get_param: floating_network}
130 # port_id: {get_resource: vm3_admin_port}
132 # type: OS::Nova::Server
134 # availability_zone: { get_param: availability_zone }
136 # get_file: prox_user_data.sh
137 # key_name: { get_param: key }
138 # image: { get_param: image }
139 # flavor: { get_param: flavor }
141 # - port: {get_resource: vm3_admin_port}
142 # - port: {get_resource: vm3_dataplane_port}
146 description: Number of VMs created by this stack
149 description: IP address of VM1 admin port
150 value: { get_attr: [vm1_admin_port, fixed_ips, 0, ip_address] }
152 description: Floating IP address of VM1 in public network
153 value: { get_attr: [ vm1_floating_ip, floating_ip_address ] }
155 description: IP address of VM1 dataplane port
156 value: { get_attr: [vm1_dataplane_port, fixed_ips, 0, ip_address] }
158 description: The MAC address of VM1 dataplane port
159 value: { get_attr: [vm1_dataplane_port, mac_address] }
161 description: IP address of the VM2 admin port
162 value: { get_attr: [vm2_admin_port, fixed_ips, 0, ip_address] }
164 description: Floating IP address of VM2 in public network
165 value: { get_attr: [ vm2_floating_ip, floating_ip_address ] }
167 description: IP address of VM2 dataplane port
168 value: { get_attr: [vm2_dataplane_port, fixed_ips, 0, ip_address] }
170 description: The MAC address of VM2 dataplane port
171 value: { get_attr: [vm2_dataplane_port, mac_address] }
173 # description: IP address of the VM3 admin port
174 # value: { get_attr: [vm3_admin_port, fixed_ips, 0, ip_address] }
176 # description: Floating IP address of VM3 in public network
177 # value: { get_attr: [ vm3_floating_ip, floating_ip_address ] }
179 # description: IP address of VM3 dataplane port
180 # value: { get_attr: [vm3_dataplane_port, fixed_ips, 0, ip_address] }
182 # description: The MAC address of VM3 dataplane port
183 # value: { get_attr: [vm3_dataplane_port, mac_address] }