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 RKE 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: CIDR of the onap_oam_ext network
28 description: Name of the Ubuntu 18.04 image
32 description: VM flavor for Rancher
36 description: VM flavor for k8s hosts
40 description: VM flavor for etcd hosts
44 description: VM flavor for orch hosts
46 integration_override_yaml:
48 description: Content for integration_override.yaml
50 integration_gerrit_branch:
54 integration_gerrit_refspec:
92 description: Set to "true" if you want to use a RAM disk for /dockerdata-nfs/.
101 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
102 default: "portal.api.simpledemo.onap.org"
106 type: OS::Heat::RandomString
110 # ONAP security group
112 type: OS::Neutron::SecurityGroup
119 rand: { get_resource: random-str }
120 description: security group used by ONAP
132 port_range_max: 65535
135 port_range_max: 65535
136 # Protocols used for vLB/vDNS use case
142 type: OS::Neutron::Router
145 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'router']]
146 external_gateway_info:
147 network: { get_param: public_net_id }
149 # ONAP management private network
151 type: OS::Neutron::Net
155 template: oam_network_rand
157 rand: { get_resource: random-str }
160 type: OS::Neutron::Subnet
164 template: oam_network_rand
166 rand: { get_resource: random-str }
167 network_id: { get_resource: oam_network }
168 cidr: { get_param: oam_network_cidr }
169 dns_nameservers: [ "8.8.8.8" ]
171 oam_router_interface:
172 type: OS::Neutron::RouterInterface
174 router_id: { get_resource: router }
175 subnet_id: { get_resource: oam_subnet }
178 type: OS::Neutron::Net
183 type: OS::Neutron::Subnet
186 network_id: { get_resource: oam_ext_network }
187 cidr: { get_param: oam_ext_network_cidr }
189 dns_nameservers: [ "8.8.8.8" ]
191 oam_ext_router_interface:
192 type: OS::Neutron::RouterInterface
194 router_id: { get_resource: router }
195 subnet_id: { get_resource: oam_ext_subnet }
197 rancher_private_port:
198 type: OS::Neutron::Port
200 network: { get_resource: oam_network }
201 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
203 - { get_resource: onap_sg }
206 type: OS::Neutron::FloatingIP
208 floating_network_id: { get_param: public_net_id }
209 port_id: { get_resource: rancher_private_port }
212 type: OS::Nova::Server
215 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'rancher']]
216 image: { get_param: ubuntu_1804_image }
217 flavor: { get_param: rancher_vm_flavor }
218 key_name: { get_param: key_name }
220 - port: { get_resource: rancher_private_port }
221 user_data_format: RAW
225 get_file: rancher_vm_entrypoint.sh
227 __docker_proxy__: { get_param: docker_proxy }
228 __apt_proxy__: { get_param: apt_proxy }
229 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
230 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
231 __integration_override_yaml__: { get_param: integration_override_yaml }
232 __integration_gerrit_branch__: { get_param: integration_gerrit_branch }
233 __integration_gerrit_refspec__: { get_param: integration_gerrit_refspec }
234 __oom_gerrit_branch__: { get_param: oom_gerrit_branch }
235 __oom_gerrit_refspec__: { get_param: oom_gerrit_refspec }
236 __docker_manifest__: { get_param: docker_manifest }
237 __docker_version__: { get_param: docker_version }
238 __kubectl_version__: { get_param: kubectl_version }
239 __helm_version__: { get_param: helm_version }
240 __helm_deploy_delay__: { get_param: helm_deploy_delay }
241 __use_ramdisk__: { get_param: use_ramdisk }
242 __mtu__: { get_param: mtu }
243 __portal_hostname__: { get_param: portal_hostname }
244 __public_net_id__: { get_param: public_net_id }
245 __oam_network_cidr__: { get_param: oam_network_cidr }
246 __oam_network_id__: { get_resource: oam_network }
247 __oam_subnet_id__: { get_resource: oam_subnet }
248 __sec_group__: { get_resource: onap_sg }
249 __k8s_01_vm_ip__: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
251 get_attr: [k8s_01_floating_ip, floating_ip_address],
252 get_attr: [k8s_02_floating_ip, floating_ip_address],
253 get_attr: [k8s_03_floating_ip, floating_ip_address],
254 get_attr: [k8s_04_floating_ip, floating_ip_address],
255 get_attr: [k8s_05_floating_ip, floating_ip_address],
256 get_attr: [k8s_06_floating_ip, floating_ip_address],
257 get_attr: [k8s_07_floating_ip, floating_ip_address],
258 get_attr: [k8s_08_floating_ip, floating_ip_address],
259 get_attr: [k8s_09_floating_ip, floating_ip_address],
260 get_attr: [k8s_10_floating_ip, floating_ip_address],
261 get_attr: [k8s_11_floating_ip, floating_ip_address],
262 get_attr: [k8s_12_floating_ip, floating_ip_address],
264 __k8s_private_ips__: [
265 get_attr: [k8s_01_floating_ip, fixed_ip_address],
266 get_attr: [k8s_02_floating_ip, fixed_ip_address],
267 get_attr: [k8s_03_floating_ip, fixed_ip_address],
268 get_attr: [k8s_04_floating_ip, fixed_ip_address],
269 get_attr: [k8s_05_floating_ip, fixed_ip_address],
270 get_attr: [k8s_06_floating_ip, fixed_ip_address],
271 get_attr: [k8s_07_floating_ip, fixed_ip_address],
272 get_attr: [k8s_08_floating_ip, fixed_ip_address],
273 get_attr: [k8s_09_floating_ip, fixed_ip_address],
274 get_attr: [k8s_10_floating_ip, fixed_ip_address],
275 get_attr: [k8s_11_floating_ip, fixed_ip_address],
276 get_attr: [k8s_12_floating_ip, fixed_ip_address],
279 type: OS::Neutron::Port
281 network: { get_resource: oam_network }
282 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
284 - { get_resource: onap_sg }
287 type: OS::Neutron::FloatingIP
289 floating_network_id: { get_param: public_net_id }
290 port_id: { get_resource: k8s_01_private_port }
293 type: OS::Heat::CloudConfig
299 - [ /opt/k8s_vm_install.sh ]
301 - path: /opt/k8s_vm_install.sh
306 __docker_proxy__: { get_param: docker_proxy }
307 __apt_proxy__: { get_param: apt_proxy }
308 __docker_version__: { get_param: docker_version }
309 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
310 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
311 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
312 __mtu__: { get_param: mtu }
314 get_file: k8s_vm_install.sh
315 - path: /opt/k8s_vm_init.sh
320 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
321 __host_label__: 'compute'
323 get_file: k8s_vm_init.sh
324 - path: /etc/init.d/k8s_vm_init_serv
327 get_file: k8s_vm_init_serv.sh
330 type: OS::Heat::MultipartMime
333 - config: { get_resource: k8s_01_vm_scripts }
336 type: OS::Nova::Server
339 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '01' ] ]
340 image: { get_param: ubuntu_1804_image }
341 flavor: { get_param: k8s_vm_flavor }
342 key_name: { get_param: key_name }
344 - port: { get_resource: k8s_01_private_port }
345 user_data_format: SOFTWARE_CONFIG
346 user_data: { get_resource: k8s_01_vm_config }
349 type: OS::Neutron::Port
351 network: { get_resource: oam_network }
352 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
354 - { get_resource: onap_sg }
357 type: OS::Neutron::FloatingIP
359 floating_network_id: { get_param: public_net_id }
360 port_id: { get_resource: k8s_02_private_port }
363 type: OS::Heat::CloudConfig
369 - [ /opt/k8s_vm_install.sh ]
371 - path: /opt/k8s_vm_install.sh
376 __docker_proxy__: { get_param: docker_proxy }
377 __apt_proxy__: { get_param: apt_proxy }
378 __docker_version__: { get_param: docker_version }
379 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
380 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
381 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
382 __mtu__: { get_param: mtu }
384 get_file: k8s_vm_install.sh
385 - path: /opt/k8s_vm_init.sh
390 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
391 __host_label__: 'compute'
393 get_file: k8s_vm_init.sh
394 - path: /etc/init.d/k8s_vm_init_serv
397 get_file: k8s_vm_init_serv.sh
400 type: OS::Heat::MultipartMime
403 - config: { get_resource: k8s_02_vm_scripts }
406 type: OS::Nova::Server
409 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '02' ] ]
410 image: { get_param: ubuntu_1804_image }
411 flavor: { get_param: k8s_vm_flavor }
412 key_name: { get_param: key_name }
414 - port: { get_resource: k8s_02_private_port }
415 user_data_format: SOFTWARE_CONFIG
416 user_data: { get_resource: k8s_02_vm_config }
419 type: OS::Neutron::Port
421 network: { get_resource: oam_network }
422 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
424 - { get_resource: onap_sg }
427 type: OS::Neutron::FloatingIP
429 floating_network_id: { get_param: public_net_id }
430 port_id: { get_resource: k8s_03_private_port }
433 type: OS::Heat::CloudConfig
439 - [ /opt/k8s_vm_install.sh ]
441 - path: /opt/k8s_vm_install.sh
446 __docker_proxy__: { get_param: docker_proxy }
447 __apt_proxy__: { get_param: apt_proxy }
448 __docker_version__: { get_param: docker_version }
449 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
450 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
451 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
452 __mtu__: { get_param: mtu }
454 get_file: k8s_vm_install.sh
455 - path: /opt/k8s_vm_init.sh
460 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
461 __host_label__: 'compute'
463 get_file: k8s_vm_init.sh
464 - path: /etc/init.d/k8s_vm_init_serv
467 get_file: k8s_vm_init_serv.sh
470 type: OS::Heat::MultipartMime
473 - config: { get_resource: k8s_03_vm_scripts }
476 type: OS::Nova::Server
479 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '03' ] ]
480 image: { get_param: ubuntu_1804_image }
481 flavor: { get_param: k8s_vm_flavor }
482 key_name: { get_param: key_name }
484 - port: { get_resource: k8s_03_private_port }
485 user_data_format: SOFTWARE_CONFIG
486 user_data: { get_resource: k8s_03_vm_config }
489 type: OS::Neutron::Port
491 network: { get_resource: oam_network }
492 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
494 - { get_resource: onap_sg }
497 type: OS::Neutron::FloatingIP
499 floating_network_id: { get_param: public_net_id }
500 port_id: { get_resource: k8s_04_private_port }
503 type: OS::Heat::CloudConfig
509 - [ /opt/k8s_vm_install.sh ]
511 - path: /opt/k8s_vm_install.sh
516 __docker_proxy__: { get_param: docker_proxy }
517 __apt_proxy__: { get_param: apt_proxy }
518 __docker_version__: { get_param: docker_version }
519 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
520 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
521 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
522 __mtu__: { get_param: mtu }
524 get_file: k8s_vm_install.sh
525 - path: /opt/k8s_vm_init.sh
530 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
531 __host_label__: 'compute'
533 get_file: k8s_vm_init.sh
534 - path: /etc/init.d/k8s_vm_init_serv
537 get_file: k8s_vm_init_serv.sh
540 type: OS::Heat::MultipartMime
543 - config: { get_resource: k8s_04_vm_scripts }
546 type: OS::Nova::Server
549 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '04' ] ]
550 image: { get_param: ubuntu_1804_image }
551 flavor: { get_param: k8s_vm_flavor }
552 key_name: { get_param: key_name }
554 - port: { get_resource: k8s_04_private_port }
555 user_data_format: SOFTWARE_CONFIG
556 user_data: { get_resource: k8s_04_vm_config }
559 type: OS::Neutron::Port
561 network: { get_resource: oam_network }
562 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
564 - { get_resource: onap_sg }
567 type: OS::Neutron::FloatingIP
569 floating_network_id: { get_param: public_net_id }
570 port_id: { get_resource: k8s_05_private_port }
573 type: OS::Heat::CloudConfig
579 - [ /opt/k8s_vm_install.sh ]
581 - path: /opt/k8s_vm_install.sh
586 __docker_proxy__: { get_param: docker_proxy }
587 __apt_proxy__: { get_param: apt_proxy }
588 __docker_version__: { get_param: docker_version }
589 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
590 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
591 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
592 __mtu__: { get_param: mtu }
594 get_file: k8s_vm_install.sh
595 - path: /opt/k8s_vm_init.sh
600 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
601 __host_label__: 'compute'
603 get_file: k8s_vm_init.sh
604 - path: /etc/init.d/k8s_vm_init_serv
607 get_file: k8s_vm_init_serv.sh
610 type: OS::Heat::MultipartMime
613 - config: { get_resource: k8s_05_vm_scripts }
616 type: OS::Nova::Server
619 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '05' ] ]
620 image: { get_param: ubuntu_1804_image }
621 flavor: { get_param: k8s_vm_flavor }
622 key_name: { get_param: key_name }
624 - port: { get_resource: k8s_05_private_port }
625 user_data_format: SOFTWARE_CONFIG
626 user_data: { get_resource: k8s_05_vm_config }
629 type: OS::Neutron::Port
631 network: { get_resource: oam_network }
632 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
634 - { get_resource: onap_sg }
637 type: OS::Neutron::FloatingIP
639 floating_network_id: { get_param: public_net_id }
640 port_id: { get_resource: k8s_06_private_port }
643 type: OS::Heat::CloudConfig
649 - [ /opt/k8s_vm_install.sh ]
651 - path: /opt/k8s_vm_install.sh
656 __docker_proxy__: { get_param: docker_proxy }
657 __apt_proxy__: { get_param: apt_proxy }
658 __docker_version__: { get_param: docker_version }
659 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
660 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
661 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
662 __mtu__: { get_param: mtu }
664 get_file: k8s_vm_install.sh
665 - path: /opt/k8s_vm_init.sh
670 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
671 __host_label__: 'compute'
673 get_file: k8s_vm_init.sh
674 - path: /etc/init.d/k8s_vm_init_serv
677 get_file: k8s_vm_init_serv.sh
680 type: OS::Heat::MultipartMime
683 - config: { get_resource: k8s_06_vm_scripts }
686 type: OS::Nova::Server
689 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '06' ] ]
690 image: { get_param: ubuntu_1804_image }
691 flavor: { get_param: k8s_vm_flavor }
692 key_name: { get_param: key_name }
694 - port: { get_resource: k8s_06_private_port }
695 user_data_format: SOFTWARE_CONFIG
696 user_data: { get_resource: k8s_06_vm_config }
699 type: OS::Neutron::Port
701 network: { get_resource: oam_network }
702 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
704 - { get_resource: onap_sg }
707 type: OS::Neutron::FloatingIP
709 floating_network_id: { get_param: public_net_id }
710 port_id: { get_resource: k8s_07_private_port }
713 type: OS::Heat::CloudConfig
719 - [ /opt/k8s_vm_install.sh ]
721 - path: /opt/k8s_vm_install.sh
726 __docker_proxy__: { get_param: docker_proxy }
727 __apt_proxy__: { get_param: apt_proxy }
728 __docker_version__: { get_param: docker_version }
729 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
730 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
731 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
732 __mtu__: { get_param: mtu }
734 get_file: k8s_vm_install.sh
735 - path: /opt/k8s_vm_init.sh
740 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
741 __host_label__: 'compute'
743 get_file: k8s_vm_init.sh
744 - path: /etc/init.d/k8s_vm_init_serv
747 get_file: k8s_vm_init_serv.sh
750 type: OS::Heat::MultipartMime
753 - config: { get_resource: k8s_07_vm_scripts }
756 type: OS::Nova::Server
759 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '07' ] ]
760 image: { get_param: ubuntu_1804_image }
761 flavor: { get_param: k8s_vm_flavor }
762 key_name: { get_param: key_name }
764 - port: { get_resource: k8s_07_private_port }
765 user_data_format: SOFTWARE_CONFIG
766 user_data: { get_resource: k8s_07_vm_config }
769 type: OS::Neutron::Port
771 network: { get_resource: oam_network }
772 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
774 - { get_resource: onap_sg }
777 type: OS::Neutron::FloatingIP
779 floating_network_id: { get_param: public_net_id }
780 port_id: { get_resource: k8s_08_private_port }
783 type: OS::Heat::CloudConfig
789 - [ /opt/k8s_vm_install.sh ]
791 - path: /opt/k8s_vm_install.sh
796 __docker_proxy__: { get_param: docker_proxy }
797 __apt_proxy__: { get_param: apt_proxy }
798 __docker_version__: { get_param: docker_version }
799 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
800 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
801 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
802 __mtu__: { get_param: mtu }
804 get_file: k8s_vm_install.sh
805 - path: /opt/k8s_vm_init.sh
810 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
811 __host_label__: 'compute'
813 get_file: k8s_vm_init.sh
814 - path: /etc/init.d/k8s_vm_init_serv
817 get_file: k8s_vm_init_serv.sh
820 type: OS::Heat::MultipartMime
823 - config: { get_resource: k8s_08_vm_scripts }
826 type: OS::Nova::Server
829 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '08' ] ]
830 image: { get_param: ubuntu_1804_image }
831 flavor: { get_param: k8s_vm_flavor }
832 key_name: { get_param: key_name }
834 - port: { get_resource: k8s_08_private_port }
835 user_data_format: SOFTWARE_CONFIG
836 user_data: { get_resource: k8s_08_vm_config }
839 type: OS::Neutron::Port
841 network: { get_resource: oam_network }
842 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
844 - { get_resource: onap_sg }
847 type: OS::Neutron::FloatingIP
849 floating_network_id: { get_param: public_net_id }
850 port_id: { get_resource: k8s_09_private_port }
853 type: OS::Heat::CloudConfig
859 - [ /opt/k8s_vm_install.sh ]
861 - path: /opt/k8s_vm_install.sh
866 __docker_proxy__: { get_param: docker_proxy }
867 __apt_proxy__: { get_param: apt_proxy }
868 __docker_version__: { get_param: docker_version }
869 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
870 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
871 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
872 __mtu__: { get_param: mtu }
874 get_file: k8s_vm_install.sh
875 - path: /opt/k8s_vm_init.sh
880 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
881 __host_label__: 'compute'
883 get_file: k8s_vm_init.sh
884 - path: /etc/init.d/k8s_vm_init_serv
887 get_file: k8s_vm_init_serv.sh
890 type: OS::Heat::MultipartMime
893 - config: { get_resource: k8s_09_vm_scripts }
896 type: OS::Nova::Server
899 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '09' ] ]
900 image: { get_param: ubuntu_1804_image }
901 flavor: { get_param: k8s_vm_flavor }
902 key_name: { get_param: key_name }
904 - port: { get_resource: k8s_09_private_port }
905 user_data_format: SOFTWARE_CONFIG
906 user_data: { get_resource: k8s_09_vm_config }
909 type: OS::Neutron::Port
911 network: { get_resource: oam_network }
912 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
914 - { get_resource: onap_sg }
917 type: OS::Neutron::FloatingIP
919 floating_network_id: { get_param: public_net_id }
920 port_id: { get_resource: k8s_10_private_port }
923 type: OS::Heat::CloudConfig
929 - [ /opt/k8s_vm_install.sh ]
931 - path: /opt/k8s_vm_install.sh
936 __docker_proxy__: { get_param: docker_proxy }
937 __apt_proxy__: { get_param: apt_proxy }
938 __docker_version__: { get_param: docker_version }
939 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
940 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
941 __host_private_ip_addr__: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
942 __mtu__: { get_param: mtu }
944 get_file: k8s_vm_install.sh
945 - path: /opt/k8s_vm_init.sh
950 __host_private_ip_addr__: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
951 __host_label__: 'compute'
953 get_file: k8s_vm_init.sh
954 - path: /etc/init.d/k8s_vm_init_serv
957 get_file: k8s_vm_init_serv.sh
960 type: OS::Heat::MultipartMime
963 - config: { get_resource: k8s_10_vm_scripts }
966 type: OS::Nova::Server
969 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '10' ] ]
970 image: { get_param: ubuntu_1804_image }
971 flavor: { get_param: k8s_vm_flavor }
972 key_name: { get_param: key_name }
974 - port: { get_resource: k8s_10_private_port }
975 user_data_format: SOFTWARE_CONFIG
976 user_data: { get_resource: k8s_10_vm_config }
979 type: OS::Neutron::Port
981 network: { get_resource: oam_network }
982 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
984 - { get_resource: onap_sg }
987 type: OS::Neutron::FloatingIP
989 floating_network_id: { get_param: public_net_id }
990 port_id: { get_resource: k8s_11_private_port }
993 type: OS::Heat::CloudConfig
999 - [ /opt/k8s_vm_install.sh ]
1001 - path: /opt/k8s_vm_install.sh
1006 __docker_proxy__: { get_param: docker_proxy }
1007 __apt_proxy__: { get_param: apt_proxy }
1008 __docker_version__: { get_param: docker_version }
1009 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1010 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1011 __host_private_ip_addr__: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
1012 __mtu__: { get_param: mtu }
1014 get_file: k8s_vm_install.sh
1015 - path: /opt/k8s_vm_init.sh
1020 __host_private_ip_addr__: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
1021 __host_label__: 'compute'
1023 get_file: k8s_vm_init.sh
1024 - path: /etc/init.d/k8s_vm_init_serv
1027 get_file: k8s_vm_init_serv.sh
1030 type: OS::Heat::MultipartMime
1033 - config: { get_resource: k8s_11_vm_scripts }
1036 type: OS::Nova::Server
1039 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '11' ] ]
1040 image: { get_param: ubuntu_1804_image }
1041 flavor: { get_param: k8s_vm_flavor }
1042 key_name: { get_param: key_name }
1044 - port: { get_resource: k8s_11_private_port }
1045 user_data_format: SOFTWARE_CONFIG
1046 user_data: { get_resource: k8s_11_vm_config }
1048 k8s_12_private_port:
1049 type: OS::Neutron::Port
1051 network: { get_resource: oam_network }
1052 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1054 - { get_resource: onap_sg }
1057 type: OS::Neutron::FloatingIP
1059 floating_network_id: { get_param: public_net_id }
1060 port_id: { get_resource: k8s_12_private_port }
1063 type: OS::Heat::CloudConfig
1069 - [ /opt/k8s_vm_install.sh ]
1071 - path: /opt/k8s_vm_install.sh
1076 __docker_proxy__: { get_param: docker_proxy }
1077 __apt_proxy__: { get_param: apt_proxy }
1078 __docker_version__: { get_param: docker_version }
1079 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1080 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1081 __host_private_ip_addr__: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1082 __mtu__: { get_param: mtu }
1084 get_file: k8s_vm_install.sh
1085 - path: /opt/k8s_vm_init.sh
1090 __host_private_ip_addr__: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1091 __host_label__: 'compute'
1093 get_file: k8s_vm_init.sh
1094 - path: /etc/init.d/k8s_vm_init_serv
1097 get_file: k8s_vm_init_serv.sh
1100 type: OS::Heat::MultipartMime
1103 - config: { get_resource: k8s_12_vm_scripts }
1106 type: OS::Nova::Server
1109 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '12' ] ]
1110 image: { get_param: ubuntu_1804_image }
1111 flavor: { get_param: k8s_vm_flavor }
1112 key_name: { get_param: key_name }
1114 - port: { get_resource: k8s_12_private_port }
1115 user_data_format: SOFTWARE_CONFIG
1116 user_data: { get_resource: k8s_12_vm_config }
1118 orch_1_private_port:
1119 type: OS::Neutron::Port
1121 network: { get_resource: oam_network }
1122 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1124 - { get_resource: onap_sg }
1127 type: OS::Neutron::FloatingIP
1129 floating_network_id: { get_param: public_net_id }
1130 port_id: { get_resource: orch_1_private_port }
1133 type: OS::Heat::CloudConfig
1139 - [ /opt/k8s_vm_install.sh ]
1141 - path: /opt/k8s_vm_install.sh
1146 __docker_proxy__: { get_param: docker_proxy }
1147 __apt_proxy__: { get_param: apt_proxy }
1148 __docker_version__: { get_param: docker_version }
1149 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1150 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1151 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1152 __mtu__: { get_param: mtu }
1154 get_file: k8s_vm_install.sh
1155 - path: /opt/k8s_vm_init.sh
1160 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1161 __host_label__: 'orchestration'
1163 get_file: k8s_vm_init.sh
1164 - path: /etc/init.d/k8s_vm_init_serv
1167 get_file: k8s_vm_init_serv.sh
1170 type: OS::Heat::MultipartMime
1173 - config: { get_resource: orch_1_vm_scripts }
1176 type: OS::Nova::Server
1179 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '1' ] ]
1180 image: { get_param: ubuntu_1804_image }
1181 flavor: { get_param: orch_vm_flavor }
1182 key_name: { get_param: key_name }
1184 - port: { get_resource: orch_1_private_port }
1185 user_data_format: SOFTWARE_CONFIG
1186 user_data: { get_resource: orch_1_vm_config }
1188 orch_2_private_port:
1189 type: OS::Neutron::Port
1191 network: { get_resource: oam_network }
1192 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1194 - { get_resource: onap_sg }
1197 type: OS::Neutron::FloatingIP
1199 floating_network_id: { get_param: public_net_id }
1200 port_id: { get_resource: orch_2_private_port }
1203 type: OS::Heat::CloudConfig
1209 - [ /opt/k8s_vm_install.sh ]
1211 - path: /opt/k8s_vm_install.sh
1216 __docker_proxy__: { get_param: docker_proxy }
1217 __apt_proxy__: { get_param: apt_proxy }
1218 __docker_version__: { get_param: docker_version }
1219 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1220 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1221 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1222 __mtu__: { get_param: mtu }
1224 get_file: k8s_vm_install.sh
1225 - path: /opt/k8s_vm_init.sh
1230 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1231 __host_label__: 'orchestration'
1233 get_file: k8s_vm_init.sh
1234 - path: /etc/init.d/k8s_vm_init_serv
1237 get_file: k8s_vm_init_serv.sh
1240 type: OS::Heat::MultipartMime
1243 - config: { get_resource: orch_2_vm_scripts }
1246 type: OS::Nova::Server
1249 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '2' ] ]
1250 image: { get_param: ubuntu_1804_image }
1251 flavor: { get_param: orch_vm_flavor }
1252 key_name: { get_param: key_name }
1254 - port: { get_resource: orch_2_private_port }
1255 user_data_format: SOFTWARE_CONFIG
1256 user_data: { get_resource: orch_2_vm_config }
1258 orch_3_private_port:
1259 type: OS::Neutron::Port
1261 network: { get_resource: oam_network }
1262 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1264 - { get_resource: onap_sg }
1267 type: OS::Neutron::FloatingIP
1269 floating_network_id: { get_param: public_net_id }
1270 port_id: { get_resource: orch_3_private_port }
1273 type: OS::Heat::CloudConfig
1279 - [ /opt/k8s_vm_install.sh ]
1281 - path: /opt/k8s_vm_install.sh
1286 __docker_proxy__: { get_param: docker_proxy }
1287 __apt_proxy__: { get_param: apt_proxy }
1288 __docker_version__: { get_param: docker_version }
1289 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1290 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1291 __host_private_ip_addr__: { get_attr: [orch_3_floating_ip, fixed_ip_address] }
1292 __mtu__: { get_param: mtu }
1294 get_file: k8s_vm_install.sh
1295 - path: /opt/k8s_vm_init.sh
1300 __host_private_ip_addr__: { get_attr: [orch_3_floating_ip, fixed_ip_address] }
1301 __host_label__: 'orchestration'
1303 get_file: k8s_vm_init.sh
1304 - path: /etc/init.d/k8s_vm_init_serv
1307 get_file: k8s_vm_init_serv.sh
1310 type: OS::Heat::MultipartMime
1313 - config: { get_resource: orch_3_vm_scripts }
1316 type: OS::Nova::Server
1319 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '3' ] ]
1320 image: { get_param: ubuntu_1804_image }
1321 flavor: { get_param: orch_vm_flavor }
1322 key_name: { get_param: key_name }
1324 - port: { get_resource: orch_3_private_port }
1325 user_data_format: SOFTWARE_CONFIG
1326 user_data: { get_resource: orch_3_vm_config }
1330 value: { get_param: docker_proxy }
1333 description: The IP address of the rancher instance
1334 value: { get_attr: [rancher_floating_ip, floating_ip_address] }
1337 description: The IP address of the k8s_01 instance
1338 value: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
1340 k8s_01_vm_private_ip:
1341 description: The private IP address of the k8s_01 instance
1342 value: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
1345 description: The IP address of the k8s_02 instance
1346 value: { get_attr: [k8s_02_floating_ip, floating_ip_address] }
1348 k8s_02_vm_private_ip:
1349 description: The private IP address of the k8s_02 instance
1350 value: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
1353 description: The IP address of the k8s_03 instance
1354 value: { get_attr: [k8s_03_floating_ip, floating_ip_address] }
1356 k8s_03_vm_private_ip:
1357 description: The private IP address of the k8s_03 instance
1358 value: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
1361 description: The IP address of the k8s_04 instance
1362 value: { get_attr: [k8s_04_floating_ip, floating_ip_address] }
1364 k8s_04_vm_private_ip:
1365 description: The private IP address of the k8s_04 instance
1366 value: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
1369 description: The IP address of the k8s_05 instance
1370 value: { get_attr: [k8s_05_floating_ip, floating_ip_address] }
1372 k8s_05_vm_private_ip:
1373 description: The private IP address of the k8s_05 instance
1374 value: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
1377 description: The IP address of the k8s_06 instance
1378 value: { get_attr: [k8s_06_floating_ip, floating_ip_address] }
1380 k8s_06_vm_private_ip:
1381 description: The private IP address of the k8s_06 instance
1382 value: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
1385 description: The IP address of the k8s_07 instance
1386 value: { get_attr: [k8s_07_floating_ip, floating_ip_address] }
1388 k8s_07_vm_private_ip:
1389 description: The private IP address of the k8s_07 instance
1390 value: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
1393 description: The IP address of the k8s_08 instance
1394 value: { get_attr: [k8s_08_floating_ip, floating_ip_address] }
1396 k8s_08_vm_private_ip:
1397 description: The private IP address of the k8s_08 instance
1398 value: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
1401 description: The IP address of the k8s_09 instance
1402 value: { get_attr: [k8s_09_floating_ip, floating_ip_address] }
1404 k8s_09_vm_private_ip:
1405 description: The private IP address of the k8s_09 instance
1406 value: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
1409 description: The IP address of the k8s_10 instance
1410 value: { get_attr: [k8s_10_floating_ip, floating_ip_address] }
1412 k8s_10_vm_private_ip:
1413 description: The private IP address of the k8s_10 instance
1414 value: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
1417 description: The IP address of the k8s_11 instance
1418 value: { get_attr: [k8s_11_floating_ip, floating_ip_address] }
1420 k8s_11_vm_private_ip:
1421 description: The private IP address of the k8s_11 instance
1422 value: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
1425 description: The IP address of the k8s_12 instance
1426 value: { get_attr: [k8s_12_floating_ip, floating_ip_address] }
1428 k8s_12_vm_private_ip:
1429 description: The private IP address of the k8s_12 instance
1430 value: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1433 description: The IP address of the orch_1 instance
1434 value: { get_attr: [orch_1_floating_ip, floating_ip_address] }
1436 orch_1_vm_private_ip:
1437 description: The private IP address of the orch_1 instance
1438 value: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1441 description: The IP address of the orch_2 instance
1442 value: { get_attr: [orch_2_floating_ip, floating_ip_address] }
1444 orch_2_vm_private_ip:
1445 description: The private IP address of the orch_2 instance
1446 value: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1449 description: The IP address of the orch_3 instance
1450 value: { get_attr: [orch_3_floating_ip, floating_ip_address] }
1452 orch_3_vm_private_ip:
1453 description: The private IP address of the orch_3 instance
1454 value: { get_attr: [orch_3_floating_ip, fixed_ip_address] }