2 # Generated by scripts/gen-onap-oom-yaml.sh; MANUAL CHANGES WILL BE LOST
4 heat_template_version: 2015-10-15
5 description: ONAP on Kubernetes using OOM
16 description: The ID of the Public network for floating IP address allocation
20 description: CIDR of the OAM ONAP network
24 description: Name of the Ubuntu 16.04 image
28 description: VM flavor for Rancher
32 description: VM flavor for k8s hosts
36 description: VM flavor for etcd hosts
40 description: VM flavor for orch hosts
42 integration_override_yaml:
44 description: Content for integration_override.yaml
46 integration_gerrit_branch:
50 integration_gerrit_refspec:
52 default: "refs/heads/master"
60 default: "refs/heads/master"
78 rancher_agent_version:
96 description: Set to "true" if you want to use a RAM disk for /dockerdata-nfs/.
101 type: OS::Heat::RandomString
105 # ONAP security group
107 type: OS::Neutron::SecurityGroup
114 rand: { get_resource: random-str }
115 description: security group used by ONAP
127 port_range_max: 65535
130 port_range_max: 65535
131 # Protocols used for vLB/vDNS use case
137 # ONAP management private network
139 type: OS::Neutron::Net
143 template: oam_network_rand
145 rand: { get_resource: random-str }
148 type: OS::Neutron::Subnet
152 template: oam_network_rand
154 rand: { get_resource: random-str }
155 network_id: { get_resource: oam_network }
156 cidr: { get_param: oam_network_cidr }
157 dns_nameservers: [ "8.8.8.8" ]
160 type: OS::Neutron::Router
163 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'router']]
164 external_gateway_info:
165 network: { get_param: public_net_id }
168 type: OS::Neutron::RouterInterface
170 router_id: { get_resource: router }
171 subnet_id: { get_resource: oam_subnet }
173 rancher_private_port:
174 type: OS::Neutron::Port
176 network: { get_resource: oam_network }
177 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
179 - { get_resource: onap_sg }
182 type: OS::Neutron::FloatingIP
184 floating_network_id: { get_param: public_net_id }
185 port_id: { get_resource: rancher_private_port }
188 type: OS::Nova::Server
191 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'rancher']]
192 image: { get_param: ubuntu_1604_image }
193 flavor: { get_param: rancher_vm_flavor }
194 key_name: { get_param: key_name }
196 - port: { get_resource: rancher_private_port }
197 user_data_format: RAW
201 get_file: rancher_vm_entrypoint.sh
203 __docker_proxy__: { get_param: docker_proxy }
204 __apt_proxy__: { get_param: apt_proxy }
205 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
206 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
207 __integration_override_yaml__: { get_param: integration_override_yaml }
208 __integration_gerrit_branch__: { get_param: integration_gerrit_branch }
209 __integration_gerrit_refspec__: { get_param: integration_gerrit_refspec }
210 __oom_gerrit_branch__: { get_param: oom_gerrit_branch }
211 __oom_gerrit_refspec__: { get_param: oom_gerrit_refspec }
212 __docker_manifest__: { get_param: docker_manifest }
213 __docker_version__: { get_param: docker_version }
214 __rancher_version__: { get_param: rancher_version }
215 __rancher_agent_version__: { get_param: rancher_agent_version }
216 __kubectl_version__: { get_param: kubectl_version }
217 __helm_version__: { get_param: helm_version }
218 __helm_deploy_delay__: { get_param: helm_deploy_delay }
219 __use_ramdisk__: { get_param: use_ramdisk }
220 __public_net_id__: { get_param: public_net_id }
221 __oam_network_cidr__: { get_param: oam_network_cidr }
222 __oam_network_id__: { get_resource: oam_network }
223 __oam_subnet_id__: { get_resource: oam_subnet }
224 __sec_group__: { get_resource: onap_sg }
225 __k8s_01_vm_ip__: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
227 get_attr: [k8s_01_floating_ip, floating_ip_address],
228 get_attr: [k8s_02_floating_ip, floating_ip_address],
229 get_attr: [k8s_03_floating_ip, floating_ip_address],
230 get_attr: [k8s_04_floating_ip, floating_ip_address],
231 get_attr: [k8s_05_floating_ip, floating_ip_address],
232 get_attr: [k8s_06_floating_ip, floating_ip_address],
233 get_attr: [k8s_07_floating_ip, floating_ip_address],
234 get_attr: [k8s_08_floating_ip, floating_ip_address],
235 get_attr: [k8s_09_floating_ip, floating_ip_address],
236 get_attr: [k8s_10_floating_ip, floating_ip_address],
237 get_attr: [k8s_11_floating_ip, floating_ip_address],
238 get_attr: [k8s_12_floating_ip, floating_ip_address],
240 __k8s_private_ips__: [
241 get_attr: [k8s_01_floating_ip, fixed_ip_address],
242 get_attr: [k8s_02_floating_ip, fixed_ip_address],
243 get_attr: [k8s_03_floating_ip, fixed_ip_address],
244 get_attr: [k8s_04_floating_ip, fixed_ip_address],
245 get_attr: [k8s_05_floating_ip, fixed_ip_address],
246 get_attr: [k8s_06_floating_ip, fixed_ip_address],
247 get_attr: [k8s_07_floating_ip, fixed_ip_address],
248 get_attr: [k8s_08_floating_ip, fixed_ip_address],
249 get_attr: [k8s_09_floating_ip, fixed_ip_address],
250 get_attr: [k8s_10_floating_ip, fixed_ip_address],
251 get_attr: [k8s_11_floating_ip, fixed_ip_address],
252 get_attr: [k8s_12_floating_ip, fixed_ip_address],
255 type: OS::Neutron::Port
257 network: { get_resource: oam_network }
258 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
260 - { get_resource: onap_sg }
263 type: OS::Neutron::FloatingIP
265 floating_network_id: { get_param: public_net_id }
266 port_id: { get_resource: k8s_01_private_port }
269 type: OS::Heat::CloudConfig
275 - [ /opt/k8s_vm_install.sh ]
277 - path: /opt/k8s_vm_install.sh
282 __docker_proxy__: { get_param: docker_proxy }
283 __apt_proxy__: { get_param: apt_proxy }
284 __docker_version__: { get_param: docker_version }
285 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
286 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
287 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
289 get_file: k8s_vm_install.sh
290 - path: /opt/k8s_vm_init.sh
295 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
296 __host_label__: 'compute'
298 get_file: k8s_vm_init.sh
299 - path: /etc/init.d/k8s_vm_init_serv
302 get_file: k8s_vm_init_serv.sh
305 type: OS::Heat::MultipartMime
308 - config: { get_resource: k8s_01_vm_scripts }
311 type: OS::Nova::Server
314 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '01' ] ]
315 image: { get_param: ubuntu_1604_image }
316 flavor: { get_param: k8s_vm_flavor }
317 key_name: { get_param: key_name }
319 - port: { get_resource: k8s_01_private_port }
320 user_data_format: SOFTWARE_CONFIG
321 user_data: { get_resource: k8s_01_vm_config }
324 type: OS::Neutron::Port
326 network: { get_resource: oam_network }
327 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
329 - { get_resource: onap_sg }
332 type: OS::Neutron::FloatingIP
334 floating_network_id: { get_param: public_net_id }
335 port_id: { get_resource: k8s_02_private_port }
338 type: OS::Heat::CloudConfig
344 - [ /opt/k8s_vm_install.sh ]
346 - path: /opt/k8s_vm_install.sh
351 __docker_proxy__: { get_param: docker_proxy }
352 __apt_proxy__: { get_param: apt_proxy }
353 __docker_version__: { get_param: docker_version }
354 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
355 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
356 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
358 get_file: k8s_vm_install.sh
359 - path: /opt/k8s_vm_init.sh
364 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
365 __host_label__: 'compute'
367 get_file: k8s_vm_init.sh
368 - path: /etc/init.d/k8s_vm_init_serv
371 get_file: k8s_vm_init_serv.sh
374 type: OS::Heat::MultipartMime
377 - config: { get_resource: k8s_02_vm_scripts }
380 type: OS::Nova::Server
383 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '02' ] ]
384 image: { get_param: ubuntu_1604_image }
385 flavor: { get_param: k8s_vm_flavor }
386 key_name: { get_param: key_name }
388 - port: { get_resource: k8s_02_private_port }
389 user_data_format: SOFTWARE_CONFIG
390 user_data: { get_resource: k8s_02_vm_config }
393 type: OS::Neutron::Port
395 network: { get_resource: oam_network }
396 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
398 - { get_resource: onap_sg }
401 type: OS::Neutron::FloatingIP
403 floating_network_id: { get_param: public_net_id }
404 port_id: { get_resource: k8s_03_private_port }
407 type: OS::Heat::CloudConfig
413 - [ /opt/k8s_vm_install.sh ]
415 - path: /opt/k8s_vm_install.sh
420 __docker_proxy__: { get_param: docker_proxy }
421 __apt_proxy__: { get_param: apt_proxy }
422 __docker_version__: { get_param: docker_version }
423 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
424 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
425 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
427 get_file: k8s_vm_install.sh
428 - path: /opt/k8s_vm_init.sh
433 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
434 __host_label__: 'compute'
436 get_file: k8s_vm_init.sh
437 - path: /etc/init.d/k8s_vm_init_serv
440 get_file: k8s_vm_init_serv.sh
443 type: OS::Heat::MultipartMime
446 - config: { get_resource: k8s_03_vm_scripts }
449 type: OS::Nova::Server
452 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '03' ] ]
453 image: { get_param: ubuntu_1604_image }
454 flavor: { get_param: k8s_vm_flavor }
455 key_name: { get_param: key_name }
457 - port: { get_resource: k8s_03_private_port }
458 user_data_format: SOFTWARE_CONFIG
459 user_data: { get_resource: k8s_03_vm_config }
462 type: OS::Neutron::Port
464 network: { get_resource: oam_network }
465 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
467 - { get_resource: onap_sg }
470 type: OS::Neutron::FloatingIP
472 floating_network_id: { get_param: public_net_id }
473 port_id: { get_resource: k8s_04_private_port }
476 type: OS::Heat::CloudConfig
482 - [ /opt/k8s_vm_install.sh ]
484 - path: /opt/k8s_vm_install.sh
489 __docker_proxy__: { get_param: docker_proxy }
490 __apt_proxy__: { get_param: apt_proxy }
491 __docker_version__: { get_param: docker_version }
492 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
493 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
494 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
496 get_file: k8s_vm_install.sh
497 - path: /opt/k8s_vm_init.sh
502 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
503 __host_label__: 'compute'
505 get_file: k8s_vm_init.sh
506 - path: /etc/init.d/k8s_vm_init_serv
509 get_file: k8s_vm_init_serv.sh
512 type: OS::Heat::MultipartMime
515 - config: { get_resource: k8s_04_vm_scripts }
518 type: OS::Nova::Server
521 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '04' ] ]
522 image: { get_param: ubuntu_1604_image }
523 flavor: { get_param: k8s_vm_flavor }
524 key_name: { get_param: key_name }
526 - port: { get_resource: k8s_04_private_port }
527 user_data_format: SOFTWARE_CONFIG
528 user_data: { get_resource: k8s_04_vm_config }
531 type: OS::Neutron::Port
533 network: { get_resource: oam_network }
534 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
536 - { get_resource: onap_sg }
539 type: OS::Neutron::FloatingIP
541 floating_network_id: { get_param: public_net_id }
542 port_id: { get_resource: k8s_05_private_port }
545 type: OS::Heat::CloudConfig
551 - [ /opt/k8s_vm_install.sh ]
553 - path: /opt/k8s_vm_install.sh
558 __docker_proxy__: { get_param: docker_proxy }
559 __apt_proxy__: { get_param: apt_proxy }
560 __docker_version__: { get_param: docker_version }
561 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
562 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
563 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
565 get_file: k8s_vm_install.sh
566 - path: /opt/k8s_vm_init.sh
571 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
572 __host_label__: 'compute'
574 get_file: k8s_vm_init.sh
575 - path: /etc/init.d/k8s_vm_init_serv
578 get_file: k8s_vm_init_serv.sh
581 type: OS::Heat::MultipartMime
584 - config: { get_resource: k8s_05_vm_scripts }
587 type: OS::Nova::Server
590 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '05' ] ]
591 image: { get_param: ubuntu_1604_image }
592 flavor: { get_param: k8s_vm_flavor }
593 key_name: { get_param: key_name }
595 - port: { get_resource: k8s_05_private_port }
596 user_data_format: SOFTWARE_CONFIG
597 user_data: { get_resource: k8s_05_vm_config }
600 type: OS::Neutron::Port
602 network: { get_resource: oam_network }
603 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
605 - { get_resource: onap_sg }
608 type: OS::Neutron::FloatingIP
610 floating_network_id: { get_param: public_net_id }
611 port_id: { get_resource: k8s_06_private_port }
614 type: OS::Heat::CloudConfig
620 - [ /opt/k8s_vm_install.sh ]
622 - path: /opt/k8s_vm_install.sh
627 __docker_proxy__: { get_param: docker_proxy }
628 __apt_proxy__: { get_param: apt_proxy }
629 __docker_version__: { get_param: docker_version }
630 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
631 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
632 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
634 get_file: k8s_vm_install.sh
635 - path: /opt/k8s_vm_init.sh
640 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
641 __host_label__: 'compute'
643 get_file: k8s_vm_init.sh
644 - path: /etc/init.d/k8s_vm_init_serv
647 get_file: k8s_vm_init_serv.sh
650 type: OS::Heat::MultipartMime
653 - config: { get_resource: k8s_06_vm_scripts }
656 type: OS::Nova::Server
659 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '06' ] ]
660 image: { get_param: ubuntu_1604_image }
661 flavor: { get_param: k8s_vm_flavor }
662 key_name: { get_param: key_name }
664 - port: { get_resource: k8s_06_private_port }
665 user_data_format: SOFTWARE_CONFIG
666 user_data: { get_resource: k8s_06_vm_config }
669 type: OS::Neutron::Port
671 network: { get_resource: oam_network }
672 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
674 - { get_resource: onap_sg }
677 type: OS::Neutron::FloatingIP
679 floating_network_id: { get_param: public_net_id }
680 port_id: { get_resource: k8s_07_private_port }
683 type: OS::Heat::CloudConfig
689 - [ /opt/k8s_vm_install.sh ]
691 - path: /opt/k8s_vm_install.sh
696 __docker_proxy__: { get_param: docker_proxy }
697 __apt_proxy__: { get_param: apt_proxy }
698 __docker_version__: { get_param: docker_version }
699 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
700 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
701 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
703 get_file: k8s_vm_install.sh
704 - path: /opt/k8s_vm_init.sh
709 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
710 __host_label__: 'compute'
712 get_file: k8s_vm_init.sh
713 - path: /etc/init.d/k8s_vm_init_serv
716 get_file: k8s_vm_init_serv.sh
719 type: OS::Heat::MultipartMime
722 - config: { get_resource: k8s_07_vm_scripts }
725 type: OS::Nova::Server
728 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '07' ] ]
729 image: { get_param: ubuntu_1604_image }
730 flavor: { get_param: k8s_vm_flavor }
731 key_name: { get_param: key_name }
733 - port: { get_resource: k8s_07_private_port }
734 user_data_format: SOFTWARE_CONFIG
735 user_data: { get_resource: k8s_07_vm_config }
738 type: OS::Neutron::Port
740 network: { get_resource: oam_network }
741 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
743 - { get_resource: onap_sg }
746 type: OS::Neutron::FloatingIP
748 floating_network_id: { get_param: public_net_id }
749 port_id: { get_resource: k8s_08_private_port }
752 type: OS::Heat::CloudConfig
758 - [ /opt/k8s_vm_install.sh ]
760 - path: /opt/k8s_vm_install.sh
765 __docker_proxy__: { get_param: docker_proxy }
766 __apt_proxy__: { get_param: apt_proxy }
767 __docker_version__: { get_param: docker_version }
768 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
769 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
770 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
772 get_file: k8s_vm_install.sh
773 - path: /opt/k8s_vm_init.sh
778 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
779 __host_label__: 'compute'
781 get_file: k8s_vm_init.sh
782 - path: /etc/init.d/k8s_vm_init_serv
785 get_file: k8s_vm_init_serv.sh
788 type: OS::Heat::MultipartMime
791 - config: { get_resource: k8s_08_vm_scripts }
794 type: OS::Nova::Server
797 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '08' ] ]
798 image: { get_param: ubuntu_1604_image }
799 flavor: { get_param: k8s_vm_flavor }
800 key_name: { get_param: key_name }
802 - port: { get_resource: k8s_08_private_port }
803 user_data_format: SOFTWARE_CONFIG
804 user_data: { get_resource: k8s_08_vm_config }
807 type: OS::Neutron::Port
809 network: { get_resource: oam_network }
810 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
812 - { get_resource: onap_sg }
815 type: OS::Neutron::FloatingIP
817 floating_network_id: { get_param: public_net_id }
818 port_id: { get_resource: k8s_09_private_port }
821 type: OS::Heat::CloudConfig
827 - [ /opt/k8s_vm_install.sh ]
829 - path: /opt/k8s_vm_install.sh
834 __docker_proxy__: { get_param: docker_proxy }
835 __apt_proxy__: { get_param: apt_proxy }
836 __docker_version__: { get_param: docker_version }
837 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
838 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
839 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
841 get_file: k8s_vm_install.sh
842 - path: /opt/k8s_vm_init.sh
847 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
848 __host_label__: 'compute'
850 get_file: k8s_vm_init.sh
851 - path: /etc/init.d/k8s_vm_init_serv
854 get_file: k8s_vm_init_serv.sh
857 type: OS::Heat::MultipartMime
860 - config: { get_resource: k8s_09_vm_scripts }
863 type: OS::Nova::Server
866 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '09' ] ]
867 image: { get_param: ubuntu_1604_image }
868 flavor: { get_param: k8s_vm_flavor }
869 key_name: { get_param: key_name }
871 - port: { get_resource: k8s_09_private_port }
872 user_data_format: SOFTWARE_CONFIG
873 user_data: { get_resource: k8s_09_vm_config }
876 type: OS::Neutron::Port
878 network: { get_resource: oam_network }
879 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
881 - { get_resource: onap_sg }
884 type: OS::Neutron::FloatingIP
886 floating_network_id: { get_param: public_net_id }
887 port_id: { get_resource: k8s_10_private_port }
890 type: OS::Heat::CloudConfig
896 - [ /opt/k8s_vm_install.sh ]
898 - path: /opt/k8s_vm_install.sh
903 __docker_proxy__: { get_param: docker_proxy }
904 __apt_proxy__: { get_param: apt_proxy }
905 __docker_version__: { get_param: docker_version }
906 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
907 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
908 __host_private_ip_addr__: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
910 get_file: k8s_vm_install.sh
911 - path: /opt/k8s_vm_init.sh
916 __host_private_ip_addr__: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
917 __host_label__: 'compute'
919 get_file: k8s_vm_init.sh
920 - path: /etc/init.d/k8s_vm_init_serv
923 get_file: k8s_vm_init_serv.sh
926 type: OS::Heat::MultipartMime
929 - config: { get_resource: k8s_10_vm_scripts }
932 type: OS::Nova::Server
935 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '10' ] ]
936 image: { get_param: ubuntu_1604_image }
937 flavor: { get_param: k8s_vm_flavor }
938 key_name: { get_param: key_name }
940 - port: { get_resource: k8s_10_private_port }
941 user_data_format: SOFTWARE_CONFIG
942 user_data: { get_resource: k8s_10_vm_config }
945 type: OS::Neutron::Port
947 network: { get_resource: oam_network }
948 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
950 - { get_resource: onap_sg }
953 type: OS::Neutron::FloatingIP
955 floating_network_id: { get_param: public_net_id }
956 port_id: { get_resource: k8s_11_private_port }
959 type: OS::Heat::CloudConfig
965 - [ /opt/k8s_vm_install.sh ]
967 - path: /opt/k8s_vm_install.sh
972 __docker_proxy__: { get_param: docker_proxy }
973 __apt_proxy__: { get_param: apt_proxy }
974 __docker_version__: { get_param: docker_version }
975 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
976 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
977 __host_private_ip_addr__: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
979 get_file: k8s_vm_install.sh
980 - path: /opt/k8s_vm_init.sh
985 __host_private_ip_addr__: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
986 __host_label__: 'compute'
988 get_file: k8s_vm_init.sh
989 - path: /etc/init.d/k8s_vm_init_serv
992 get_file: k8s_vm_init_serv.sh
995 type: OS::Heat::MultipartMime
998 - config: { get_resource: k8s_11_vm_scripts }
1001 type: OS::Nova::Server
1004 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '11' ] ]
1005 image: { get_param: ubuntu_1604_image }
1006 flavor: { get_param: k8s_vm_flavor }
1007 key_name: { get_param: key_name }
1009 - port: { get_resource: k8s_11_private_port }
1010 user_data_format: SOFTWARE_CONFIG
1011 user_data: { get_resource: k8s_11_vm_config }
1013 k8s_12_private_port:
1014 type: OS::Neutron::Port
1016 network: { get_resource: oam_network }
1017 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1019 - { get_resource: onap_sg }
1022 type: OS::Neutron::FloatingIP
1024 floating_network_id: { get_param: public_net_id }
1025 port_id: { get_resource: k8s_12_private_port }
1028 type: OS::Heat::CloudConfig
1034 - [ /opt/k8s_vm_install.sh ]
1036 - path: /opt/k8s_vm_install.sh
1041 __docker_proxy__: { get_param: docker_proxy }
1042 __apt_proxy__: { get_param: apt_proxy }
1043 __docker_version__: { get_param: docker_version }
1044 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1045 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1046 __host_private_ip_addr__: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1048 get_file: k8s_vm_install.sh
1049 - path: /opt/k8s_vm_init.sh
1054 __host_private_ip_addr__: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1055 __host_label__: 'compute'
1057 get_file: k8s_vm_init.sh
1058 - path: /etc/init.d/k8s_vm_init_serv
1061 get_file: k8s_vm_init_serv.sh
1064 type: OS::Heat::MultipartMime
1067 - config: { get_resource: k8s_12_vm_scripts }
1070 type: OS::Nova::Server
1073 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '12' ] ]
1074 image: { get_param: ubuntu_1604_image }
1075 flavor: { get_param: k8s_vm_flavor }
1076 key_name: { get_param: key_name }
1078 - port: { get_resource: k8s_12_private_port }
1079 user_data_format: SOFTWARE_CONFIG
1080 user_data: { get_resource: k8s_12_vm_config }
1082 etcd_1_private_port:
1083 type: OS::Neutron::Port
1085 network: { get_resource: oam_network }
1086 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1088 - { get_resource: onap_sg }
1091 type: OS::Neutron::FloatingIP
1093 floating_network_id: { get_param: public_net_id }
1094 port_id: { get_resource: etcd_1_private_port }
1097 type: OS::Heat::CloudConfig
1103 - [ /opt/k8s_vm_install.sh ]
1105 - path: /opt/k8s_vm_install.sh
1110 __docker_proxy__: { get_param: docker_proxy }
1111 __apt_proxy__: { get_param: apt_proxy }
1112 __docker_version__: { get_param: docker_version }
1113 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1114 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1115 __host_private_ip_addr__: { get_attr: [etcd_1_floating_ip, fixed_ip_address] }
1117 get_file: k8s_vm_install.sh
1118 - path: /opt/k8s_vm_init.sh
1123 __host_private_ip_addr__: { get_attr: [etcd_1_floating_ip, fixed_ip_address] }
1124 __host_label__: 'etcd'
1126 get_file: k8s_vm_init.sh
1127 - path: /etc/init.d/k8s_vm_init_serv
1130 get_file: k8s_vm_init_serv.sh
1133 type: OS::Heat::MultipartMime
1136 - config: { get_resource: etcd_1_vm_scripts }
1139 type: OS::Nova::Server
1142 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'etcd', '1' ] ]
1143 image: { get_param: ubuntu_1604_image }
1144 flavor: { get_param: etcd_vm_flavor }
1145 key_name: { get_param: key_name }
1147 - port: { get_resource: etcd_1_private_port }
1148 user_data_format: SOFTWARE_CONFIG
1149 user_data: { get_resource: etcd_1_vm_config }
1151 etcd_2_private_port:
1152 type: OS::Neutron::Port
1154 network: { get_resource: oam_network }
1155 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1157 - { get_resource: onap_sg }
1160 type: OS::Neutron::FloatingIP
1162 floating_network_id: { get_param: public_net_id }
1163 port_id: { get_resource: etcd_2_private_port }
1166 type: OS::Heat::CloudConfig
1172 - [ /opt/k8s_vm_install.sh ]
1174 - path: /opt/k8s_vm_install.sh
1179 __docker_proxy__: { get_param: docker_proxy }
1180 __apt_proxy__: { get_param: apt_proxy }
1181 __docker_version__: { get_param: docker_version }
1182 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1183 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1184 __host_private_ip_addr__: { get_attr: [etcd_2_floating_ip, fixed_ip_address] }
1186 get_file: k8s_vm_install.sh
1187 - path: /opt/k8s_vm_init.sh
1192 __host_private_ip_addr__: { get_attr: [etcd_2_floating_ip, fixed_ip_address] }
1193 __host_label__: 'etcd'
1195 get_file: k8s_vm_init.sh
1196 - path: /etc/init.d/k8s_vm_init_serv
1199 get_file: k8s_vm_init_serv.sh
1202 type: OS::Heat::MultipartMime
1205 - config: { get_resource: etcd_2_vm_scripts }
1208 type: OS::Nova::Server
1211 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'etcd', '2' ] ]
1212 image: { get_param: ubuntu_1604_image }
1213 flavor: { get_param: etcd_vm_flavor }
1214 key_name: { get_param: key_name }
1216 - port: { get_resource: etcd_2_private_port }
1217 user_data_format: SOFTWARE_CONFIG
1218 user_data: { get_resource: etcd_2_vm_config }
1220 etcd_3_private_port:
1221 type: OS::Neutron::Port
1223 network: { get_resource: oam_network }
1224 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1226 - { get_resource: onap_sg }
1229 type: OS::Neutron::FloatingIP
1231 floating_network_id: { get_param: public_net_id }
1232 port_id: { get_resource: etcd_3_private_port }
1235 type: OS::Heat::CloudConfig
1241 - [ /opt/k8s_vm_install.sh ]
1243 - path: /opt/k8s_vm_install.sh
1248 __docker_proxy__: { get_param: docker_proxy }
1249 __apt_proxy__: { get_param: apt_proxy }
1250 __docker_version__: { get_param: docker_version }
1251 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1252 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1253 __host_private_ip_addr__: { get_attr: [etcd_3_floating_ip, fixed_ip_address] }
1255 get_file: k8s_vm_install.sh
1256 - path: /opt/k8s_vm_init.sh
1261 __host_private_ip_addr__: { get_attr: [etcd_3_floating_ip, fixed_ip_address] }
1262 __host_label__: 'etcd'
1264 get_file: k8s_vm_init.sh
1265 - path: /etc/init.d/k8s_vm_init_serv
1268 get_file: k8s_vm_init_serv.sh
1271 type: OS::Heat::MultipartMime
1274 - config: { get_resource: etcd_3_vm_scripts }
1277 type: OS::Nova::Server
1280 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'etcd', '3' ] ]
1281 image: { get_param: ubuntu_1604_image }
1282 flavor: { get_param: etcd_vm_flavor }
1283 key_name: { get_param: key_name }
1285 - port: { get_resource: etcd_3_private_port }
1286 user_data_format: SOFTWARE_CONFIG
1287 user_data: { get_resource: etcd_3_vm_config }
1289 orch_1_private_port:
1290 type: OS::Neutron::Port
1292 network: { get_resource: oam_network }
1293 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1295 - { get_resource: onap_sg }
1298 type: OS::Neutron::FloatingIP
1300 floating_network_id: { get_param: public_net_id }
1301 port_id: { get_resource: orch_1_private_port }
1304 type: OS::Heat::CloudConfig
1310 - [ /opt/k8s_vm_install.sh ]
1312 - path: /opt/k8s_vm_install.sh
1317 __docker_proxy__: { get_param: docker_proxy }
1318 __apt_proxy__: { get_param: apt_proxy }
1319 __docker_version__: { get_param: docker_version }
1320 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1321 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1322 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1324 get_file: k8s_vm_install.sh
1325 - path: /opt/k8s_vm_init.sh
1330 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1331 __host_label__: 'orchestration'
1333 get_file: k8s_vm_init.sh
1334 - path: /etc/init.d/k8s_vm_init_serv
1337 get_file: k8s_vm_init_serv.sh
1340 type: OS::Heat::MultipartMime
1343 - config: { get_resource: orch_1_vm_scripts }
1346 type: OS::Nova::Server
1349 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '1' ] ]
1350 image: { get_param: ubuntu_1604_image }
1351 flavor: { get_param: orch_vm_flavor }
1352 key_name: { get_param: key_name }
1354 - port: { get_resource: orch_1_private_port }
1355 user_data_format: SOFTWARE_CONFIG
1356 user_data: { get_resource: orch_1_vm_config }
1358 orch_2_private_port:
1359 type: OS::Neutron::Port
1361 network: { get_resource: oam_network }
1362 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1364 - { get_resource: onap_sg }
1367 type: OS::Neutron::FloatingIP
1369 floating_network_id: { get_param: public_net_id }
1370 port_id: { get_resource: orch_2_private_port }
1373 type: OS::Heat::CloudConfig
1379 - [ /opt/k8s_vm_install.sh ]
1381 - path: /opt/k8s_vm_install.sh
1386 __docker_proxy__: { get_param: docker_proxy }
1387 __apt_proxy__: { get_param: apt_proxy }
1388 __docker_version__: { get_param: docker_version }
1389 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1390 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1391 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1393 get_file: k8s_vm_install.sh
1394 - path: /opt/k8s_vm_init.sh
1399 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1400 __host_label__: 'orchestration'
1402 get_file: k8s_vm_init.sh
1403 - path: /etc/init.d/k8s_vm_init_serv
1406 get_file: k8s_vm_init_serv.sh
1409 type: OS::Heat::MultipartMime
1412 - config: { get_resource: orch_2_vm_scripts }
1415 type: OS::Nova::Server
1418 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '2' ] ]
1419 image: { get_param: ubuntu_1604_image }
1420 flavor: { get_param: orch_vm_flavor }
1421 key_name: { get_param: key_name }
1423 - port: { get_resource: orch_2_private_port }
1424 user_data_format: SOFTWARE_CONFIG
1425 user_data: { get_resource: orch_2_vm_config }
1429 description: The IP address of the rancher instance
1430 value: { get_attr: [rancher_floating_ip, floating_ip_address] }
1433 description: The IP address of the k8s_01 instance
1434 value: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
1437 description: The IP address of the k8s_02 instance
1438 value: { get_attr: [k8s_02_floating_ip, floating_ip_address] }
1441 description: The IP address of the k8s_03 instance
1442 value: { get_attr: [k8s_03_floating_ip, floating_ip_address] }
1445 description: The IP address of the k8s_04 instance
1446 value: { get_attr: [k8s_04_floating_ip, floating_ip_address] }
1449 description: The IP address of the k8s_05 instance
1450 value: { get_attr: [k8s_05_floating_ip, floating_ip_address] }
1453 description: The IP address of the k8s_06 instance
1454 value: { get_attr: [k8s_06_floating_ip, floating_ip_address] }
1457 description: The IP address of the k8s_07 instance
1458 value: { get_attr: [k8s_07_floating_ip, floating_ip_address] }
1461 description: The IP address of the k8s_08 instance
1462 value: { get_attr: [k8s_08_floating_ip, floating_ip_address] }
1465 description: The IP address of the k8s_09 instance
1466 value: { get_attr: [k8s_09_floating_ip, floating_ip_address] }
1469 description: The IP address of the k8s_10 instance
1470 value: { get_attr: [k8s_10_floating_ip, floating_ip_address] }
1473 description: The IP address of the k8s_11 instance
1474 value: { get_attr: [k8s_11_floating_ip, floating_ip_address] }
1477 description: The IP address of the k8s_12 instance
1478 value: { get_attr: [k8s_12_floating_ip, floating_ip_address] }