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:
78 rancher_agent_version:
96 description: Set to "true" if you want to use a RAM disk for /dockerdata-nfs/.
105 description: The FQDN of the k8s host that will be used for the Portal UI component URLs; this needs to be resolveable at the client
106 default: "portal.api.simpledemo.onap.org"
110 type: OS::Heat::RandomString
114 # ONAP security group
116 type: OS::Neutron::SecurityGroup
123 rand: { get_resource: random-str }
124 description: security group used by ONAP
136 port_range_max: 65535
139 port_range_max: 65535
140 # Protocols used for vLB/vDNS use case
146 # ONAP management private network
148 type: OS::Neutron::Net
152 template: oam_network_rand
154 rand: { get_resource: random-str }
157 type: OS::Neutron::Subnet
161 template: oam_network_rand
163 rand: { get_resource: random-str }
164 network_id: { get_resource: oam_network }
165 cidr: { get_param: oam_network_cidr }
166 dns_nameservers: [ "8.8.8.8" ]
169 type: OS::Neutron::Router
172 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'router']]
173 external_gateway_info:
174 network: { get_param: public_net_id }
177 type: OS::Neutron::RouterInterface
179 router_id: { get_resource: router }
180 subnet_id: { get_resource: oam_subnet }
182 rancher_private_port:
183 type: OS::Neutron::Port
185 network: { get_resource: oam_network }
186 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
188 - { get_resource: onap_sg }
191 type: OS::Neutron::FloatingIP
193 floating_network_id: { get_param: public_net_id }
194 port_id: { get_resource: rancher_private_port }
197 type: OS::Nova::Server
200 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'rancher']]
201 image: { get_param: ubuntu_1604_image }
202 flavor: { get_param: rancher_vm_flavor }
203 key_name: { get_param: key_name }
205 - port: { get_resource: rancher_private_port }
206 user_data_format: RAW
210 get_file: rancher_vm_entrypoint.sh
212 __docker_proxy__: { get_param: docker_proxy }
213 __apt_proxy__: { get_param: apt_proxy }
214 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
215 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
216 __integration_override_yaml__: { get_param: integration_override_yaml }
217 __integration_gerrit_branch__: { get_param: integration_gerrit_branch }
218 __integration_gerrit_refspec__: { get_param: integration_gerrit_refspec }
219 __oom_gerrit_branch__: { get_param: oom_gerrit_branch }
220 __oom_gerrit_refspec__: { get_param: oom_gerrit_refspec }
221 __docker_manifest__: { get_param: docker_manifest }
222 __docker_version__: { get_param: docker_version }
223 __rancher_version__: { get_param: rancher_version }
224 __rancher_agent_version__: { get_param: rancher_agent_version }
225 __kubectl_version__: { get_param: kubectl_version }
226 __helm_version__: { get_param: helm_version }
227 __helm_deploy_delay__: { get_param: helm_deploy_delay }
228 __use_ramdisk__: { get_param: use_ramdisk }
229 __mtu__: { get_param: mtu }
230 __portal_hostname__: { get_param: portal_hostname }
231 __public_net_id__: { get_param: public_net_id }
232 __oam_network_cidr__: { get_param: oam_network_cidr }
233 __oam_network_id__: { get_resource: oam_network }
234 __oam_subnet_id__: { get_resource: oam_subnet }
235 __sec_group__: { get_resource: onap_sg }
236 __k8s_01_vm_ip__: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
238 get_attr: [k8s_01_floating_ip, floating_ip_address],
239 get_attr: [k8s_02_floating_ip, floating_ip_address],
240 get_attr: [k8s_03_floating_ip, floating_ip_address],
241 get_attr: [k8s_04_floating_ip, floating_ip_address],
242 get_attr: [k8s_05_floating_ip, floating_ip_address],
243 get_attr: [k8s_06_floating_ip, floating_ip_address],
244 get_attr: [k8s_07_floating_ip, floating_ip_address],
245 get_attr: [k8s_08_floating_ip, floating_ip_address],
246 get_attr: [k8s_09_floating_ip, floating_ip_address],
247 get_attr: [k8s_10_floating_ip, floating_ip_address],
248 get_attr: [k8s_11_floating_ip, floating_ip_address],
249 get_attr: [k8s_12_floating_ip, floating_ip_address],
251 __k8s_private_ips__: [
252 get_attr: [k8s_01_floating_ip, fixed_ip_address],
253 get_attr: [k8s_02_floating_ip, fixed_ip_address],
254 get_attr: [k8s_03_floating_ip, fixed_ip_address],
255 get_attr: [k8s_04_floating_ip, fixed_ip_address],
256 get_attr: [k8s_05_floating_ip, fixed_ip_address],
257 get_attr: [k8s_06_floating_ip, fixed_ip_address],
258 get_attr: [k8s_07_floating_ip, fixed_ip_address],
259 get_attr: [k8s_08_floating_ip, fixed_ip_address],
260 get_attr: [k8s_09_floating_ip, fixed_ip_address],
261 get_attr: [k8s_10_floating_ip, fixed_ip_address],
262 get_attr: [k8s_11_floating_ip, fixed_ip_address],
263 get_attr: [k8s_12_floating_ip, fixed_ip_address],
266 type: OS::Neutron::Port
268 network: { get_resource: oam_network }
269 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
271 - { get_resource: onap_sg }
274 type: OS::Neutron::FloatingIP
276 floating_network_id: { get_param: public_net_id }
277 port_id: { get_resource: k8s_01_private_port }
280 type: OS::Heat::CloudConfig
286 - [ /opt/k8s_vm_install.sh ]
288 - path: /opt/k8s_vm_install.sh
293 __docker_proxy__: { get_param: docker_proxy }
294 __apt_proxy__: { get_param: apt_proxy }
295 __docker_version__: { get_param: docker_version }
296 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
297 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
298 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
299 __mtu__: { get_param: mtu }
301 get_file: k8s_vm_install.sh
302 - path: /opt/k8s_vm_init.sh
307 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
308 __host_label__: 'compute'
310 get_file: k8s_vm_init.sh
311 - path: /etc/init.d/k8s_vm_init_serv
314 get_file: k8s_vm_init_serv.sh
317 type: OS::Heat::MultipartMime
320 - config: { get_resource: k8s_01_vm_scripts }
323 type: OS::Nova::Server
326 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '01' ] ]
327 image: { get_param: ubuntu_1604_image }
328 flavor: { get_param: k8s_vm_flavor }
329 key_name: { get_param: key_name }
331 - port: { get_resource: k8s_01_private_port }
332 user_data_format: SOFTWARE_CONFIG
333 user_data: { get_resource: k8s_01_vm_config }
336 type: OS::Neutron::Port
338 network: { get_resource: oam_network }
339 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
341 - { get_resource: onap_sg }
344 type: OS::Neutron::FloatingIP
346 floating_network_id: { get_param: public_net_id }
347 port_id: { get_resource: k8s_02_private_port }
350 type: OS::Heat::CloudConfig
356 - [ /opt/k8s_vm_install.sh ]
358 - path: /opt/k8s_vm_install.sh
363 __docker_proxy__: { get_param: docker_proxy }
364 __apt_proxy__: { get_param: apt_proxy }
365 __docker_version__: { get_param: docker_version }
366 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
367 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
368 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
369 __mtu__: { get_param: mtu }
371 get_file: k8s_vm_install.sh
372 - path: /opt/k8s_vm_init.sh
377 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
378 __host_label__: 'compute'
380 get_file: k8s_vm_init.sh
381 - path: /etc/init.d/k8s_vm_init_serv
384 get_file: k8s_vm_init_serv.sh
387 type: OS::Heat::MultipartMime
390 - config: { get_resource: k8s_02_vm_scripts }
393 type: OS::Nova::Server
396 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '02' ] ]
397 image: { get_param: ubuntu_1604_image }
398 flavor: { get_param: k8s_vm_flavor }
399 key_name: { get_param: key_name }
401 - port: { get_resource: k8s_02_private_port }
402 user_data_format: SOFTWARE_CONFIG
403 user_data: { get_resource: k8s_02_vm_config }
406 type: OS::Neutron::Port
408 network: { get_resource: oam_network }
409 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
411 - { get_resource: onap_sg }
414 type: OS::Neutron::FloatingIP
416 floating_network_id: { get_param: public_net_id }
417 port_id: { get_resource: k8s_03_private_port }
420 type: OS::Heat::CloudConfig
426 - [ /opt/k8s_vm_install.sh ]
428 - path: /opt/k8s_vm_install.sh
433 __docker_proxy__: { get_param: docker_proxy }
434 __apt_proxy__: { get_param: apt_proxy }
435 __docker_version__: { get_param: docker_version }
436 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
437 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
438 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
439 __mtu__: { get_param: mtu }
441 get_file: k8s_vm_install.sh
442 - path: /opt/k8s_vm_init.sh
447 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
448 __host_label__: 'compute'
450 get_file: k8s_vm_init.sh
451 - path: /etc/init.d/k8s_vm_init_serv
454 get_file: k8s_vm_init_serv.sh
457 type: OS::Heat::MultipartMime
460 - config: { get_resource: k8s_03_vm_scripts }
463 type: OS::Nova::Server
466 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '03' ] ]
467 image: { get_param: ubuntu_1604_image }
468 flavor: { get_param: k8s_vm_flavor }
469 key_name: { get_param: key_name }
471 - port: { get_resource: k8s_03_private_port }
472 user_data_format: SOFTWARE_CONFIG
473 user_data: { get_resource: k8s_03_vm_config }
476 type: OS::Neutron::Port
478 network: { get_resource: oam_network }
479 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
481 - { get_resource: onap_sg }
484 type: OS::Neutron::FloatingIP
486 floating_network_id: { get_param: public_net_id }
487 port_id: { get_resource: k8s_04_private_port }
490 type: OS::Heat::CloudConfig
496 - [ /opt/k8s_vm_install.sh ]
498 - path: /opt/k8s_vm_install.sh
503 __docker_proxy__: { get_param: docker_proxy }
504 __apt_proxy__: { get_param: apt_proxy }
505 __docker_version__: { get_param: docker_version }
506 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
507 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
508 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
509 __mtu__: { get_param: mtu }
511 get_file: k8s_vm_install.sh
512 - path: /opt/k8s_vm_init.sh
517 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
518 __host_label__: 'compute'
520 get_file: k8s_vm_init.sh
521 - path: /etc/init.d/k8s_vm_init_serv
524 get_file: k8s_vm_init_serv.sh
527 type: OS::Heat::MultipartMime
530 - config: { get_resource: k8s_04_vm_scripts }
533 type: OS::Nova::Server
536 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '04' ] ]
537 image: { get_param: ubuntu_1604_image }
538 flavor: { get_param: k8s_vm_flavor }
539 key_name: { get_param: key_name }
541 - port: { get_resource: k8s_04_private_port }
542 user_data_format: SOFTWARE_CONFIG
543 user_data: { get_resource: k8s_04_vm_config }
546 type: OS::Neutron::Port
548 network: { get_resource: oam_network }
549 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
551 - { get_resource: onap_sg }
554 type: OS::Neutron::FloatingIP
556 floating_network_id: { get_param: public_net_id }
557 port_id: { get_resource: k8s_05_private_port }
560 type: OS::Heat::CloudConfig
566 - [ /opt/k8s_vm_install.sh ]
568 - path: /opt/k8s_vm_install.sh
573 __docker_proxy__: { get_param: docker_proxy }
574 __apt_proxy__: { get_param: apt_proxy }
575 __docker_version__: { get_param: docker_version }
576 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
577 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
578 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
579 __mtu__: { get_param: mtu }
581 get_file: k8s_vm_install.sh
582 - path: /opt/k8s_vm_init.sh
587 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
588 __host_label__: 'compute'
590 get_file: k8s_vm_init.sh
591 - path: /etc/init.d/k8s_vm_init_serv
594 get_file: k8s_vm_init_serv.sh
597 type: OS::Heat::MultipartMime
600 - config: { get_resource: k8s_05_vm_scripts }
603 type: OS::Nova::Server
606 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '05' ] ]
607 image: { get_param: ubuntu_1604_image }
608 flavor: { get_param: k8s_vm_flavor }
609 key_name: { get_param: key_name }
611 - port: { get_resource: k8s_05_private_port }
612 user_data_format: SOFTWARE_CONFIG
613 user_data: { get_resource: k8s_05_vm_config }
616 type: OS::Neutron::Port
618 network: { get_resource: oam_network }
619 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
621 - { get_resource: onap_sg }
624 type: OS::Neutron::FloatingIP
626 floating_network_id: { get_param: public_net_id }
627 port_id: { get_resource: k8s_06_private_port }
630 type: OS::Heat::CloudConfig
636 - [ /opt/k8s_vm_install.sh ]
638 - path: /opt/k8s_vm_install.sh
643 __docker_proxy__: { get_param: docker_proxy }
644 __apt_proxy__: { get_param: apt_proxy }
645 __docker_version__: { get_param: docker_version }
646 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
647 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
648 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
649 __mtu__: { get_param: mtu }
651 get_file: k8s_vm_install.sh
652 - path: /opt/k8s_vm_init.sh
657 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
658 __host_label__: 'compute'
660 get_file: k8s_vm_init.sh
661 - path: /etc/init.d/k8s_vm_init_serv
664 get_file: k8s_vm_init_serv.sh
667 type: OS::Heat::MultipartMime
670 - config: { get_resource: k8s_06_vm_scripts }
673 type: OS::Nova::Server
676 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '06' ] ]
677 image: { get_param: ubuntu_1604_image }
678 flavor: { get_param: k8s_vm_flavor }
679 key_name: { get_param: key_name }
681 - port: { get_resource: k8s_06_private_port }
682 user_data_format: SOFTWARE_CONFIG
683 user_data: { get_resource: k8s_06_vm_config }
686 type: OS::Neutron::Port
688 network: { get_resource: oam_network }
689 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
691 - { get_resource: onap_sg }
694 type: OS::Neutron::FloatingIP
696 floating_network_id: { get_param: public_net_id }
697 port_id: { get_resource: k8s_07_private_port }
700 type: OS::Heat::CloudConfig
706 - [ /opt/k8s_vm_install.sh ]
708 - path: /opt/k8s_vm_install.sh
713 __docker_proxy__: { get_param: docker_proxy }
714 __apt_proxy__: { get_param: apt_proxy }
715 __docker_version__: { get_param: docker_version }
716 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
717 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
718 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
719 __mtu__: { get_param: mtu }
721 get_file: k8s_vm_install.sh
722 - path: /opt/k8s_vm_init.sh
727 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
728 __host_label__: 'compute'
730 get_file: k8s_vm_init.sh
731 - path: /etc/init.d/k8s_vm_init_serv
734 get_file: k8s_vm_init_serv.sh
737 type: OS::Heat::MultipartMime
740 - config: { get_resource: k8s_07_vm_scripts }
743 type: OS::Nova::Server
746 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '07' ] ]
747 image: { get_param: ubuntu_1604_image }
748 flavor: { get_param: k8s_vm_flavor }
749 key_name: { get_param: key_name }
751 - port: { get_resource: k8s_07_private_port }
752 user_data_format: SOFTWARE_CONFIG
753 user_data: { get_resource: k8s_07_vm_config }
756 type: OS::Neutron::Port
758 network: { get_resource: oam_network }
759 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
761 - { get_resource: onap_sg }
764 type: OS::Neutron::FloatingIP
766 floating_network_id: { get_param: public_net_id }
767 port_id: { get_resource: k8s_08_private_port }
770 type: OS::Heat::CloudConfig
776 - [ /opt/k8s_vm_install.sh ]
778 - path: /opt/k8s_vm_install.sh
783 __docker_proxy__: { get_param: docker_proxy }
784 __apt_proxy__: { get_param: apt_proxy }
785 __docker_version__: { get_param: docker_version }
786 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
787 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
788 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
789 __mtu__: { get_param: mtu }
791 get_file: k8s_vm_install.sh
792 - path: /opt/k8s_vm_init.sh
797 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
798 __host_label__: 'compute'
800 get_file: k8s_vm_init.sh
801 - path: /etc/init.d/k8s_vm_init_serv
804 get_file: k8s_vm_init_serv.sh
807 type: OS::Heat::MultipartMime
810 - config: { get_resource: k8s_08_vm_scripts }
813 type: OS::Nova::Server
816 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '08' ] ]
817 image: { get_param: ubuntu_1604_image }
818 flavor: { get_param: k8s_vm_flavor }
819 key_name: { get_param: key_name }
821 - port: { get_resource: k8s_08_private_port }
822 user_data_format: SOFTWARE_CONFIG
823 user_data: { get_resource: k8s_08_vm_config }
826 type: OS::Neutron::Port
828 network: { get_resource: oam_network }
829 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
831 - { get_resource: onap_sg }
834 type: OS::Neutron::FloatingIP
836 floating_network_id: { get_param: public_net_id }
837 port_id: { get_resource: k8s_09_private_port }
840 type: OS::Heat::CloudConfig
846 - [ /opt/k8s_vm_install.sh ]
848 - path: /opt/k8s_vm_install.sh
853 __docker_proxy__: { get_param: docker_proxy }
854 __apt_proxy__: { get_param: apt_proxy }
855 __docker_version__: { get_param: docker_version }
856 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
857 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
858 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
859 __mtu__: { get_param: mtu }
861 get_file: k8s_vm_install.sh
862 - path: /opt/k8s_vm_init.sh
867 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
868 __host_label__: 'compute'
870 get_file: k8s_vm_init.sh
871 - path: /etc/init.d/k8s_vm_init_serv
874 get_file: k8s_vm_init_serv.sh
877 type: OS::Heat::MultipartMime
880 - config: { get_resource: k8s_09_vm_scripts }
883 type: OS::Nova::Server
886 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '09' ] ]
887 image: { get_param: ubuntu_1604_image }
888 flavor: { get_param: k8s_vm_flavor }
889 key_name: { get_param: key_name }
891 - port: { get_resource: k8s_09_private_port }
892 user_data_format: SOFTWARE_CONFIG
893 user_data: { get_resource: k8s_09_vm_config }
896 type: OS::Neutron::Port
898 network: { get_resource: oam_network }
899 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
901 - { get_resource: onap_sg }
904 type: OS::Neutron::FloatingIP
906 floating_network_id: { get_param: public_net_id }
907 port_id: { get_resource: k8s_10_private_port }
910 type: OS::Heat::CloudConfig
916 - [ /opt/k8s_vm_install.sh ]
918 - path: /opt/k8s_vm_install.sh
923 __docker_proxy__: { get_param: docker_proxy }
924 __apt_proxy__: { get_param: apt_proxy }
925 __docker_version__: { get_param: docker_version }
926 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
927 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
928 __host_private_ip_addr__: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
929 __mtu__: { get_param: mtu }
931 get_file: k8s_vm_install.sh
932 - path: /opt/k8s_vm_init.sh
937 __host_private_ip_addr__: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
938 __host_label__: 'compute'
940 get_file: k8s_vm_init.sh
941 - path: /etc/init.d/k8s_vm_init_serv
944 get_file: k8s_vm_init_serv.sh
947 type: OS::Heat::MultipartMime
950 - config: { get_resource: k8s_10_vm_scripts }
953 type: OS::Nova::Server
956 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '10' ] ]
957 image: { get_param: ubuntu_1604_image }
958 flavor: { get_param: k8s_vm_flavor }
959 key_name: { get_param: key_name }
961 - port: { get_resource: k8s_10_private_port }
962 user_data_format: SOFTWARE_CONFIG
963 user_data: { get_resource: k8s_10_vm_config }
966 type: OS::Neutron::Port
968 network: { get_resource: oam_network }
969 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
971 - { get_resource: onap_sg }
974 type: OS::Neutron::FloatingIP
976 floating_network_id: { get_param: public_net_id }
977 port_id: { get_resource: k8s_11_private_port }
980 type: OS::Heat::CloudConfig
986 - [ /opt/k8s_vm_install.sh ]
988 - path: /opt/k8s_vm_install.sh
993 __docker_proxy__: { get_param: docker_proxy }
994 __apt_proxy__: { get_param: apt_proxy }
995 __docker_version__: { get_param: docker_version }
996 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
997 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
998 __host_private_ip_addr__: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
999 __mtu__: { get_param: mtu }
1001 get_file: k8s_vm_install.sh
1002 - path: /opt/k8s_vm_init.sh
1007 __host_private_ip_addr__: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
1008 __host_label__: 'compute'
1010 get_file: k8s_vm_init.sh
1011 - path: /etc/init.d/k8s_vm_init_serv
1014 get_file: k8s_vm_init_serv.sh
1017 type: OS::Heat::MultipartMime
1020 - config: { get_resource: k8s_11_vm_scripts }
1023 type: OS::Nova::Server
1026 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '11' ] ]
1027 image: { get_param: ubuntu_1604_image }
1028 flavor: { get_param: k8s_vm_flavor }
1029 key_name: { get_param: key_name }
1031 - port: { get_resource: k8s_11_private_port }
1032 user_data_format: SOFTWARE_CONFIG
1033 user_data: { get_resource: k8s_11_vm_config }
1035 k8s_12_private_port:
1036 type: OS::Neutron::Port
1038 network: { get_resource: oam_network }
1039 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1041 - { get_resource: onap_sg }
1044 type: OS::Neutron::FloatingIP
1046 floating_network_id: { get_param: public_net_id }
1047 port_id: { get_resource: k8s_12_private_port }
1050 type: OS::Heat::CloudConfig
1056 - [ /opt/k8s_vm_install.sh ]
1058 - path: /opt/k8s_vm_install.sh
1063 __docker_proxy__: { get_param: docker_proxy }
1064 __apt_proxy__: { get_param: apt_proxy }
1065 __docker_version__: { get_param: docker_version }
1066 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1067 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1068 __host_private_ip_addr__: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1069 __mtu__: { get_param: mtu }
1071 get_file: k8s_vm_install.sh
1072 - path: /opt/k8s_vm_init.sh
1077 __host_private_ip_addr__: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1078 __host_label__: 'compute'
1080 get_file: k8s_vm_init.sh
1081 - path: /etc/init.d/k8s_vm_init_serv
1084 get_file: k8s_vm_init_serv.sh
1087 type: OS::Heat::MultipartMime
1090 - config: { get_resource: k8s_12_vm_scripts }
1093 type: OS::Nova::Server
1096 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '12' ] ]
1097 image: { get_param: ubuntu_1604_image }
1098 flavor: { get_param: k8s_vm_flavor }
1099 key_name: { get_param: key_name }
1101 - port: { get_resource: k8s_12_private_port }
1102 user_data_format: SOFTWARE_CONFIG
1103 user_data: { get_resource: k8s_12_vm_config }
1105 etcd_1_private_port:
1106 type: OS::Neutron::Port
1108 network: { get_resource: oam_network }
1109 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1111 - { get_resource: onap_sg }
1114 type: OS::Neutron::FloatingIP
1116 floating_network_id: { get_param: public_net_id }
1117 port_id: { get_resource: etcd_1_private_port }
1120 type: OS::Heat::CloudConfig
1126 - [ /opt/k8s_vm_install.sh ]
1128 - path: /opt/k8s_vm_install.sh
1133 __docker_proxy__: { get_param: docker_proxy }
1134 __apt_proxy__: { get_param: apt_proxy }
1135 __docker_version__: { get_param: docker_version }
1136 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1137 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1138 __host_private_ip_addr__: { get_attr: [etcd_1_floating_ip, fixed_ip_address] }
1139 __mtu__: { get_param: mtu }
1141 get_file: k8s_vm_install.sh
1142 - path: /opt/k8s_vm_init.sh
1147 __host_private_ip_addr__: { get_attr: [etcd_1_floating_ip, fixed_ip_address] }
1148 __host_label__: 'etcd'
1150 get_file: k8s_vm_init.sh
1151 - path: /etc/init.d/k8s_vm_init_serv
1154 get_file: k8s_vm_init_serv.sh
1157 type: OS::Heat::MultipartMime
1160 - config: { get_resource: etcd_1_vm_scripts }
1163 type: OS::Nova::Server
1166 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'etcd', '1' ] ]
1167 image: { get_param: ubuntu_1604_image }
1168 flavor: { get_param: etcd_vm_flavor }
1169 key_name: { get_param: key_name }
1171 - port: { get_resource: etcd_1_private_port }
1172 user_data_format: SOFTWARE_CONFIG
1173 user_data: { get_resource: etcd_1_vm_config }
1175 etcd_2_private_port:
1176 type: OS::Neutron::Port
1178 network: { get_resource: oam_network }
1179 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1181 - { get_resource: onap_sg }
1184 type: OS::Neutron::FloatingIP
1186 floating_network_id: { get_param: public_net_id }
1187 port_id: { get_resource: etcd_2_private_port }
1190 type: OS::Heat::CloudConfig
1196 - [ /opt/k8s_vm_install.sh ]
1198 - path: /opt/k8s_vm_install.sh
1203 __docker_proxy__: { get_param: docker_proxy }
1204 __apt_proxy__: { get_param: apt_proxy }
1205 __docker_version__: { get_param: docker_version }
1206 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1207 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1208 __host_private_ip_addr__: { get_attr: [etcd_2_floating_ip, fixed_ip_address] }
1209 __mtu__: { get_param: mtu }
1211 get_file: k8s_vm_install.sh
1212 - path: /opt/k8s_vm_init.sh
1217 __host_private_ip_addr__: { get_attr: [etcd_2_floating_ip, fixed_ip_address] }
1218 __host_label__: 'etcd'
1220 get_file: k8s_vm_init.sh
1221 - path: /etc/init.d/k8s_vm_init_serv
1224 get_file: k8s_vm_init_serv.sh
1227 type: OS::Heat::MultipartMime
1230 - config: { get_resource: etcd_2_vm_scripts }
1233 type: OS::Nova::Server
1236 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'etcd', '2' ] ]
1237 image: { get_param: ubuntu_1604_image }
1238 flavor: { get_param: etcd_vm_flavor }
1239 key_name: { get_param: key_name }
1241 - port: { get_resource: etcd_2_private_port }
1242 user_data_format: SOFTWARE_CONFIG
1243 user_data: { get_resource: etcd_2_vm_config }
1245 etcd_3_private_port:
1246 type: OS::Neutron::Port
1248 network: { get_resource: oam_network }
1249 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1251 - { get_resource: onap_sg }
1254 type: OS::Neutron::FloatingIP
1256 floating_network_id: { get_param: public_net_id }
1257 port_id: { get_resource: etcd_3_private_port }
1260 type: OS::Heat::CloudConfig
1266 - [ /opt/k8s_vm_install.sh ]
1268 - path: /opt/k8s_vm_install.sh
1273 __docker_proxy__: { get_param: docker_proxy }
1274 __apt_proxy__: { get_param: apt_proxy }
1275 __docker_version__: { get_param: docker_version }
1276 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1277 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1278 __host_private_ip_addr__: { get_attr: [etcd_3_floating_ip, fixed_ip_address] }
1279 __mtu__: { get_param: mtu }
1281 get_file: k8s_vm_install.sh
1282 - path: /opt/k8s_vm_init.sh
1287 __host_private_ip_addr__: { get_attr: [etcd_3_floating_ip, fixed_ip_address] }
1288 __host_label__: 'etcd'
1290 get_file: k8s_vm_init.sh
1291 - path: /etc/init.d/k8s_vm_init_serv
1294 get_file: k8s_vm_init_serv.sh
1297 type: OS::Heat::MultipartMime
1300 - config: { get_resource: etcd_3_vm_scripts }
1303 type: OS::Nova::Server
1306 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'etcd', '3' ] ]
1307 image: { get_param: ubuntu_1604_image }
1308 flavor: { get_param: etcd_vm_flavor }
1309 key_name: { get_param: key_name }
1311 - port: { get_resource: etcd_3_private_port }
1312 user_data_format: SOFTWARE_CONFIG
1313 user_data: { get_resource: etcd_3_vm_config }
1315 orch_1_private_port:
1316 type: OS::Neutron::Port
1318 network: { get_resource: oam_network }
1319 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1321 - { get_resource: onap_sg }
1324 type: OS::Neutron::FloatingIP
1326 floating_network_id: { get_param: public_net_id }
1327 port_id: { get_resource: orch_1_private_port }
1330 type: OS::Heat::CloudConfig
1336 - [ /opt/k8s_vm_install.sh ]
1338 - path: /opt/k8s_vm_install.sh
1343 __docker_proxy__: { get_param: docker_proxy }
1344 __apt_proxy__: { get_param: apt_proxy }
1345 __docker_version__: { get_param: docker_version }
1346 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1347 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1348 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1349 __mtu__: { get_param: mtu }
1351 get_file: k8s_vm_install.sh
1352 - path: /opt/k8s_vm_init.sh
1357 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1358 __host_label__: 'orchestration'
1360 get_file: k8s_vm_init.sh
1361 - path: /etc/init.d/k8s_vm_init_serv
1364 get_file: k8s_vm_init_serv.sh
1367 type: OS::Heat::MultipartMime
1370 - config: { get_resource: orch_1_vm_scripts }
1373 type: OS::Nova::Server
1376 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '1' ] ]
1377 image: { get_param: ubuntu_1604_image }
1378 flavor: { get_param: orch_vm_flavor }
1379 key_name: { get_param: key_name }
1381 - port: { get_resource: orch_1_private_port }
1382 user_data_format: SOFTWARE_CONFIG
1383 user_data: { get_resource: orch_1_vm_config }
1385 orch_2_private_port:
1386 type: OS::Neutron::Port
1388 network: { get_resource: oam_network }
1389 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1391 - { get_resource: onap_sg }
1394 type: OS::Neutron::FloatingIP
1396 floating_network_id: { get_param: public_net_id }
1397 port_id: { get_resource: orch_2_private_port }
1400 type: OS::Heat::CloudConfig
1406 - [ /opt/k8s_vm_install.sh ]
1408 - path: /opt/k8s_vm_install.sh
1413 __docker_proxy__: { get_param: docker_proxy }
1414 __apt_proxy__: { get_param: apt_proxy }
1415 __docker_version__: { get_param: docker_version }
1416 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1417 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1418 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1419 __mtu__: { get_param: mtu }
1421 get_file: k8s_vm_install.sh
1422 - path: /opt/k8s_vm_init.sh
1427 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1428 __host_label__: 'orchestration'
1430 get_file: k8s_vm_init.sh
1431 - path: /etc/init.d/k8s_vm_init_serv
1434 get_file: k8s_vm_init_serv.sh
1437 type: OS::Heat::MultipartMime
1440 - config: { get_resource: orch_2_vm_scripts }
1443 type: OS::Nova::Server
1446 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '2' ] ]
1447 image: { get_param: ubuntu_1604_image }
1448 flavor: { get_param: orch_vm_flavor }
1449 key_name: { get_param: key_name }
1451 - port: { get_resource: orch_2_private_port }
1452 user_data_format: SOFTWARE_CONFIG
1453 user_data: { get_resource: orch_2_vm_config }
1457 description: The IP address of the rancher instance
1458 value: { get_attr: [rancher_floating_ip, floating_ip_address] }
1461 description: The IP address of the k8s_01 instance
1462 value: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
1465 description: The IP address of the k8s_02 instance
1466 value: { get_attr: [k8s_02_floating_ip, floating_ip_address] }
1469 description: The IP address of the k8s_03 instance
1470 value: { get_attr: [k8s_03_floating_ip, floating_ip_address] }
1473 description: The IP address of the k8s_04 instance
1474 value: { get_attr: [k8s_04_floating_ip, floating_ip_address] }
1477 description: The IP address of the k8s_05 instance
1478 value: { get_attr: [k8s_05_floating_ip, floating_ip_address] }
1481 description: The IP address of the k8s_06 instance
1482 value: { get_attr: [k8s_06_floating_ip, floating_ip_address] }
1485 description: The IP address of the k8s_07 instance
1486 value: { get_attr: [k8s_07_floating_ip, floating_ip_address] }
1489 description: The IP address of the k8s_08 instance
1490 value: { get_attr: [k8s_08_floating_ip, floating_ip_address] }
1493 description: The IP address of the k8s_09 instance
1494 value: { get_attr: [k8s_09_floating_ip, floating_ip_address] }
1497 description: The IP address of the k8s_10 instance
1498 value: { get_attr: [k8s_10_floating_ip, floating_ip_address] }
1501 description: The IP address of the k8s_11 instance
1502 value: { get_attr: [k8s_11_floating_ip, floating_ip_address] }
1505 description: The IP address of the k8s_12 instance
1506 value: { get_attr: [k8s_12_floating_ip, floating_ip_address] }