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/.
105 type: OS::Heat::RandomString
109 # ONAP security group
111 type: OS::Neutron::SecurityGroup
118 rand: { get_resource: random-str }
119 description: security group used by ONAP
131 port_range_max: 65535
134 port_range_max: 65535
135 # Protocols used for vLB/vDNS use case
141 # ONAP management private network
143 type: OS::Neutron::Net
147 template: oam_network_rand
149 rand: { get_resource: random-str }
152 type: OS::Neutron::Subnet
156 template: oam_network_rand
158 rand: { get_resource: random-str }
159 network_id: { get_resource: oam_network }
160 cidr: { get_param: oam_network_cidr }
161 dns_nameservers: [ "8.8.8.8" ]
164 type: OS::Neutron::Router
167 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'router']]
168 external_gateway_info:
169 network: { get_param: public_net_id }
172 type: OS::Neutron::RouterInterface
174 router_id: { get_resource: router }
175 subnet_id: { get_resource: oam_subnet }
177 rancher_private_port:
178 type: OS::Neutron::Port
180 network: { get_resource: oam_network }
181 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
183 - { get_resource: onap_sg }
186 type: OS::Neutron::FloatingIP
188 floating_network_id: { get_param: public_net_id }
189 port_id: { get_resource: rancher_private_port }
192 type: OS::Nova::Server
195 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'rancher']]
196 image: { get_param: ubuntu_1604_image }
197 flavor: { get_param: rancher_vm_flavor }
198 key_name: { get_param: key_name }
200 - port: { get_resource: rancher_private_port }
201 user_data_format: RAW
205 get_file: rancher_vm_entrypoint.sh
207 __docker_proxy__: { get_param: docker_proxy }
208 __apt_proxy__: { get_param: apt_proxy }
209 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
210 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
211 __integration_override_yaml__: { get_param: integration_override_yaml }
212 __integration_gerrit_branch__: { get_param: integration_gerrit_branch }
213 __integration_gerrit_refspec__: { get_param: integration_gerrit_refspec }
214 __oom_gerrit_branch__: { get_param: oom_gerrit_branch }
215 __oom_gerrit_refspec__: { get_param: oom_gerrit_refspec }
216 __docker_manifest__: { get_param: docker_manifest }
217 __docker_version__: { get_param: docker_version }
218 __rancher_version__: { get_param: rancher_version }
219 __rancher_agent_version__: { get_param: rancher_agent_version }
220 __kubectl_version__: { get_param: kubectl_version }
221 __helm_version__: { get_param: helm_version }
222 __helm_deploy_delay__: { get_param: helm_deploy_delay }
223 __use_ramdisk__: { get_param: use_ramdisk }
224 __mtu__: { get_param: mtu }
225 __public_net_id__: { get_param: public_net_id }
226 __oam_network_cidr__: { get_param: oam_network_cidr }
227 __oam_network_id__: { get_resource: oam_network }
228 __oam_subnet_id__: { get_resource: oam_subnet }
229 __sec_group__: { get_resource: onap_sg }
230 __k8s_01_vm_ip__: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
232 get_attr: [k8s_01_floating_ip, floating_ip_address],
233 get_attr: [k8s_02_floating_ip, floating_ip_address],
234 get_attr: [k8s_03_floating_ip, floating_ip_address],
235 get_attr: [k8s_04_floating_ip, floating_ip_address],
236 get_attr: [k8s_05_floating_ip, floating_ip_address],
237 get_attr: [k8s_06_floating_ip, floating_ip_address],
238 get_attr: [k8s_07_floating_ip, floating_ip_address],
239 get_attr: [k8s_08_floating_ip, floating_ip_address],
240 get_attr: [k8s_09_floating_ip, floating_ip_address],
241 get_attr: [k8s_10_floating_ip, floating_ip_address],
242 get_attr: [k8s_11_floating_ip, floating_ip_address],
243 get_attr: [k8s_12_floating_ip, floating_ip_address],
245 __k8s_private_ips__: [
246 get_attr: [k8s_01_floating_ip, fixed_ip_address],
247 get_attr: [k8s_02_floating_ip, fixed_ip_address],
248 get_attr: [k8s_03_floating_ip, fixed_ip_address],
249 get_attr: [k8s_04_floating_ip, fixed_ip_address],
250 get_attr: [k8s_05_floating_ip, fixed_ip_address],
251 get_attr: [k8s_06_floating_ip, fixed_ip_address],
252 get_attr: [k8s_07_floating_ip, fixed_ip_address],
253 get_attr: [k8s_08_floating_ip, fixed_ip_address],
254 get_attr: [k8s_09_floating_ip, fixed_ip_address],
255 get_attr: [k8s_10_floating_ip, fixed_ip_address],
256 get_attr: [k8s_11_floating_ip, fixed_ip_address],
257 get_attr: [k8s_12_floating_ip, fixed_ip_address],
260 type: OS::Neutron::Port
262 network: { get_resource: oam_network }
263 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
265 - { get_resource: onap_sg }
268 type: OS::Neutron::FloatingIP
270 floating_network_id: { get_param: public_net_id }
271 port_id: { get_resource: k8s_01_private_port }
274 type: OS::Heat::CloudConfig
280 - [ /opt/k8s_vm_install.sh ]
282 - path: /opt/k8s_vm_install.sh
287 __docker_proxy__: { get_param: docker_proxy }
288 __apt_proxy__: { get_param: apt_proxy }
289 __docker_version__: { get_param: docker_version }
290 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
291 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
292 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
293 __mtu__: { get_param: mtu }
295 get_file: k8s_vm_install.sh
296 - path: /opt/k8s_vm_init.sh
301 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
302 __host_label__: 'compute'
304 get_file: k8s_vm_init.sh
305 - path: /etc/init.d/k8s_vm_init_serv
308 get_file: k8s_vm_init_serv.sh
311 type: OS::Heat::MultipartMime
314 - config: { get_resource: k8s_01_vm_scripts }
317 type: OS::Nova::Server
320 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '01' ] ]
321 image: { get_param: ubuntu_1604_image }
322 flavor: { get_param: k8s_vm_flavor }
323 key_name: { get_param: key_name }
325 - port: { get_resource: k8s_01_private_port }
326 user_data_format: SOFTWARE_CONFIG
327 user_data: { get_resource: k8s_01_vm_config }
330 type: OS::Neutron::Port
332 network: { get_resource: oam_network }
333 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
335 - { get_resource: onap_sg }
338 type: OS::Neutron::FloatingIP
340 floating_network_id: { get_param: public_net_id }
341 port_id: { get_resource: k8s_02_private_port }
344 type: OS::Heat::CloudConfig
350 - [ /opt/k8s_vm_install.sh ]
352 - path: /opt/k8s_vm_install.sh
357 __docker_proxy__: { get_param: docker_proxy }
358 __apt_proxy__: { get_param: apt_proxy }
359 __docker_version__: { get_param: docker_version }
360 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
361 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
362 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
363 __mtu__: { get_param: mtu }
365 get_file: k8s_vm_install.sh
366 - path: /opt/k8s_vm_init.sh
371 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
372 __host_label__: 'compute'
374 get_file: k8s_vm_init.sh
375 - path: /etc/init.d/k8s_vm_init_serv
378 get_file: k8s_vm_init_serv.sh
381 type: OS::Heat::MultipartMime
384 - config: { get_resource: k8s_02_vm_scripts }
387 type: OS::Nova::Server
390 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '02' ] ]
391 image: { get_param: ubuntu_1604_image }
392 flavor: { get_param: k8s_vm_flavor }
393 key_name: { get_param: key_name }
395 - port: { get_resource: k8s_02_private_port }
396 user_data_format: SOFTWARE_CONFIG
397 user_data: { get_resource: k8s_02_vm_config }
400 type: OS::Neutron::Port
402 network: { get_resource: oam_network }
403 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
405 - { get_resource: onap_sg }
408 type: OS::Neutron::FloatingIP
410 floating_network_id: { get_param: public_net_id }
411 port_id: { get_resource: k8s_03_private_port }
414 type: OS::Heat::CloudConfig
420 - [ /opt/k8s_vm_install.sh ]
422 - path: /opt/k8s_vm_install.sh
427 __docker_proxy__: { get_param: docker_proxy }
428 __apt_proxy__: { get_param: apt_proxy }
429 __docker_version__: { get_param: docker_version }
430 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
431 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
432 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
433 __mtu__: { get_param: mtu }
435 get_file: k8s_vm_install.sh
436 - path: /opt/k8s_vm_init.sh
441 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
442 __host_label__: 'compute'
444 get_file: k8s_vm_init.sh
445 - path: /etc/init.d/k8s_vm_init_serv
448 get_file: k8s_vm_init_serv.sh
451 type: OS::Heat::MultipartMime
454 - config: { get_resource: k8s_03_vm_scripts }
457 type: OS::Nova::Server
460 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '03' ] ]
461 image: { get_param: ubuntu_1604_image }
462 flavor: { get_param: k8s_vm_flavor }
463 key_name: { get_param: key_name }
465 - port: { get_resource: k8s_03_private_port }
466 user_data_format: SOFTWARE_CONFIG
467 user_data: { get_resource: k8s_03_vm_config }
470 type: OS::Neutron::Port
472 network: { get_resource: oam_network }
473 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
475 - { get_resource: onap_sg }
478 type: OS::Neutron::FloatingIP
480 floating_network_id: { get_param: public_net_id }
481 port_id: { get_resource: k8s_04_private_port }
484 type: OS::Heat::CloudConfig
490 - [ /opt/k8s_vm_install.sh ]
492 - path: /opt/k8s_vm_install.sh
497 __docker_proxy__: { get_param: docker_proxy }
498 __apt_proxy__: { get_param: apt_proxy }
499 __docker_version__: { get_param: docker_version }
500 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
501 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
502 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
503 __mtu__: { get_param: mtu }
505 get_file: k8s_vm_install.sh
506 - path: /opt/k8s_vm_init.sh
511 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
512 __host_label__: 'compute'
514 get_file: k8s_vm_init.sh
515 - path: /etc/init.d/k8s_vm_init_serv
518 get_file: k8s_vm_init_serv.sh
521 type: OS::Heat::MultipartMime
524 - config: { get_resource: k8s_04_vm_scripts }
527 type: OS::Nova::Server
530 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '04' ] ]
531 image: { get_param: ubuntu_1604_image }
532 flavor: { get_param: k8s_vm_flavor }
533 key_name: { get_param: key_name }
535 - port: { get_resource: k8s_04_private_port }
536 user_data_format: SOFTWARE_CONFIG
537 user_data: { get_resource: k8s_04_vm_config }
540 type: OS::Neutron::Port
542 network: { get_resource: oam_network }
543 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
545 - { get_resource: onap_sg }
548 type: OS::Neutron::FloatingIP
550 floating_network_id: { get_param: public_net_id }
551 port_id: { get_resource: k8s_05_private_port }
554 type: OS::Heat::CloudConfig
560 - [ /opt/k8s_vm_install.sh ]
562 - path: /opt/k8s_vm_install.sh
567 __docker_proxy__: { get_param: docker_proxy }
568 __apt_proxy__: { get_param: apt_proxy }
569 __docker_version__: { get_param: docker_version }
570 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
571 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
572 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
573 __mtu__: { get_param: mtu }
575 get_file: k8s_vm_install.sh
576 - path: /opt/k8s_vm_init.sh
581 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
582 __host_label__: 'compute'
584 get_file: k8s_vm_init.sh
585 - path: /etc/init.d/k8s_vm_init_serv
588 get_file: k8s_vm_init_serv.sh
591 type: OS::Heat::MultipartMime
594 - config: { get_resource: k8s_05_vm_scripts }
597 type: OS::Nova::Server
600 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '05' ] ]
601 image: { get_param: ubuntu_1604_image }
602 flavor: { get_param: k8s_vm_flavor }
603 key_name: { get_param: key_name }
605 - port: { get_resource: k8s_05_private_port }
606 user_data_format: SOFTWARE_CONFIG
607 user_data: { get_resource: k8s_05_vm_config }
610 type: OS::Neutron::Port
612 network: { get_resource: oam_network }
613 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
615 - { get_resource: onap_sg }
618 type: OS::Neutron::FloatingIP
620 floating_network_id: { get_param: public_net_id }
621 port_id: { get_resource: k8s_06_private_port }
624 type: OS::Heat::CloudConfig
630 - [ /opt/k8s_vm_install.sh ]
632 - path: /opt/k8s_vm_install.sh
637 __docker_proxy__: { get_param: docker_proxy }
638 __apt_proxy__: { get_param: apt_proxy }
639 __docker_version__: { get_param: docker_version }
640 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
641 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
642 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
643 __mtu__: { get_param: mtu }
645 get_file: k8s_vm_install.sh
646 - path: /opt/k8s_vm_init.sh
651 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
652 __host_label__: 'compute'
654 get_file: k8s_vm_init.sh
655 - path: /etc/init.d/k8s_vm_init_serv
658 get_file: k8s_vm_init_serv.sh
661 type: OS::Heat::MultipartMime
664 - config: { get_resource: k8s_06_vm_scripts }
667 type: OS::Nova::Server
670 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '06' ] ]
671 image: { get_param: ubuntu_1604_image }
672 flavor: { get_param: k8s_vm_flavor }
673 key_name: { get_param: key_name }
675 - port: { get_resource: k8s_06_private_port }
676 user_data_format: SOFTWARE_CONFIG
677 user_data: { get_resource: k8s_06_vm_config }
680 type: OS::Neutron::Port
682 network: { get_resource: oam_network }
683 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
685 - { get_resource: onap_sg }
688 type: OS::Neutron::FloatingIP
690 floating_network_id: { get_param: public_net_id }
691 port_id: { get_resource: k8s_07_private_port }
694 type: OS::Heat::CloudConfig
700 - [ /opt/k8s_vm_install.sh ]
702 - path: /opt/k8s_vm_install.sh
707 __docker_proxy__: { get_param: docker_proxy }
708 __apt_proxy__: { get_param: apt_proxy }
709 __docker_version__: { get_param: docker_version }
710 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
711 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
712 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
713 __mtu__: { get_param: mtu }
715 get_file: k8s_vm_install.sh
716 - path: /opt/k8s_vm_init.sh
721 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
722 __host_label__: 'compute'
724 get_file: k8s_vm_init.sh
725 - path: /etc/init.d/k8s_vm_init_serv
728 get_file: k8s_vm_init_serv.sh
731 type: OS::Heat::MultipartMime
734 - config: { get_resource: k8s_07_vm_scripts }
737 type: OS::Nova::Server
740 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '07' ] ]
741 image: { get_param: ubuntu_1604_image }
742 flavor: { get_param: k8s_vm_flavor }
743 key_name: { get_param: key_name }
745 - port: { get_resource: k8s_07_private_port }
746 user_data_format: SOFTWARE_CONFIG
747 user_data: { get_resource: k8s_07_vm_config }
750 type: OS::Neutron::Port
752 network: { get_resource: oam_network }
753 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
755 - { get_resource: onap_sg }
758 type: OS::Neutron::FloatingIP
760 floating_network_id: { get_param: public_net_id }
761 port_id: { get_resource: k8s_08_private_port }
764 type: OS::Heat::CloudConfig
770 - [ /opt/k8s_vm_install.sh ]
772 - path: /opt/k8s_vm_install.sh
777 __docker_proxy__: { get_param: docker_proxy }
778 __apt_proxy__: { get_param: apt_proxy }
779 __docker_version__: { get_param: docker_version }
780 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
781 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
782 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
783 __mtu__: { get_param: mtu }
785 get_file: k8s_vm_install.sh
786 - path: /opt/k8s_vm_init.sh
791 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
792 __host_label__: 'compute'
794 get_file: k8s_vm_init.sh
795 - path: /etc/init.d/k8s_vm_init_serv
798 get_file: k8s_vm_init_serv.sh
801 type: OS::Heat::MultipartMime
804 - config: { get_resource: k8s_08_vm_scripts }
807 type: OS::Nova::Server
810 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '08' ] ]
811 image: { get_param: ubuntu_1604_image }
812 flavor: { get_param: k8s_vm_flavor }
813 key_name: { get_param: key_name }
815 - port: { get_resource: k8s_08_private_port }
816 user_data_format: SOFTWARE_CONFIG
817 user_data: { get_resource: k8s_08_vm_config }
820 type: OS::Neutron::Port
822 network: { get_resource: oam_network }
823 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
825 - { get_resource: onap_sg }
828 type: OS::Neutron::FloatingIP
830 floating_network_id: { get_param: public_net_id }
831 port_id: { get_resource: k8s_09_private_port }
834 type: OS::Heat::CloudConfig
840 - [ /opt/k8s_vm_install.sh ]
842 - path: /opt/k8s_vm_install.sh
847 __docker_proxy__: { get_param: docker_proxy }
848 __apt_proxy__: { get_param: apt_proxy }
849 __docker_version__: { get_param: docker_version }
850 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
851 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
852 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
853 __mtu__: { get_param: mtu }
855 get_file: k8s_vm_install.sh
856 - path: /opt/k8s_vm_init.sh
861 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
862 __host_label__: 'compute'
864 get_file: k8s_vm_init.sh
865 - path: /etc/init.d/k8s_vm_init_serv
868 get_file: k8s_vm_init_serv.sh
871 type: OS::Heat::MultipartMime
874 - config: { get_resource: k8s_09_vm_scripts }
877 type: OS::Nova::Server
880 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '09' ] ]
881 image: { get_param: ubuntu_1604_image }
882 flavor: { get_param: k8s_vm_flavor }
883 key_name: { get_param: key_name }
885 - port: { get_resource: k8s_09_private_port }
886 user_data_format: SOFTWARE_CONFIG
887 user_data: { get_resource: k8s_09_vm_config }
890 type: OS::Neutron::Port
892 network: { get_resource: oam_network }
893 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
895 - { get_resource: onap_sg }
898 type: OS::Neutron::FloatingIP
900 floating_network_id: { get_param: public_net_id }
901 port_id: { get_resource: k8s_10_private_port }
904 type: OS::Heat::CloudConfig
910 - [ /opt/k8s_vm_install.sh ]
912 - path: /opt/k8s_vm_install.sh
917 __docker_proxy__: { get_param: docker_proxy }
918 __apt_proxy__: { get_param: apt_proxy }
919 __docker_version__: { get_param: docker_version }
920 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
921 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
922 __host_private_ip_addr__: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
923 __mtu__: { get_param: mtu }
925 get_file: k8s_vm_install.sh
926 - path: /opt/k8s_vm_init.sh
931 __host_private_ip_addr__: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
932 __host_label__: 'compute'
934 get_file: k8s_vm_init.sh
935 - path: /etc/init.d/k8s_vm_init_serv
938 get_file: k8s_vm_init_serv.sh
941 type: OS::Heat::MultipartMime
944 - config: { get_resource: k8s_10_vm_scripts }
947 type: OS::Nova::Server
950 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '10' ] ]
951 image: { get_param: ubuntu_1604_image }
952 flavor: { get_param: k8s_vm_flavor }
953 key_name: { get_param: key_name }
955 - port: { get_resource: k8s_10_private_port }
956 user_data_format: SOFTWARE_CONFIG
957 user_data: { get_resource: k8s_10_vm_config }
960 type: OS::Neutron::Port
962 network: { get_resource: oam_network }
963 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
965 - { get_resource: onap_sg }
968 type: OS::Neutron::FloatingIP
970 floating_network_id: { get_param: public_net_id }
971 port_id: { get_resource: k8s_11_private_port }
974 type: OS::Heat::CloudConfig
980 - [ /opt/k8s_vm_install.sh ]
982 - path: /opt/k8s_vm_install.sh
987 __docker_proxy__: { get_param: docker_proxy }
988 __apt_proxy__: { get_param: apt_proxy }
989 __docker_version__: { get_param: docker_version }
990 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
991 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
992 __host_private_ip_addr__: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
993 __mtu__: { get_param: mtu }
995 get_file: k8s_vm_install.sh
996 - path: /opt/k8s_vm_init.sh
1001 __host_private_ip_addr__: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
1002 __host_label__: 'compute'
1004 get_file: k8s_vm_init.sh
1005 - path: /etc/init.d/k8s_vm_init_serv
1008 get_file: k8s_vm_init_serv.sh
1011 type: OS::Heat::MultipartMime
1014 - config: { get_resource: k8s_11_vm_scripts }
1017 type: OS::Nova::Server
1020 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '11' ] ]
1021 image: { get_param: ubuntu_1604_image }
1022 flavor: { get_param: k8s_vm_flavor }
1023 key_name: { get_param: key_name }
1025 - port: { get_resource: k8s_11_private_port }
1026 user_data_format: SOFTWARE_CONFIG
1027 user_data: { get_resource: k8s_11_vm_config }
1029 k8s_12_private_port:
1030 type: OS::Neutron::Port
1032 network: { get_resource: oam_network }
1033 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1035 - { get_resource: onap_sg }
1038 type: OS::Neutron::FloatingIP
1040 floating_network_id: { get_param: public_net_id }
1041 port_id: { get_resource: k8s_12_private_port }
1044 type: OS::Heat::CloudConfig
1050 - [ /opt/k8s_vm_install.sh ]
1052 - path: /opt/k8s_vm_install.sh
1057 __docker_proxy__: { get_param: docker_proxy }
1058 __apt_proxy__: { get_param: apt_proxy }
1059 __docker_version__: { get_param: docker_version }
1060 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1061 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1062 __host_private_ip_addr__: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1063 __mtu__: { get_param: mtu }
1065 get_file: k8s_vm_install.sh
1066 - path: /opt/k8s_vm_init.sh
1071 __host_private_ip_addr__: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1072 __host_label__: 'compute'
1074 get_file: k8s_vm_init.sh
1075 - path: /etc/init.d/k8s_vm_init_serv
1078 get_file: k8s_vm_init_serv.sh
1081 type: OS::Heat::MultipartMime
1084 - config: { get_resource: k8s_12_vm_scripts }
1087 type: OS::Nova::Server
1090 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '12' ] ]
1091 image: { get_param: ubuntu_1604_image }
1092 flavor: { get_param: k8s_vm_flavor }
1093 key_name: { get_param: key_name }
1095 - port: { get_resource: k8s_12_private_port }
1096 user_data_format: SOFTWARE_CONFIG
1097 user_data: { get_resource: k8s_12_vm_config }
1099 etcd_1_private_port:
1100 type: OS::Neutron::Port
1102 network: { get_resource: oam_network }
1103 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1105 - { get_resource: onap_sg }
1108 type: OS::Neutron::FloatingIP
1110 floating_network_id: { get_param: public_net_id }
1111 port_id: { get_resource: etcd_1_private_port }
1114 type: OS::Heat::CloudConfig
1120 - [ /opt/k8s_vm_install.sh ]
1122 - path: /opt/k8s_vm_install.sh
1127 __docker_proxy__: { get_param: docker_proxy }
1128 __apt_proxy__: { get_param: apt_proxy }
1129 __docker_version__: { get_param: docker_version }
1130 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1131 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1132 __host_private_ip_addr__: { get_attr: [etcd_1_floating_ip, fixed_ip_address] }
1133 __mtu__: { get_param: mtu }
1135 get_file: k8s_vm_install.sh
1136 - path: /opt/k8s_vm_init.sh
1141 __host_private_ip_addr__: { get_attr: [etcd_1_floating_ip, fixed_ip_address] }
1142 __host_label__: 'etcd'
1144 get_file: k8s_vm_init.sh
1145 - path: /etc/init.d/k8s_vm_init_serv
1148 get_file: k8s_vm_init_serv.sh
1151 type: OS::Heat::MultipartMime
1154 - config: { get_resource: etcd_1_vm_scripts }
1157 type: OS::Nova::Server
1160 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'etcd', '1' ] ]
1161 image: { get_param: ubuntu_1604_image }
1162 flavor: { get_param: etcd_vm_flavor }
1163 key_name: { get_param: key_name }
1165 - port: { get_resource: etcd_1_private_port }
1166 user_data_format: SOFTWARE_CONFIG
1167 user_data: { get_resource: etcd_1_vm_config }
1169 etcd_2_private_port:
1170 type: OS::Neutron::Port
1172 network: { get_resource: oam_network }
1173 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1175 - { get_resource: onap_sg }
1178 type: OS::Neutron::FloatingIP
1180 floating_network_id: { get_param: public_net_id }
1181 port_id: { get_resource: etcd_2_private_port }
1184 type: OS::Heat::CloudConfig
1190 - [ /opt/k8s_vm_install.sh ]
1192 - path: /opt/k8s_vm_install.sh
1197 __docker_proxy__: { get_param: docker_proxy }
1198 __apt_proxy__: { get_param: apt_proxy }
1199 __docker_version__: { get_param: docker_version }
1200 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1201 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1202 __host_private_ip_addr__: { get_attr: [etcd_2_floating_ip, fixed_ip_address] }
1203 __mtu__: { get_param: mtu }
1205 get_file: k8s_vm_install.sh
1206 - path: /opt/k8s_vm_init.sh
1211 __host_private_ip_addr__: { get_attr: [etcd_2_floating_ip, fixed_ip_address] }
1212 __host_label__: 'etcd'
1214 get_file: k8s_vm_init.sh
1215 - path: /etc/init.d/k8s_vm_init_serv
1218 get_file: k8s_vm_init_serv.sh
1221 type: OS::Heat::MultipartMime
1224 - config: { get_resource: etcd_2_vm_scripts }
1227 type: OS::Nova::Server
1230 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'etcd', '2' ] ]
1231 image: { get_param: ubuntu_1604_image }
1232 flavor: { get_param: etcd_vm_flavor }
1233 key_name: { get_param: key_name }
1235 - port: { get_resource: etcd_2_private_port }
1236 user_data_format: SOFTWARE_CONFIG
1237 user_data: { get_resource: etcd_2_vm_config }
1239 etcd_3_private_port:
1240 type: OS::Neutron::Port
1242 network: { get_resource: oam_network }
1243 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1245 - { get_resource: onap_sg }
1248 type: OS::Neutron::FloatingIP
1250 floating_network_id: { get_param: public_net_id }
1251 port_id: { get_resource: etcd_3_private_port }
1254 type: OS::Heat::CloudConfig
1260 - [ /opt/k8s_vm_install.sh ]
1262 - path: /opt/k8s_vm_install.sh
1267 __docker_proxy__: { get_param: docker_proxy }
1268 __apt_proxy__: { get_param: apt_proxy }
1269 __docker_version__: { get_param: docker_version }
1270 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1271 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1272 __host_private_ip_addr__: { get_attr: [etcd_3_floating_ip, fixed_ip_address] }
1273 __mtu__: { get_param: mtu }
1275 get_file: k8s_vm_install.sh
1276 - path: /opt/k8s_vm_init.sh
1281 __host_private_ip_addr__: { get_attr: [etcd_3_floating_ip, fixed_ip_address] }
1282 __host_label__: 'etcd'
1284 get_file: k8s_vm_init.sh
1285 - path: /etc/init.d/k8s_vm_init_serv
1288 get_file: k8s_vm_init_serv.sh
1291 type: OS::Heat::MultipartMime
1294 - config: { get_resource: etcd_3_vm_scripts }
1297 type: OS::Nova::Server
1300 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'etcd', '3' ] ]
1301 image: { get_param: ubuntu_1604_image }
1302 flavor: { get_param: etcd_vm_flavor }
1303 key_name: { get_param: key_name }
1305 - port: { get_resource: etcd_3_private_port }
1306 user_data_format: SOFTWARE_CONFIG
1307 user_data: { get_resource: etcd_3_vm_config }
1309 orch_1_private_port:
1310 type: OS::Neutron::Port
1312 network: { get_resource: oam_network }
1313 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1315 - { get_resource: onap_sg }
1318 type: OS::Neutron::FloatingIP
1320 floating_network_id: { get_param: public_net_id }
1321 port_id: { get_resource: orch_1_private_port }
1324 type: OS::Heat::CloudConfig
1330 - [ /opt/k8s_vm_install.sh ]
1332 - path: /opt/k8s_vm_install.sh
1337 __docker_proxy__: { get_param: docker_proxy }
1338 __apt_proxy__: { get_param: apt_proxy }
1339 __docker_version__: { get_param: docker_version }
1340 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1341 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1342 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1343 __mtu__: { get_param: mtu }
1345 get_file: k8s_vm_install.sh
1346 - path: /opt/k8s_vm_init.sh
1351 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1352 __host_label__: 'orchestration'
1354 get_file: k8s_vm_init.sh
1355 - path: /etc/init.d/k8s_vm_init_serv
1358 get_file: k8s_vm_init_serv.sh
1361 type: OS::Heat::MultipartMime
1364 - config: { get_resource: orch_1_vm_scripts }
1367 type: OS::Nova::Server
1370 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '1' ] ]
1371 image: { get_param: ubuntu_1604_image }
1372 flavor: { get_param: orch_vm_flavor }
1373 key_name: { get_param: key_name }
1375 - port: { get_resource: orch_1_private_port }
1376 user_data_format: SOFTWARE_CONFIG
1377 user_data: { get_resource: orch_1_vm_config }
1379 orch_2_private_port:
1380 type: OS::Neutron::Port
1382 network: { get_resource: oam_network }
1383 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1385 - { get_resource: onap_sg }
1388 type: OS::Neutron::FloatingIP
1390 floating_network_id: { get_param: public_net_id }
1391 port_id: { get_resource: orch_2_private_port }
1394 type: OS::Heat::CloudConfig
1400 - [ /opt/k8s_vm_install.sh ]
1402 - path: /opt/k8s_vm_install.sh
1407 __docker_proxy__: { get_param: docker_proxy }
1408 __apt_proxy__: { get_param: apt_proxy }
1409 __docker_version__: { get_param: docker_version }
1410 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1411 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1412 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1413 __mtu__: { get_param: mtu }
1415 get_file: k8s_vm_install.sh
1416 - path: /opt/k8s_vm_init.sh
1421 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1422 __host_label__: 'orchestration'
1424 get_file: k8s_vm_init.sh
1425 - path: /etc/init.d/k8s_vm_init_serv
1428 get_file: k8s_vm_init_serv.sh
1431 type: OS::Heat::MultipartMime
1434 - config: { get_resource: orch_2_vm_scripts }
1437 type: OS::Nova::Server
1440 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '2' ] ]
1441 image: { get_param: ubuntu_1604_image }
1442 flavor: { get_param: orch_vm_flavor }
1443 key_name: { get_param: key_name }
1445 - port: { get_resource: orch_2_private_port }
1446 user_data_format: SOFTWARE_CONFIG
1447 user_data: { get_resource: orch_2_vm_config }
1451 description: The IP address of the rancher instance
1452 value: { get_attr: [rancher_floating_ip, floating_ip_address] }
1455 description: The IP address of the k8s_01 instance
1456 value: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
1459 description: The IP address of the k8s_02 instance
1460 value: { get_attr: [k8s_02_floating_ip, floating_ip_address] }
1463 description: The IP address of the k8s_03 instance
1464 value: { get_attr: [k8s_03_floating_ip, floating_ip_address] }
1467 description: The IP address of the k8s_04 instance
1468 value: { get_attr: [k8s_04_floating_ip, floating_ip_address] }
1471 description: The IP address of the k8s_05 instance
1472 value: { get_attr: [k8s_05_floating_ip, floating_ip_address] }
1475 description: The IP address of the k8s_06 instance
1476 value: { get_attr: [k8s_06_floating_ip, floating_ip_address] }
1479 description: The IP address of the k8s_07 instance
1480 value: { get_attr: [k8s_07_floating_ip, floating_ip_address] }
1483 description: The IP address of the k8s_08 instance
1484 value: { get_attr: [k8s_08_floating_ip, floating_ip_address] }
1487 description: The IP address of the k8s_09 instance
1488 value: { get_attr: [k8s_09_floating_ip, floating_ip_address] }
1491 description: The IP address of the k8s_10 instance
1492 value: { get_attr: [k8s_10_floating_ip, floating_ip_address] }
1495 description: The IP address of the k8s_11 instance
1496 value: { get_attr: [k8s_11_floating_ip, floating_ip_address] }
1499 description: The IP address of the k8s_12 instance
1500 value: { get_attr: [k8s_12_floating_ip, floating_ip_address] }