1 heat_template_version: 2013-05-23
3 description: HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc
14 Internal1_net_pool_start:
16 Internal1_net_pool_end:
18 Internal2_net_pool_start:
20 Internal2_net_pool_end:
22 Internal1_default_gateway:
24 Internal2_default_gateway:
32 Internal1_subnet_name:
38 Internal1_forwarding_mode:
46 Internal2_subnet_name:
52 Internal2_forwarding_mode:
76 description: Name of fsb1
79 description: Name of fsb1
82 description: Name of ncb1
85 description: Name of ncb2
88 description: Name of vlc1
91 description: Name of vlc2
94 description: Name of gpb1
97 description: Name of gpb2
100 description: cluster for spawnning fsb instances
103 description: Name of image to use for server fsb1
106 description: Flavor to use for servers fsb1
109 description: uuid of oam network
112 description: static mac address assigned to fsb1-Internal1
115 description: static mac address assigned to fsb1-Internal2
118 description: Name of image to use for server fsb2
121 description: Flavor to use for servers fsb2
124 description: static mac address assigned to fsb2-Internal1
127 description: static mac address assigned to fsb2-Internal2
130 description: Name of image to use for server ncb
133 description: Flavor to use for servers ncb
136 description: cluster for spawnning ncb instances
139 description: static mac address assigned to ncb1-Internal1
142 description: static mac address assigned to ncb1-Internal2
145 description: static mac address assigned to ncb2-Internal1
148 description: static mac address assigned to ncb2-Internal2
151 description: Flavor to use for servers gpb
154 description: cluster for spawnning gpb instances
159 description: static mac address assigned to gpb1-Internal1
162 description: static mac address assigned to gpb1-Internal2
165 description: static mac address assigned to gpb2-Internal1
168 description: static mac address assigned to gpb2-Internal2
171 description: Flavor to use for servers vlc
174 description: cluster for spawnning vlc instances
177 description: static mac address assigned to vlc1-Internal1
180 description: static mac address assigned to vlc1-Internal2
183 description: static mac address assigned to vlc2-Internal1
186 description: static mac address assigned to vlc2-Internal2
189 description: epc-sctp-a net name
192 description: epc-sctp-a route target
195 description: epc-sctp-a subnet
196 epc-sctp-a-net-gateway:
198 description: epc-sctp-a-net network gateway
199 epc-sctp-a-pool-start:
201 description: epc-sctp-a-net network ip pool start IP address
204 description: epc-sctp-a-net network ip pool end IP address
207 description: epc-sctp-b net name
210 description: epc-sctp-b route target
213 description: epc-sctp-b subnet
214 epc-sctp-b-net-gateway:
216 description: epc-sctp-b-net network gateway
217 epc-sctp-b-pool-start:
219 description: epc-sctp-b-net network ip pool start IP address
222 description: epc-sctp-b-net network ip pool end IP address
225 description: gtp net name
228 description: gtp route target
231 description: gtp stubnet
234 description: gtp network gateway
237 description: gtp network ip pool start IP address
240 description: gtp network ip pool end IP address
241 static_prefix_sctp_a_1:
243 description: Static Prefix
244 static_prefix_sctp_b_1:
246 description: Static Prefix
249 description: Static Prefix
250 VMME_FSB1_boot_volume:
252 VMME_FSB2_boot_volume:
258 type: OS::Contrail::NetworkIpam
260 name: { get_param: Internal1_ipam_name }
263 type: OS::Contrail::NetworkIpam
265 name: { get_param: Internal2_ipam_name }
268 type: OS::Contrail::VirtualNetwork
270 name: { get_param: Internal1_net_name }
271 forwarding_mode: { get_param: Internal1_forwarding_mode }
272 shared: { get_param: Internal1_shared }
273 external: { get_param: Internal1_external }
274 # route_targets: { "Fn::Split" : [ ",", Ref: route_targets ] }
277 type: OS::Neutron::Subnet
279 network_id: { get_resource: Internal1-net }
280 cidr: { get_param: Internal1_cidr }
281 gateway_ip: { get_param: Internal1_default_gateway }
282 enable_dhcp: { get_param: Internal1_dhcp }
286 # type: OS::Contrail::VnSubnet
288 # name: { get_param: Internal1_subnet_name }
289 # network: { get_resource: Internal1-net }
290 # ip_prefix: { get_param: Internal1_cidr }
291 # ipam: { get_resource: Internal1_ipam }
292 # enable_dhcp: { get_param: Internal1_dhcp }
293 # default_gateway: { get_param: Internal1_default_gateway }
295 # - start: { get_param: Internal1_net_pool_start }
296 # end: { get_param: Internal1_net_pool_end }
301 type: OS::Contrail::VirtualNetwork
303 name: { get_param: Internal2_name }
304 forwarding_mode: { get_param: Internal2_forwarding_mode }
305 shared: { get_param: Internal2_shared }
306 external: { get_param: Internal2_external }
307 # route_targets: { "Fn::Split" : [ ",", Ref: route_targets ] }
310 # type: OS::Contrail::VnSubnet
312 # name: { get_param: Internal2_subnet_name }
313 # network: { get_resource: Internal2-net }
314 # ip_prefix: { get_param: Internal2_cidr }
315 # ipam: { get_resource: Internal2_ipam }
316 # enable_dhcp: { get_param: Internal2_dhcp }
317 # default_gateway: { get_param: Internal2_default_gateway }
319 # - start: { get_param: Internal2_net_pool_start }
320 # end: { get_param: Internal2_net_pool_end }
323 type: OS::Neutron::Subnet
325 network_id: { get_resource: Internal2-net }
326 cidr: { get_param: Internal2_cidr }
327 gateway_ip: { get_param: Internal2_default_gateway }
328 enable_dhcp: { get_param: Internal2_dhcp }
331 type: OS::Contrail::VirtualNetwork
333 name: { get_param: epc-sctp-a-net-name }
334 route_targets: [ get_param: epc-sctp-a-net-rt ]
338 type: OS::Neutron::Subnet
340 network_id: { get_resource: epc-sctp-a-net }
341 cidr: { get_param: epc-sctp-a-net-cidr }
342 gateway_ip: { get_param: epc-sctp-a-net-gateway }
344 - start: { get_param: epc-sctp-a-pool-start }
345 end: { get_param: epc-sctp-a-pool-end }
348 type: OS::Contrail::VirtualNetwork
350 name: { get_param: epc-sctp-b-net-name }
351 route_targets: [ get_param: epc-sctp-b-net-rt ]
354 type: OS::Neutron::Subnet
356 network_id: { get_resource: epc-sctp-b-net }
357 cidr: { get_param: epc-sctp-b-net-cidr }
358 gateway_ip: { get_param: epc-sctp-b-net-gateway }
360 - start: { get_param: epc-sctp-b-pool-start }
361 end: { get_param: epc-sctp-b-pool-end }
364 type: OS::Contrail::VirtualNetwork
366 name: { get_param: epc-gtp-net-name }
367 route_targets: [ get_param: epc-gtp-net-rt ]
370 type: OS::Neutron::Subnet
372 network_id: { get_resource: epc-gtp-net }
373 cidr: { get_param: epc-gtp-net-cidr }
374 gateway_ip: { get_param: epc-gtp-net-gateway }
376 - start: { get_param: epc-gtp-pool-start }
377 end: { get_param: epc-gtp-pool-end }
380 type: OS::Nova::Server
382 name: { get_param: fsb1-name }
383 block_device_mapping: [{device_name: "vda", volume_id : {get_param: VMME_FSB1_boot_volume }, delete_on_termination: "false" }]
384 flavor: { get_param: fsb1-flavor }
385 availability_zone: { get_param: fsb_zone }
387 - port: { get_resource: FSB1_Internal1 }
388 - port: { get_resource: FSB1_Internal2 }
389 - port: { get_resource: FSB1_OAM }
392 type: OS::Neutron::Port
394 network_id: { get_resource: Internal1-net }
395 mac_address: { get_param: fsb1-Internal1-mac }
398 type: OS::Neutron::Port
400 network: { get_resource: Internal2-net }
401 mac_address: { get_param: fsb1-Internal2-mac }
404 type: OS::Neutron::Port
406 network: { get_param: oam_net_id }
408 - ip_address: { get_param: fsb1-oam-ip }
411 type: OS::Nova::Server
413 name: { get_param: fsb2-name }
414 block_device_mapping: [{device_name: "vda", volume_id : {get_param: VMME_FSB2_boot_volume }, delete_on_termination: "false" }]
415 flavor: { get_param: fsb2-flavor }
416 availability_zone: { get_param: fsb_zone }
418 - port: { get_resource: FSB2_Internal1 }
419 - port: { get_resource: FSB2_Internal2 }
420 - port: { get_resource: FSB2_OAM }
423 type: OS::Neutron::Port
425 network: { get_resource: Internal1-net }
426 mac_address: { get_param: fsb2-Internal1-mac }
430 type: OS::Neutron::Port
432 network: { get_resource: Internal2-net }
433 mac_address: { get_param: fsb2-Internal2-mac }
436 type: OS::Neutron::Port
438 network: { get_param: oam_net_id }
440 - ip_address: { get_param: fsb2-oam-ip }
443 type: OS::Nova::Server
445 name: { get_param: ncb1-name }
446 image: { get_param: pxe-image }
447 flavor: { get_param: ncb-flavor }
448 availability_zone: { get_param: ncb_zone }
450 - port: { get_resource: NCB1_Internal1 }
451 - port: { get_resource: NCB1_Internal2 }
454 type: OS::Neutron::Port
456 network: { get_resource: Internal1-net }
457 mac_address: { get_param: ncb1-Internal1-mac }
460 type: OS::Neutron::Port
462 network: { get_resource: Internal2-net }
463 mac_address: { get_param: ncb1-Internal2-mac }
466 type: OS::Nova::Server
468 name: { get_param: ncb2-name }
469 image: { get_param: pxe-image }
470 flavor: { get_param: ncb-flavor }
471 availability_zone: { get_param: ncb_zone }
473 - port: { get_resource: NCB2_Internal1 }
474 - port: { get_resource: NCB2_Internal2 }
477 type: OS::Neutron::Port
479 network: { get_resource: Internal1-net }
480 mac_address: { get_param: ncb2-Internal1-mac }
483 type: OS::Neutron::Port
485 network: { get_resource: Internal2-net }
486 mac_address: { get_param: ncb2-Internal2-mac }
489 type: OS::Nova::Server
491 name: { get_param: gpb1-name }
492 image: { get_param: pxe-image }
493 flavor: { get_param: gpb-flavor }
494 availability_zone: { get_param: gpb_zone }
496 - port: { get_resource: GPB1_Internal1 }
497 - port: { get_resource: GPB1_Internal2 }
500 type: OS::Neutron::Port
502 network: { get_resource: Internal1-net }
503 mac_address: { get_param: gpb1-Internal1-mac }
506 type: OS::Neutron::Port
508 network: { get_resource: Internal2-net }
509 mac_address: { get_param: gpb1-Internal2-mac }
512 type: OS::Nova::Server
514 name: { get_param: gpb2-name }
515 image: { get_param: pxe-image }
516 flavor: { get_param: gpb-flavor }
517 availability_zone: { get_param: gpb_zone }
519 - port: { get_resource: GPB2_Internal1 }
520 - port: { get_resource: GPB2_Internal2 }
523 type: OS::Neutron::Port
525 network: { get_resource: Internal1-net }
526 mac_address: { get_param: gpb2-Internal1-mac }
529 type: OS::Neutron::Port
531 network: { get_resource: Internal2-net }
532 mac_address: { get_param: gpb2-Internal2-mac }
535 type: OS::Nova::Server
537 name: { get_param: vlc1-name }
538 image: { get_param: pxe-image }
539 flavor: { get_param: vlc-flavor }
540 availability_zone: { get_param: vlc_zone }
542 - port: { get_resource: VLC1_Internal1 }
543 - port: { get_resource: VLC1_Internal2 }
544 - port: { get_resource: VLC1_OAM }
545 - port: { get_resource: VLC1_SCTP_A }
546 - port: { get_resource: VLC1_SCTP_B }
547 - port: { get_resource: VLC1_GTP }
550 type: OS::Neutron::Port
552 network: { get_resource: Internal1-net }
553 mac_address: { get_param: vlc1-Internal1-mac }
556 type: OS::Neutron::Port
558 network: { get_resource: Internal2-net }
559 mac_address: { get_param: vlc1-Internal2-mac }
562 type: OS::Neutron::Port
564 network: { get_param: oam_net_id }
566 - ip_address: { get_param: vlc1-oam-ip }
569 type: OS::Neutron::Port
571 network: { get_resource: epc-sctp-a-net }
573 - ip_address: { get_param: vlc1-sctp-a-ip }
576 type: OS::Neutron::Port
578 network: { get_resource: epc-sctp-b-net }
580 - ip_address: { get_param: vlc1-sctp-b-ip }
583 type: OS::Neutron::Port
585 network: { get_resource: epc-gtp-net }
587 - ip_address: { get_param: vlc1-gtp-ip }
590 type: OS::Nova::Server
592 name: { get_param: vlc2-name }
593 image: { get_param: pxe-image }
594 flavor: { get_param: vlc-flavor }
595 availability_zone: { get_param: vlc_zone }
597 - port: { get_resource: VLC2_Internal1 }
598 - port: { get_resource: VLC2_Internal2 }
599 - port: { get_resource: VLC2_OAM }
600 - port: { get_resource: VLC2_SCTP_A }
601 - port: { get_resource: VLC2_SCTP_B }
602 - port: { get_resource: VLC2_GTP }
606 type: OS::Neutron::Port
608 network: { get_resource: Internal1-net }
609 mac_address: { get_param: vlc2-Internal1-mac }
612 type: OS::Neutron::Port
614 network: { get_param: oam_net_id }
616 - ip_address: { get_param: vlc2-oam-ip }
619 type: OS::Neutron::Port
621 network: { get_resource: Internal2-net }
622 mac_address: { get_param: vlc2-Internal2-mac }
625 type: OS::Neutron::Port
627 network: { get_resource: epc-sctp-a-net }
629 - ip_address: { get_param: vlc2-sctp-a-ip }
632 type: OS::Neutron::Port
634 network: { get_resource: epc-sctp-b-net }
636 - ip_address: { get_param: vlc2-sctp-b-ip }
639 type: OS::Neutron::Port
641 network: { get_resource: epc-gtp-net }
643 - ip_address: { get_param: vlc2-gtp-ip }