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
26 oam_ext_network_host_route:
30 "destination": '10.12.0.0/16'
31 "nexthop": '10.100.0.1'
33 "destination": '10.12.0.0/16'
34 "nexthop": '10.100.0.1'
38 description: Name of the Ubuntu 18.04 image
42 description: VM flavor for Nfs
46 description: VM flavor for k8s hosts
50 description: VM flavor for orch hosts
52 integration_override_yaml:
54 description: Content for integration_override.yaml
56 integration_gerrit_branch:
60 integration_gerrit_refspec:
98 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
99 default: "portal.api.simpledemo.onap.org"
103 type: OS::Heat::RandomString
107 # ONAP security group
109 type: OS::Neutron::SecurityGroup
116 rand: { get_resource: random-str }
117 description: security group used by ONAP
129 port_range_max: 65535
132 port_range_max: 65535
133 # Protocols used for vLB/vDNS use case
139 type: OS::Neutron::Router
142 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'router']]
143 external_gateway_info:
144 network: { get_param: public_net_id }
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" ]
168 oam_router_interface:
169 type: OS::Neutron::RouterInterface
171 router_id: { get_resource: router }
172 subnet_id: { get_resource: oam_subnet }
175 type: OS::Neutron::Net
180 type: OS::Neutron::Subnet
183 network_id: { get_resource: oam_ext_network }
184 cidr: { get_param: oam_ext_network_cidr }
187 - { get_param: oam_ext_network_host_route }
188 dns_nameservers: [ "8.8.8.8" ]
190 oam_ext_router_interface:
191 type: OS::Neutron::RouterInterface
193 router_id: { get_resource: router }
194 subnet_id: { get_resource: oam_ext_subnet }
197 type: OS::Neutron::Port
199 network: { get_resource: oam_network }
200 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
202 - { get_resource: onap_sg }
205 type: OS::Neutron::FloatingIP
207 floating_network_id: { get_param: public_net_id }
208 port_id: { get_resource: nfs_private_port }
210 type: OS::Cinder::Volume
215 type: OS::Cinder::VolumeAttachment
217 instance_uuid: { get_resource: nfs_vm }
218 volume_id: { get_resource: nfs_volume }
221 type: OS::Nova::Server
224 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'nfs']]
225 image: { get_param: ubuntu_1804_image }
226 flavor: { get_param: nfs_vm_flavor }
227 key_name: { get_param: key_name }
229 - port: { get_resource: nfs_private_port }
230 user_data_format: RAW
234 get_file: nfs_vm_entrypoint.sh
236 __nfs_volume_id__: { get_resource: nfs_volume }
237 __docker_proxy__: { get_param: docker_proxy }
238 __apt_proxy__: { get_param: apt_proxy }
239 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
240 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
241 __integration_override_yaml__: { get_param: integration_override_yaml }
242 __integration_gerrit_branch__: { get_param: integration_gerrit_branch }
243 __integration_gerrit_refspec__: { get_param: integration_gerrit_refspec }
244 __oom_gerrit_branch__: { get_param: oom_gerrit_branch }
245 __oom_gerrit_refspec__: { get_param: oom_gerrit_refspec }
246 __docker_version__: { get_param: docker_version }
247 __kubectl_version__: { get_param: kubectl_version }
248 __helm_version__: { get_param: helm_version }
249 __helm_deploy_delay__: { get_param: helm_deploy_delay }
250 __mtu__: { get_param: mtu }
251 __portal_hostname__: { get_param: portal_hostname }
252 __public_net_id__: { get_param: public_net_id }
253 __oam_network_cidr__: { get_param: oam_network_cidr }
254 __oam_network_id__: { get_resource: oam_network }
255 __oam_subnet_id__: { get_resource: oam_subnet }
256 __sec_group__: { get_resource: onap_sg }
257 __k8s_01_vm_ip__: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
259 get_attr: [k8s_01_floating_ip, floating_ip_address],
260 get_attr: [k8s_02_floating_ip, floating_ip_address],
261 get_attr: [k8s_03_floating_ip, floating_ip_address],
262 get_attr: [k8s_04_floating_ip, floating_ip_address],
263 get_attr: [k8s_05_floating_ip, floating_ip_address],
264 get_attr: [k8s_06_floating_ip, floating_ip_address],
265 get_attr: [k8s_07_floating_ip, floating_ip_address],
266 get_attr: [k8s_08_floating_ip, floating_ip_address],
267 get_attr: [k8s_09_floating_ip, floating_ip_address],
269 __k8s_private_ips__: [
270 get_attr: [k8s_01_floating_ip, fixed_ip_address],
271 get_attr: [k8s_02_floating_ip, fixed_ip_address],
272 get_attr: [k8s_03_floating_ip, fixed_ip_address],
273 get_attr: [k8s_04_floating_ip, fixed_ip_address],
274 get_attr: [k8s_05_floating_ip, fixed_ip_address],
275 get_attr: [k8s_06_floating_ip, fixed_ip_address],
276 get_attr: [k8s_07_floating_ip, fixed_ip_address],
277 get_attr: [k8s_08_floating_ip, fixed_ip_address],
278 get_attr: [k8s_09_floating_ip, fixed_ip_address],
281 type: OS::Neutron::Port
283 network: { get_resource: oam_network }
284 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
286 - { get_resource: onap_sg }
289 type: OS::Neutron::FloatingIP
291 floating_network_id: { get_param: public_net_id }
292 port_id: { get_resource: k8s_01_private_port }
295 type: OS::Heat::CloudConfig
301 - [ /opt/k8s_vm_install.sh ]
303 - path: /opt/k8s_vm_install.sh
308 __docker_proxy__: { get_param: docker_proxy }
309 __apt_proxy__: { get_param: apt_proxy }
310 __docker_version__: { get_param: docker_version }
311 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
312 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
313 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
314 __mtu__: { get_param: mtu }
316 get_file: k8s_vm_install.sh
317 - path: /opt/k8s_vm_init.sh
322 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
323 __host_label__: 'compute'
325 get_file: k8s_vm_init.sh
326 - path: /etc/init.d/k8s_vm_init_serv
329 get_file: k8s_vm_init_serv.sh
332 type: OS::Heat::MultipartMime
335 - config: { get_resource: k8s_01_vm_scripts }
338 type: OS::Nova::Server
341 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '01' ] ]
342 image: { get_param: ubuntu_1804_image }
343 flavor: { get_param: k8s_vm_flavor }
344 key_name: { get_param: key_name }
346 - port: { get_resource: k8s_01_private_port }
347 user_data_format: SOFTWARE_CONFIG
348 user_data: { get_resource: k8s_01_vm_config }
350 type: OS::Neutron::Port
352 network: { get_resource: oam_network }
353 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
355 - { get_resource: onap_sg }
358 type: OS::Neutron::FloatingIP
360 floating_network_id: { get_param: public_net_id }
361 port_id: { get_resource: k8s_02_private_port }
364 type: OS::Heat::CloudConfig
370 - [ /opt/k8s_vm_install.sh ]
372 - path: /opt/k8s_vm_install.sh
377 __docker_proxy__: { get_param: docker_proxy }
378 __apt_proxy__: { get_param: apt_proxy }
379 __docker_version__: { get_param: docker_version }
380 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
381 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
382 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
383 __mtu__: { get_param: mtu }
385 get_file: k8s_vm_install.sh
386 - path: /opt/k8s_vm_init.sh
391 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
392 __host_label__: 'compute'
394 get_file: k8s_vm_init.sh
395 - path: /etc/init.d/k8s_vm_init_serv
398 get_file: k8s_vm_init_serv.sh
401 type: OS::Heat::MultipartMime
404 - config: { get_resource: k8s_02_vm_scripts }
407 type: OS::Nova::Server
410 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '02' ] ]
411 image: { get_param: ubuntu_1804_image }
412 flavor: { get_param: k8s_vm_flavor }
413 key_name: { get_param: key_name }
415 - port: { get_resource: k8s_02_private_port }
416 user_data_format: SOFTWARE_CONFIG
417 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 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
450 __nfs_private_ip_addr__: { get_attr: [nfs_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 }
488 type: OS::Neutron::Port
490 network: { get_resource: oam_network }
491 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
493 - { get_resource: onap_sg }
496 type: OS::Neutron::FloatingIP
498 floating_network_id: { get_param: public_net_id }
499 port_id: { get_resource: k8s_04_private_port }
502 type: OS::Heat::CloudConfig
508 - [ /opt/k8s_vm_install.sh ]
510 - path: /opt/k8s_vm_install.sh
515 __docker_proxy__: { get_param: docker_proxy }
516 __apt_proxy__: { get_param: apt_proxy }
517 __docker_version__: { get_param: docker_version }
518 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
519 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
520 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
521 __mtu__: { get_param: mtu }
523 get_file: k8s_vm_install.sh
524 - path: /opt/k8s_vm_init.sh
529 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
530 __host_label__: 'compute'
532 get_file: k8s_vm_init.sh
533 - path: /etc/init.d/k8s_vm_init_serv
536 get_file: k8s_vm_init_serv.sh
539 type: OS::Heat::MultipartMime
542 - config: { get_resource: k8s_04_vm_scripts }
545 type: OS::Nova::Server
548 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '04' ] ]
549 image: { get_param: ubuntu_1804_image }
550 flavor: { get_param: k8s_vm_flavor }
551 key_name: { get_param: key_name }
553 - port: { get_resource: k8s_04_private_port }
554 user_data_format: SOFTWARE_CONFIG
555 user_data: { get_resource: k8s_04_vm_config }
557 type: OS::Neutron::Port
559 network: { get_resource: oam_network }
560 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
562 - { get_resource: onap_sg }
565 type: OS::Neutron::FloatingIP
567 floating_network_id: { get_param: public_net_id }
568 port_id: { get_resource: k8s_05_private_port }
571 type: OS::Heat::CloudConfig
577 - [ /opt/k8s_vm_install.sh ]
579 - path: /opt/k8s_vm_install.sh
584 __docker_proxy__: { get_param: docker_proxy }
585 __apt_proxy__: { get_param: apt_proxy }
586 __docker_version__: { get_param: docker_version }
587 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
588 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
589 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
590 __mtu__: { get_param: mtu }
592 get_file: k8s_vm_install.sh
593 - path: /opt/k8s_vm_init.sh
598 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
599 __host_label__: 'compute'
601 get_file: k8s_vm_init.sh
602 - path: /etc/init.d/k8s_vm_init_serv
605 get_file: k8s_vm_init_serv.sh
608 type: OS::Heat::MultipartMime
611 - config: { get_resource: k8s_05_vm_scripts }
614 type: OS::Nova::Server
617 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '05' ] ]
618 image: { get_param: ubuntu_1804_image }
619 flavor: { get_param: k8s_vm_flavor }
620 key_name: { get_param: key_name }
622 - port: { get_resource: k8s_05_private_port }
623 user_data_format: SOFTWARE_CONFIG
624 user_data: { get_resource: k8s_05_vm_config }
626 type: OS::Neutron::Port
628 network: { get_resource: oam_network }
629 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
631 - { get_resource: onap_sg }
634 type: OS::Neutron::FloatingIP
636 floating_network_id: { get_param: public_net_id }
637 port_id: { get_resource: k8s_06_private_port }
640 type: OS::Heat::CloudConfig
646 - [ /opt/k8s_vm_install.sh ]
648 - path: /opt/k8s_vm_install.sh
653 __docker_proxy__: { get_param: docker_proxy }
654 __apt_proxy__: { get_param: apt_proxy }
655 __docker_version__: { get_param: docker_version }
656 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
657 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
658 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
659 __mtu__: { get_param: mtu }
661 get_file: k8s_vm_install.sh
662 - path: /opt/k8s_vm_init.sh
667 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
668 __host_label__: 'compute'
670 get_file: k8s_vm_init.sh
671 - path: /etc/init.d/k8s_vm_init_serv
674 get_file: k8s_vm_init_serv.sh
677 type: OS::Heat::MultipartMime
680 - config: { get_resource: k8s_06_vm_scripts }
683 type: OS::Nova::Server
686 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '06' ] ]
687 image: { get_param: ubuntu_1804_image }
688 flavor: { get_param: k8s_vm_flavor }
689 key_name: { get_param: key_name }
691 - port: { get_resource: k8s_06_private_port }
692 user_data_format: SOFTWARE_CONFIG
693 user_data: { get_resource: k8s_06_vm_config }
695 type: OS::Neutron::Port
697 network: { get_resource: oam_network }
698 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
700 - { get_resource: onap_sg }
703 type: OS::Neutron::FloatingIP
705 floating_network_id: { get_param: public_net_id }
706 port_id: { get_resource: k8s_07_private_port }
709 type: OS::Heat::CloudConfig
715 - [ /opt/k8s_vm_install.sh ]
717 - path: /opt/k8s_vm_install.sh
722 __docker_proxy__: { get_param: docker_proxy }
723 __apt_proxy__: { get_param: apt_proxy }
724 __docker_version__: { get_param: docker_version }
725 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
726 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
727 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
728 __mtu__: { get_param: mtu }
730 get_file: k8s_vm_install.sh
731 - path: /opt/k8s_vm_init.sh
736 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
737 __host_label__: 'compute'
739 get_file: k8s_vm_init.sh
740 - path: /etc/init.d/k8s_vm_init_serv
743 get_file: k8s_vm_init_serv.sh
746 type: OS::Heat::MultipartMime
749 - config: { get_resource: k8s_07_vm_scripts }
752 type: OS::Nova::Server
755 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '07' ] ]
756 image: { get_param: ubuntu_1804_image }
757 flavor: { get_param: k8s_vm_flavor }
758 key_name: { get_param: key_name }
760 - port: { get_resource: k8s_07_private_port }
761 user_data_format: SOFTWARE_CONFIG
762 user_data: { get_resource: k8s_07_vm_config }
764 type: OS::Neutron::Port
766 network: { get_resource: oam_network }
767 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
769 - { get_resource: onap_sg }
772 type: OS::Neutron::FloatingIP
774 floating_network_id: { get_param: public_net_id }
775 port_id: { get_resource: k8s_08_private_port }
778 type: OS::Heat::CloudConfig
784 - [ /opt/k8s_vm_install.sh ]
786 - path: /opt/k8s_vm_install.sh
791 __docker_proxy__: { get_param: docker_proxy }
792 __apt_proxy__: { get_param: apt_proxy }
793 __docker_version__: { get_param: docker_version }
794 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
795 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
796 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
797 __mtu__: { get_param: mtu }
799 get_file: k8s_vm_install.sh
800 - path: /opt/k8s_vm_init.sh
805 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
806 __host_label__: 'compute'
808 get_file: k8s_vm_init.sh
809 - path: /etc/init.d/k8s_vm_init_serv
812 get_file: k8s_vm_init_serv.sh
815 type: OS::Heat::MultipartMime
818 - config: { get_resource: k8s_08_vm_scripts }
821 type: OS::Nova::Server
824 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '08' ] ]
825 image: { get_param: ubuntu_1804_image }
826 flavor: { get_param: k8s_vm_flavor }
827 key_name: { get_param: key_name }
829 - port: { get_resource: k8s_08_private_port }
830 user_data_format: SOFTWARE_CONFIG
831 user_data: { get_resource: k8s_08_vm_config }
833 type: OS::Neutron::Port
835 network: { get_resource: oam_network }
836 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
838 - { get_resource: onap_sg }
841 type: OS::Neutron::FloatingIP
843 floating_network_id: { get_param: public_net_id }
844 port_id: { get_resource: k8s_09_private_port }
847 type: OS::Heat::CloudConfig
853 - [ /opt/k8s_vm_install.sh ]
855 - path: /opt/k8s_vm_install.sh
860 __docker_proxy__: { get_param: docker_proxy }
861 __apt_proxy__: { get_param: apt_proxy }
862 __docker_version__: { get_param: docker_version }
863 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
864 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
865 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
866 __mtu__: { get_param: mtu }
868 get_file: k8s_vm_install.sh
869 - path: /opt/k8s_vm_init.sh
874 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
875 __host_label__: 'compute'
877 get_file: k8s_vm_init.sh
878 - path: /etc/init.d/k8s_vm_init_serv
881 get_file: k8s_vm_init_serv.sh
884 type: OS::Heat::MultipartMime
887 - config: { get_resource: k8s_09_vm_scripts }
890 type: OS::Nova::Server
893 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '09' ] ]
894 image: { get_param: ubuntu_1804_image }
895 flavor: { get_param: k8s_vm_flavor }
896 key_name: { get_param: key_name }
898 - port: { get_resource: k8s_09_private_port }
899 user_data_format: SOFTWARE_CONFIG
900 user_data: { get_resource: k8s_09_vm_config }
902 type: OS::Neutron::Port
904 network: { get_resource: oam_network }
905 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
907 - { get_resource: onap_sg }
910 type: OS::Neutron::FloatingIP
912 floating_network_id: { get_param: public_net_id }
913 port_id: { get_resource: orch_1_private_port }
916 type: OS::Heat::CloudConfig
922 - [ /opt/k8s_vm_install.sh ]
924 - path: /opt/k8s_vm_install.sh
929 __docker_proxy__: { get_param: docker_proxy }
930 __apt_proxy__: { get_param: apt_proxy }
931 __docker_version__: { get_param: docker_version }
932 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
933 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
934 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
935 __mtu__: { get_param: mtu }
937 get_file: k8s_vm_install.sh
938 - path: /opt/k8s_vm_init.sh
943 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
944 __host_label__: 'orchestration'
946 get_file: k8s_vm_init.sh
947 - path: /etc/init.d/k8s_vm_init_serv
950 get_file: k8s_vm_init_serv.sh
953 type: OS::Heat::MultipartMime
956 - config: { get_resource: orch_1_vm_scripts }
959 type: OS::Nova::Server
962 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '1' ] ]
963 image: { get_param: ubuntu_1804_image }
964 flavor: { get_param: orch_vm_flavor }
965 key_name: { get_param: key_name }
967 - port: { get_resource: orch_1_private_port }
968 user_data_format: SOFTWARE_CONFIG
969 user_data: { get_resource: orch_1_vm_config }
971 type: OS::Neutron::Port
973 network: { get_resource: oam_network }
974 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
976 - { get_resource: onap_sg }
979 type: OS::Neutron::FloatingIP
981 floating_network_id: { get_param: public_net_id }
982 port_id: { get_resource: orch_2_private_port }
985 type: OS::Heat::CloudConfig
991 - [ /opt/k8s_vm_install.sh ]
993 - path: /opt/k8s_vm_install.sh
998 __docker_proxy__: { get_param: docker_proxy }
999 __apt_proxy__: { get_param: apt_proxy }
1000 __docker_version__: { get_param: docker_version }
1001 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
1002 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
1003 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1004 __mtu__: { get_param: mtu }
1006 get_file: k8s_vm_install.sh
1007 - path: /opt/k8s_vm_init.sh
1012 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1013 __host_label__: 'orchestration'
1015 get_file: k8s_vm_init.sh
1016 - path: /etc/init.d/k8s_vm_init_serv
1019 get_file: k8s_vm_init_serv.sh
1022 type: OS::Heat::MultipartMime
1025 - config: { get_resource: orch_2_vm_scripts }
1028 type: OS::Nova::Server
1031 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '2' ] ]
1032 image: { get_param: ubuntu_1804_image }
1033 flavor: { get_param: orch_vm_flavor }
1034 key_name: { get_param: key_name }
1036 - port: { get_resource: orch_2_private_port }
1037 user_data_format: SOFTWARE_CONFIG
1038 user_data: { get_resource: orch_2_vm_config }
1039 orch_3_private_port:
1040 type: OS::Neutron::Port
1042 network: { get_resource: oam_network }
1043 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1045 - { get_resource: onap_sg }
1048 type: OS::Neutron::FloatingIP
1050 floating_network_id: { get_param: public_net_id }
1051 port_id: { get_resource: orch_3_private_port }
1054 type: OS::Heat::CloudConfig
1060 - [ /opt/k8s_vm_install.sh ]
1062 - path: /opt/k8s_vm_install.sh
1067 __docker_proxy__: { get_param: docker_proxy }
1068 __apt_proxy__: { get_param: apt_proxy }
1069 __docker_version__: { get_param: docker_version }
1070 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
1071 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
1072 __host_private_ip_addr__: { get_attr: [orch_3_floating_ip, fixed_ip_address] }
1073 __mtu__: { get_param: mtu }
1075 get_file: k8s_vm_install.sh
1076 - path: /opt/k8s_vm_init.sh
1081 __host_private_ip_addr__: { get_attr: [orch_3_floating_ip, fixed_ip_address] }
1082 __host_label__: 'orchestration'
1084 get_file: k8s_vm_init.sh
1085 - path: /etc/init.d/k8s_vm_init_serv
1088 get_file: k8s_vm_init_serv.sh
1091 type: OS::Heat::MultipartMime
1094 - config: { get_resource: orch_3_vm_scripts }
1097 type: OS::Nova::Server
1100 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '3' ] ]
1101 image: { get_param: ubuntu_1804_image }
1102 flavor: { get_param: orch_vm_flavor }
1103 key_name: { get_param: key_name }
1105 - port: { get_resource: orch_3_private_port }
1106 user_data_format: SOFTWARE_CONFIG
1107 user_data: { get_resource: orch_3_vm_config }
1110 value: { get_param: docker_proxy }
1113 description: The IP address of the nfs instance
1114 value: { get_attr: [nfs_floating_ip, floating_ip_address] }
1117 description: The private IP address of the nfs instance
1118 value: { get_attr: [nfs_floating_ip, fixed_ip_address] }
1121 description: The IP address of the k8s_01 instance
1122 value: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
1124 k8s_01_vm_private_ip:
1125 description: The private IP address of the k8s_01 instance
1126 value: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
1129 description: The IP address of the k8s_02 instance
1130 value: { get_attr: [k8s_02_floating_ip, floating_ip_address] }
1132 k8s_02_vm_private_ip:
1133 description: The private IP address of the k8s_02 instance
1134 value: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
1137 description: The IP address of the k8s_03 instance
1138 value: { get_attr: [k8s_03_floating_ip, floating_ip_address] }
1140 k8s_03_vm_private_ip:
1141 description: The private IP address of the k8s_03 instance
1142 value: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
1145 description: The IP address of the k8s_04 instance
1146 value: { get_attr: [k8s_04_floating_ip, floating_ip_address] }
1148 k8s_04_vm_private_ip:
1149 description: The private IP address of the k8s_04 instance
1150 value: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
1153 description: The IP address of the k8s_05 instance
1154 value: { get_attr: [k8s_05_floating_ip, floating_ip_address] }
1156 k8s_05_vm_private_ip:
1157 description: The private IP address of the k8s_05 instance
1158 value: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
1161 description: The IP address of the k8s_06 instance
1162 value: { get_attr: [k8s_06_floating_ip, floating_ip_address] }
1164 k8s_06_vm_private_ip:
1165 description: The private IP address of the k8s_06 instance
1166 value: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
1169 description: The IP address of the k8s_07 instance
1170 value: { get_attr: [k8s_07_floating_ip, floating_ip_address] }
1172 k8s_07_vm_private_ip:
1173 description: The private IP address of the k8s_07 instance
1174 value: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
1177 description: The IP address of the k8s_08 instance
1178 value: { get_attr: [k8s_08_floating_ip, floating_ip_address] }
1180 k8s_08_vm_private_ip:
1181 description: The private IP address of the k8s_08 instance
1182 value: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
1185 description: The IP address of the k8s_09 instance
1186 value: { get_attr: [k8s_09_floating_ip, floating_ip_address] }
1188 k8s_09_vm_private_ip:
1189 description: The private IP address of the k8s_09 instance
1190 value: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
1193 description: The IP address of the orch_1 instance
1194 value: { get_attr: [orch_1_floating_ip, floating_ip_address] }
1196 orch_1_vm_private_ip:
1197 description: The private IP address of the orch_1 instance
1198 value: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1201 description: The IP address of the orch_2 instance
1202 value: { get_attr: [orch_2_floating_ip, floating_ip_address] }
1204 orch_2_vm_private_ip:
1205 description: The private IP address of the orch_2 instance
1206 value: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1209 description: The IP address of the orch_3 instance
1210 value: { get_attr: [orch_3_floating_ip, floating_ip_address] }
1212 orch_3_vm_private_ip:
1213 description: The private IP address of the orch_3 instance
1214 value: { get_attr: [orch_3_floating_ip, fixed_ip_address] }