1 heat_template_version: 2013-05-23
3 description: heat template that creates MOG stack
7 type: comma_delimited_list
9 description: name of the PD instance
13 description: PD image name
17 description: flavor name of PD instance
18 availabilityzone_name:
20 label: availabilityzone name
21 description: availabilityzone name
30 1c1_scalling_instance_names:
34 1c2_catalog_instance_names:
48 type: OS::Nova::Server
51 - nestedWithNoNovaHadDependencyToIt
53 name: {get_param: [a_single_1a_names, 0]}
54 image: {get_param: pd_image_name}
55 flavor: {get_param: pd_flavor_name}
56 availability_zone: {get_param: availabilityzone_name}
58 - port: {get_resource: 1a_t1_port_0}
59 - port: {get_resource: 1a_t2_port_0}
61 scheduler_hints: { group: { get_resource: BE_Affinity } }
64 type: OS::Neutron::Port
66 network: {get_resource: a_single_1a_network}
68 type: OS::Neutron::Port
70 network: {get_param: ppds_net_name}
73 type: OS::Neutron::Net
79 type: nested-pcm_v0.1.yaml
83 - nestedWithNoNovaHadDependencyToIt
85 pcm_server_name: { get_param: [pcm_server_names, 0] }
86 pcm_image_name: { get_param: pcm_image_name }
87 pcm_flavor_name: { get_param: pcm_flavor_name }
88 cps_net_name: { get_resource: nested_network}
89 security_group_name: { get_resource: jsa_security_group}
90 server_group: { get_resource: BE_Affinity }
93 type: OS::Neutron::Net
99 type: OS::Nova::Server
103 - nestedWithNoNovaHadDependencyToIt
105 name: {get_param: [b_single_1b_names, 0]}
106 image: {get_param: pd_image_name}
107 flavor: {get_param: pd_flavor_name}
108 availability_zone: {get_param: availabilityzone_name}
110 - port: {get_resource: 1b_t1_port_0}
111 - port: {get_resource: 1b_t2_port_0}
112 user_data_format: RAW
113 scheduler_hints: { group: { get_resource: BE_Affinity } }
116 type: OS::Neutron::Port
118 network: {get_attr: [1b01_single_1B, accessIPv6]}
121 type: OS::Neutron::Port
123 network: {get_resource: b_single_1b_network}
126 type: OS::Neutron::Net
132 type: OS::Nova::Server
134 name: {get_param: [b_single_1b_names, 1]}
135 image: {get_param: pd_image_name}
136 flavor: {get_param: pd_flavor_name}
137 availability_zone: {get_param: availabilityzone_name}
139 - port: {get_resource: 1b_t1_port_1}
140 - port: {get_resource: 1b_t2_port_1}
141 user_data_format: RAW
142 scheduler_hints: { group: { get_resource: BE_Affinity } }
145 type: OS::Neutron::Port
147 network: {get_param: oam_net_name}
150 type: OS::Neutron::Port
152 network: {get_resource: b_single_1b_network}
154 1c101_scalling_instance_1C1:
155 type: OS::Nova::Server
157 - nestedWithNoNovaHadDependencyToIt
159 name: {get_param: [1c1_scalling_instance_names, 1]}
160 image: {get_param: pd_image_name}
161 flavor: {get_param: pd_flavor_name}
162 availability_zone: {get_param: availabilityzone_name}
164 - port: {get_resource: 1c1_t1_port_0}
165 - port: {get_resource: 1c1_t2_port_0}
166 user_data_format: RAW1
167 scheduler_hints: { group: { get_resource: BE_Affinity } }
170 type: OS::Neutron::Port
172 network: {get_resource: 1c1_scalling_instance_network}
173 fixed_ips: [{"ip_address": {get_param: [myIPs, 1]}}]
176 type: OS::Neutron::Port
178 network: {get_param: ppds_net_name}
179 fixed_ips: [{"ip_address": {get_param: [myIPs, 1]}}]
182 1c1_scalling_instance_network:
183 type: OS::Neutron::Net
188 1c102_scalling_instance_1C1:
189 type: OS::Nova::Server
191 - nestedWithNoNovaHadDependencyToIt
193 name: {get_param: [1c1_scalling_instance_names, 2]}
194 image: {get_param: pd_image_name}
195 flavor: {get_param: pd_flavor_name}
196 availability_zone: {get_param: availabilityzone_name}
198 - port: {get_resource: 1c1_t1_port_1}
199 - port: {get_resource: 1c1_t2_port_1}
200 user_data_format: RAW2
201 scheduler_hints: { group: { get_resource: BE_Affinity } }
204 type: OS::Neutron::Port
206 network: {get_resource: 1c1_scalling_instance_network}
207 fixed_ips: [{"ip_address": {get_param: [myIPs, 1]}}]
211 type: OS::Neutron::Port
213 network: {get_param: ppds_net_name}
214 fixed_ips: [{"ip_address": {get_param: [myIPs, 1]}}]
217 1c201_catalog_instance_1C2:
218 type: OS::Nova::Server
220 name: {get_param: [1c2_catalog_instance_names, 1]}
221 image: {get_param: pd_image_name}
222 flavor: {get_param: pd_flavor_name}
223 availability_zone: {get_param: availabilityzone_name}
225 - port: {get_resource: 1c2_t1_port_0}
226 - port: {get_resource: 1c2_t2_port_0}
227 user_data_format: RAW1
228 scheduler_hints: { group: { get_resource: BE_Affinity } }
231 type: OS::Neutron::Port
233 - nestedWithNoNovaHadDependencyToIt
235 network: {get_param: oam_net_name}
237 type: OS::Neutron::Port
239 network: {get_resource: 1c2_catalog_instance_network}
241 1c2_catalog_instance_network:
242 type: OS::Neutron::Net
247 1c202_scalling_instance_1C2:
248 type: OS::Nova::Server
250 name: {get_param: [1c2_catalog_instance_names, 2]}
251 image: {get_param: pd_image_name}
252 flavor: {get_param: pd_flavor_name}
253 availability_zone: {get_param: availabilityzone_name}
255 - port: {get_resource: 1c2_t1_port_1}
256 - port: {get_resource: 1c2_t2_port_1}
257 user_data_format: {get_attr: [1c201_catalog_instance_1C2, instance_name]}
258 scheduler_hints: { group: { get_resource: BE_Affinity } }
261 type: OS::Neutron::Port
263 - nestedWithNoNovaHadDependencyToIt
265 network: {get_param: oam_net_name}
267 type: OS::Neutron::Port
269 network: {get_resource: 1c2_catalog_instance_network}
273 type: nested-no_vfc_v0.1.yaml
276 - nestedWithNoNovaHadDependencyToIt
278 pcm_server_name: { get_param: [pcm_server_names, 0] }
279 pcm_image_name: { get_param: pcm_image_name }
280 pcm_flavor_name: { get_param: pcm_flavor_name }
281 cps_net_name: { get_resource: nested_network}
282 security_group_name: { get_resource: jsa_security_group}
283 server_group: { get_resource: BE_Affinity }
286 type: nested-no-nova.yaml
292 - 1c101_scalling_instance_1C1
293 - 1c102_scalling_instance_1C1
294 - 1c201_catalog_instance_1C2
295 - 1c202_scalling_instance_1C2
297 - nestedWithNoNovaHadDependencyToIt
299 security_group_name: group1
302 nestedWithNoNovaHadDependencyToIt:
303 type: nested-no-nova.yaml
305 security_group_name: group1
309 type: OS::Neutron::SecurityGroup
311 description: ems security group
312 name: {get_param: security_group_name}
313 rules: [{"direction": egress, "ethertype": IPv4, "port_range_min": 1, "port_range_max": 65535, "protocol": tcp, "remote_ip_prefix": 0.0.0.0/0},
314 {"direction": egress, "ethertype": IPv4, "port_range_min": 1, "port_range_max": 65535, "protocol": udp, "remote_ip_prefix": 0.0.0.0/0},
315 {"direction": egress, "ethertype": IPv4, "protocol": icmp, "remote_ip_prefix": 0.0.0.0/0},
316 {"direction": egress, "ethertype": IPv6, "port_range_min": 1, "port_range_max": 65535, "protocol": tcp, "remote_ip_prefix": "::/0"},
317 {"direction": egress, "ethertype": IPv6, "port_range_min": 1, "port_range_max": 65535, "protocol": udp, "remote_ip_prefix": "::/0"},
318 {"direction": egress, "ethertype": IPv6, "protocol": icmp, "remote_ip_prefix": "::/0"},
319 {"direction": ingress, "ethertype": IPv4, "port_range_min": 1, "port_range_max": 65535, "protocol": tcp, "remote_ip_prefix": 0.0.0.0/0},
320 {"direction": ingress, "ethertype": IPv4, "port_range_min": 1, "port_range_max": 65535, "protocol": udp, "remote_ip_prefix": 0.0.0.0/0},
321 {"direction": ingress, "ethertype": IPv4, "protocol": icmp, "remote_ip_prefix": 0.0.0.0/0},
322 {"direction": ingress, "ethertype": IPv6, "port_range_min": 1, "port_range_max": 65535, "protocol": tcp, "remote_ip_prefix": "::/0"},
323 {"direction": ingress, "ethertype": IPv6, "port_range_min": 1, "port_range_max": 65535, "protocol": udp, "remote_ip_prefix": "::/0"},
324 {"direction": ingress, "ethertype": IPv6, "protocol": icmp, "remote_ip_prefix": "::/0"}
328 type: OS::Neutron::Net
334 - 1c201_catalog_instance_1C2
335 - 1c202_scalling_instance_1C2
336 - 1c101_scalling_instance_1C1
337 - 1c102_scalling_instance_1C1
346 - nestedWithNoNovaHadDependencyToIt
351 nodeGetAttIn_network:
352 type: OS::Neutron::Net
354 name: { get_attr: [nestedNoUnified, portId, {get_attr: [4p_nested, server_pcm_id]}]}
355 dhcp_agent_ids: { get_attr: [1c2_t1_port_1, tenant_id, {get_attr: [1c2_t1_port_0, tenant_id, {get_attr: [1c201_catalog_instance_1C2, instance_name, {get_attr: [1c202_scalling_instance_1C2,instance_name]}]}]}]}
356 tenant_id: { get_attr:[1c101_scalling_instance_1C1, instance_name, {get_attr:[1c102_scalling_instance_1C1, instance_name, {get_attr:[1c1_t2_port_0, tenant_id, {get_attr:[1c1_t2_port_1, tenant_id]}]}]}]}
357 value_specs: {get_attr:[1b01_single_1B, instance_name, get_attr:[1b02_single_1B,instance_name, {get_attr:[1b_t1_port_0, tenant_id, {get_attr:[1b_t1_port_1, tenant_id]}]}]] }
358 qos_policy: {get_attr:[1a_single_1A, instance_name]}
359 admin_state_up: {get_attr:[1a_t1_port_0, tenant_id]}
362 type: OS::Nova::ServerGroup
364 policies: ["affinity"]
369 value: { get_attr: [nestedNoUnified, portId, {get_attr: [4p_nested, server_pcm_id]}]}
371 value: { get_attr: [1c2_t1_port_1, tenant_id, {get_attr: [1c2_t1_port_0, tenant_id, {get_attr: [1c201_catalog_instance_1C2, instance_name, {get_attr: [1c202_scalling_instance_1C2,instance_name]}]}]}]}
373 value: { get_attr:[1c101_scalling_instance_1C1, instance_name, {get_attr:[1c102_scalling_instance_1C1, instance_name, {get_attr:[1c1_t2_port_0, tenant_id, {get_attr:[1c1_t2_port_1, tenant_id]}]}]}]}
375 value: {get_attr:[1b01_single_1B, instance_name, get_attr:[1b02_single_1B,instance_name, {get_attr:[1b_t1_port_0, tenant_id, {get_attr:[1b_t1_port_1, tenant_id]}]}]] }
377 value: {get_attr:[1a_single_1A, instance_name]}
379 value: {get_attr:[1a_t1_port_0, tenant_id]}
381 value: {get_attr:[nestedWithNoNovaHadDependencyToIt, output1]}