1 heat_template_version: 2013-05-23
4 Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
8 type: comma_delimited_list
9 description: CMAUI1, CMAUI2 server names
10 pcrf_security_group_name:
11 type: comma_delimited_list
12 description: CMAUI1, CMAUI2 server names
16 description: volume type Gold
21 description: my volume size 320GB
26 description: MME_FSB1_15B-CP04-r5a01
31 description: FSB1_volume_1
36 description: FSB1_name
41 description: FSB1_flavor
46 description: FSB1_zone
51 description: FSB1_zone
55 label: FSB1_internal_mac
56 description: FSB1_internal_mac
60 label: FSB1_internal_mac
61 description: FSB1_internal_mac
65 label: FSB1_internal_mac
66 description: FSB1_internal_mac
71 description: oam_net_id
76 description: jsa_net_name
85 label: pcrf_cps_net_name
86 description: pcrf_cps_net_name
90 label: pcrf_psm_server_name
91 description: pcrf_psm_server_name
95 label: pcrf_psm_image_name
96 description: pcrf_psm_image_name
100 label: pcrf_psm_flavor_name
101 description: pcrf_psm_flavor_name
103 availabilityzone_name:
105 label: availabilityzone_name
106 description: availabilityzone_name
110 label: pcm_server_name
111 description: pcm_server_name
115 label: pcm_image_name
116 description: pcm_image_name
120 label: pcm_flavor_name
121 description: pcm_flavor_name
125 label: Internal1_net_name
126 description: Internal1_net_name
128 Internal1_forwarding_mode:
130 label: Internal1_forwarding_mode
131 description: Internal1_forwarding_mode
135 label: Internal1_shared
136 description: Internal1_shared
140 label: Internal1_external
141 description: Internal1_external
145 label: Internal2_name
146 description: Internal2_name
150 label: Internal2_shared
151 description: Internal2_shared
155 label: Internal2_external
156 description: Internal2_external
158 Internal2_forwarding_mode:
160 label: Internal2_forwarding_mode
161 description: Internal2_forwarding_mode
166 description: cps_net_name
171 description: oam_net_name
208 VMME_FSB1_boot_volume:
217 type: OS::Nova::Server
218 depends_on: script_init
220 name: { get_param: fsb1-name }
221 block_device_mapping: [{device_name: "vda", volume_id : {get_param: VMME_FSB1_boot_volume }, delete_on_termination: "false" }]
222 flavor: { get_param: fsb1-flavor }
223 availability_zone: { get_param: fsb_zone }
225 - port: { get_resource: FSB1_Internal1 }
227 floating_ip: 10.0.0.1
228 network: 100_1000_0011
229 port_extra_properties: {admin_state_up: true , allowed_address_pairs: 10}
231 - port: { get_resource: FSB1_Internal2 }
232 - port: { get_resource: FSB1_OAM }
235 - path: /etc/sysconfig/network-scripts/ifcfg-eth0
239 template: { get_file: "file:///nimbus-ethernet" }
242 $ip: { get_param: cps_net_ip }
243 $netmask: { get_param: cps_net_mask }
244 - path: /etc/sysconfig/network-scripts/ifcfg-eth1
248 template: { get_file: "file:///nimbus-ethernet-gw" }
251 $ip: { get_param: oam_net_ip }
252 $netmask: { get_param: oam_net_mask }
253 $gateway: { get_param: oam_net_gw }
257 type: OS::Neutron::Port
259 network_id: { get_resource: Internal1-net }
260 mac_address: { get_param: fsb1-Internal1-mac }
263 type: OS::Neutron::Port
265 network_id: { get_resource: Internal2-net }
266 mac_address: { get_param: fsb1-Internal2-mac }
269 type: OS::Neutron::Port
271 network_id: { get_param: oam_net_id }
273 - ip_address: { get_param: fsb1-oam-ip }
276 type: OS::Heat::MultipartMime
279 - config: { get_resource: network}
280 - config: { get_resource: script_init}
283 type: OS::Neutron::Port
285 network: { get_param: pcrf_cps_net_name }
287 - ip_address: { get_param: pcrf_cps_net_ip }
288 security_groups: [{ get_param: pcrf_security_group_name }]
291 type: OS::Nova::Server
294 name: { get_param: pcrf_psm_server_name }
295 image: { get_param: pcrf_psm_image_name }
296 flavor: { get_param: pcrf_psm_flavor_name }
297 availability_zone: { get_param: availabilityzone_name }
299 - port: { get_resource: psm01_port_0}
300 user_data_format: RAW
302 get_resource: pcrf_server_init
304 vnf_id: {get_param: pcrf_vnf_id}
306 type: OS::Nova::Server
309 name: { get_param: pcm_server_name }
310 image: { get_param: pcm_image_name }
311 flavor: { get_param: pcm_flavor_name }
312 availability_zone: { get_param: availabilityzone_name }
314 - port: { get_resource: pcm_port_0}
315 - port: { get_resource: pcm_port_1}
316 block_device_mapping:
318 volume_id: { get_param: pcm_vol}
319 user_data_format: RAW
321 get_resource: server_init
323 type: OS::Nova::Server
326 name: { get_param: pcm_server_name }
327 image: { get_param: pcm_image_name }
328 flavor: { get_param: pcm_flavor_name }
329 availability_zone: { get_param: availabilityzone_name }
330 block_device_mapping:
333 volume_id: { get_param: pcm_vol}
335 volume_id: { get_param: pcm_vol_01}
337 volume_id: { get_resource: pcm_vol_02}
339 snapshot_id: { get_param: snapshot01}
340 - snapshot_id: { get_param: snapshot02}
341 user_data_format: RAW
343 get_resource: server_init
345 type: OS::Heat::MultipartMime
348 - config: { get_resource: network}
349 - config: { get_resource: script_init}
351 type: OS::Heat::MultipartMime
354 - config: { get_resource: network}
357 type: OS::Contrail::VirtualNetwork
359 name: { get_param: Internal1_net_name }
362 type: OS::Cinder::Volume
364 size: {get_param: volume_size}
365 volume_type: {get_param: volume_type}
366 name: {get_param: FSB1_volume_name}
367 image: {get_param: FSB_1_image}
371 type: OS::Neutron::Port
373 network: { get_param: cps_net_name }
375 - ip_address: { get_param: cps_net_ip }
376 security_groups: [{ get_param: security_group_name }]
379 type: OS::Neutron::Port
381 network: { get_param: oam_net_name }
383 - ip_address: { get_param: oam_net_ip }
384 security_groups: [{ get_param: security_group_name }]
387 type: OS::Contrail::VirtualNetwork
389 name: { get_param: Internal1_net_name }
390 forwarding_mode: { get_param: Internal1_forwarding_mode }
391 shared: { get_param: Internal1_shared }
392 external: { get_param: Internal1_external }
393 # route_targets: { "Fn::Split" : [ ",", Ref: route_targets ] }
396 type: OS::Contrail::VirtualNetwork
398 name: { get_param: Internal2_name }
399 forwarding_mode: { get_param: Internal2_forwarding_mode }
400 shared: { get_param: Internal2_shared }
401 external: { get_param: Internal2_external }
402 # route_targets: { "Fn::Split" : [ ",", Ref: route_targets ] }
405 type: OS::Nova::Server
407 name: { get_param: fsb1-name }
408 flavor: { get_param: fsb1-flavor }
409 availability_zone: { get_param: fsb_zone }
411 - network: {get_param: network_name}