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 Nfs
36 description: VM flavor for k8s 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:
92 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
93 default: "portal.api.simpledemo.onap.org"
97 type: OS::Heat::RandomString
101 # ONAP security group
103 type: OS::Neutron::SecurityGroup
110 rand: { get_resource: random-str }
111 description: security group used by ONAP
123 port_range_max: 65535
126 port_range_max: 65535
127 # Protocols used for vLB/vDNS use case
133 type: OS::Neutron::Router
136 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'router']]
137 external_gateway_info:
138 network: { get_param: public_net_id }
140 # ONAP management private network
142 type: OS::Neutron::Net
146 template: oam_network_rand
148 rand: { get_resource: random-str }
151 type: OS::Neutron::Subnet
155 template: oam_network_rand
157 rand: { get_resource: random-str }
158 network_id: { get_resource: oam_network }
159 cidr: { get_param: oam_network_cidr }
160 dns_nameservers: [ "8.8.8.8" ]
162 oam_router_interface:
163 type: OS::Neutron::RouterInterface
165 router_id: { get_resource: router }
166 subnet_id: { get_resource: oam_subnet }
169 type: OS::Neutron::Net
174 type: OS::Neutron::Subnet
177 network_id: { get_resource: oam_ext_network }
178 cidr: { get_param: oam_ext_network_cidr }
180 dns_nameservers: [ "8.8.8.8" ]
182 oam_ext_router_interface:
183 type: OS::Neutron::RouterInterface
185 router_id: { get_resource: router }
186 subnet_id: { get_resource: oam_ext_subnet }
189 type: OS::Neutron::Port
191 network: { get_resource: oam_network }
192 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
194 - { get_resource: onap_sg }
197 type: OS::Neutron::FloatingIP
199 floating_network_id: { get_param: public_net_id }
200 port_id: { get_resource: nfs_private_port }
202 type: OS::Cinder::Volume
207 type: OS::Cinder::VolumeAttachment
209 instance_uuid: { get_resource: nfs_vm }
210 volume_id: { get_resource: nfs_volume }
213 type: OS::Nova::Server
216 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'nfs']]
217 image: { get_param: ubuntu_1804_image }
218 flavor: { get_param: nfs_vm_flavor }
219 key_name: { get_param: key_name }
221 - port: { get_resource: nfs_private_port }
222 user_data_format: RAW
226 get_file: nfs_vm_entrypoint.sh
228 __nfs_volume_id__: { get_resource: nfs_volume }
229 __docker_proxy__: { get_param: docker_proxy }
230 __apt_proxy__: { get_param: apt_proxy }
231 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
232 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
233 __integration_override_yaml__: { get_param: integration_override_yaml }
234 __integration_gerrit_branch__: { get_param: integration_gerrit_branch }
235 __integration_gerrit_refspec__: { get_param: integration_gerrit_refspec }
236 __oom_gerrit_branch__: { get_param: oom_gerrit_branch }
237 __oom_gerrit_refspec__: { get_param: oom_gerrit_refspec }
238 __docker_manifest__: { get_param: docker_manifest }
239 __docker_version__: { get_param: docker_version }
240 __kubectl_version__: { get_param: kubectl_version }
241 __helm_version__: { get_param: helm_version }
242 __helm_deploy_delay__: { get_param: helm_deploy_delay }
243 __mtu__: { get_param: mtu }
244 __portal_hostname__: { get_param: portal_hostname }
245 __public_net_id__: { get_param: public_net_id }
246 __oam_network_cidr__: { get_param: oam_network_cidr }
247 __oam_network_id__: { get_resource: oam_network }
248 __oam_subnet_id__: { get_resource: oam_subnet }
249 __sec_group__: { get_resource: onap_sg }
250 __k8s_01_vm_ip__: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
252 get_attr: [k8s_01_floating_ip, floating_ip_address],
253 get_attr: [k8s_02_floating_ip, floating_ip_address],
254 get_attr: [k8s_03_floating_ip, floating_ip_address],
255 get_attr: [k8s_04_floating_ip, floating_ip_address],
256 get_attr: [k8s_05_floating_ip, floating_ip_address],
257 get_attr: [k8s_06_floating_ip, floating_ip_address],
258 get_attr: [k8s_07_floating_ip, floating_ip_address],
259 get_attr: [k8s_08_floating_ip, floating_ip_address],
260 get_attr: [k8s_09_floating_ip, floating_ip_address],
261 get_attr: [k8s_10_floating_ip, floating_ip_address],
262 get_attr: [k8s_11_floating_ip, floating_ip_address],
263 get_attr: [k8s_12_floating_ip, floating_ip_address],
265 __k8s_private_ips__: [
266 get_attr: [k8s_01_floating_ip, fixed_ip_address],
267 get_attr: [k8s_02_floating_ip, fixed_ip_address],
268 get_attr: [k8s_03_floating_ip, fixed_ip_address],
269 get_attr: [k8s_04_floating_ip, fixed_ip_address],
270 get_attr: [k8s_05_floating_ip, fixed_ip_address],
271 get_attr: [k8s_06_floating_ip, fixed_ip_address],
272 get_attr: [k8s_07_floating_ip, fixed_ip_address],
273 get_attr: [k8s_08_floating_ip, fixed_ip_address],
274 get_attr: [k8s_09_floating_ip, fixed_ip_address],
275 get_attr: [k8s_10_floating_ip, fixed_ip_address],
276 get_attr: [k8s_11_floating_ip, fixed_ip_address],
277 get_attr: [k8s_12_floating_ip, fixed_ip_address],
280 type: OS::Neutron::Port
282 network: { get_resource: oam_network }
283 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
285 - { get_resource: onap_sg }
288 type: OS::Neutron::FloatingIP
290 floating_network_id: { get_param: public_net_id }
291 port_id: { get_resource: k8s_01_private_port }
294 type: OS::Heat::CloudConfig
300 - [ /opt/k8s_vm_install.sh ]
302 - path: /opt/k8s_vm_install.sh
307 __docker_proxy__: { get_param: docker_proxy }
308 __apt_proxy__: { get_param: apt_proxy }
309 __docker_version__: { get_param: docker_version }
310 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
311 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
312 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
313 __mtu__: { get_param: mtu }
315 get_file: k8s_vm_install.sh
316 - path: /opt/k8s_vm_init.sh
321 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
322 __host_label__: 'compute'
324 get_file: k8s_vm_init.sh
325 - path: /etc/init.d/k8s_vm_init_serv
328 get_file: k8s_vm_init_serv.sh
331 type: OS::Heat::MultipartMime
334 - config: { get_resource: k8s_01_vm_scripts }
337 type: OS::Nova::Server
340 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '01' ] ]
341 image: { get_param: ubuntu_1804_image }
342 flavor: { get_param: k8s_vm_flavor }
343 key_name: { get_param: key_name }
345 - port: { get_resource: k8s_01_private_port }
346 user_data_format: SOFTWARE_CONFIG
347 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 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
380 __nfs_private_ip_addr__: { get_attr: [nfs_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 }
418 type: OS::Neutron::Port
420 network: { get_resource: oam_network }
421 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
423 - { get_resource: onap_sg }
426 type: OS::Neutron::FloatingIP
428 floating_network_id: { get_param: public_net_id }
429 port_id: { get_resource: k8s_03_private_port }
432 type: OS::Heat::CloudConfig
438 - [ /opt/k8s_vm_install.sh ]
440 - path: /opt/k8s_vm_install.sh
445 __docker_proxy__: { get_param: docker_proxy }
446 __apt_proxy__: { get_param: apt_proxy }
447 __docker_version__: { get_param: docker_version }
448 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
449 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
450 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
451 __mtu__: { get_param: mtu }
453 get_file: k8s_vm_install.sh
454 - path: /opt/k8s_vm_init.sh
459 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
460 __host_label__: 'compute'
462 get_file: k8s_vm_init.sh
463 - path: /etc/init.d/k8s_vm_init_serv
466 get_file: k8s_vm_init_serv.sh
469 type: OS::Heat::MultipartMime
472 - config: { get_resource: k8s_03_vm_scripts }
475 type: OS::Nova::Server
478 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '03' ] ]
479 image: { get_param: ubuntu_1804_image }
480 flavor: { get_param: k8s_vm_flavor }
481 key_name: { get_param: key_name }
483 - port: { get_resource: k8s_03_private_port }
484 user_data_format: SOFTWARE_CONFIG
485 user_data: { get_resource: k8s_03_vm_config }
487 type: OS::Neutron::Port
489 network: { get_resource: oam_network }
490 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
492 - { get_resource: onap_sg }
495 type: OS::Neutron::FloatingIP
497 floating_network_id: { get_param: public_net_id }
498 port_id: { get_resource: k8s_04_private_port }
501 type: OS::Heat::CloudConfig
507 - [ /opt/k8s_vm_install.sh ]
509 - path: /opt/k8s_vm_install.sh
514 __docker_proxy__: { get_param: docker_proxy }
515 __apt_proxy__: { get_param: apt_proxy }
516 __docker_version__: { get_param: docker_version }
517 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
518 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
519 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
520 __mtu__: { get_param: mtu }
522 get_file: k8s_vm_install.sh
523 - path: /opt/k8s_vm_init.sh
528 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
529 __host_label__: 'compute'
531 get_file: k8s_vm_init.sh
532 - path: /etc/init.d/k8s_vm_init_serv
535 get_file: k8s_vm_init_serv.sh
538 type: OS::Heat::MultipartMime
541 - config: { get_resource: k8s_04_vm_scripts }
544 type: OS::Nova::Server
547 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '04' ] ]
548 image: { get_param: ubuntu_1804_image }
549 flavor: { get_param: k8s_vm_flavor }
550 key_name: { get_param: key_name }
552 - port: { get_resource: k8s_04_private_port }
553 user_data_format: SOFTWARE_CONFIG
554 user_data: { get_resource: k8s_04_vm_config }
556 type: OS::Neutron::Port
558 network: { get_resource: oam_network }
559 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
561 - { get_resource: onap_sg }
564 type: OS::Neutron::FloatingIP
566 floating_network_id: { get_param: public_net_id }
567 port_id: { get_resource: k8s_05_private_port }
570 type: OS::Heat::CloudConfig
576 - [ /opt/k8s_vm_install.sh ]
578 - path: /opt/k8s_vm_install.sh
583 __docker_proxy__: { get_param: docker_proxy }
584 __apt_proxy__: { get_param: apt_proxy }
585 __docker_version__: { get_param: docker_version }
586 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
587 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
588 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
589 __mtu__: { get_param: mtu }
591 get_file: k8s_vm_install.sh
592 - path: /opt/k8s_vm_init.sh
597 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
598 __host_label__: 'compute'
600 get_file: k8s_vm_init.sh
601 - path: /etc/init.d/k8s_vm_init_serv
604 get_file: k8s_vm_init_serv.sh
607 type: OS::Heat::MultipartMime
610 - config: { get_resource: k8s_05_vm_scripts }
613 type: OS::Nova::Server
616 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '05' ] ]
617 image: { get_param: ubuntu_1804_image }
618 flavor: { get_param: k8s_vm_flavor }
619 key_name: { get_param: key_name }
621 - port: { get_resource: k8s_05_private_port }
622 user_data_format: SOFTWARE_CONFIG
623 user_data: { get_resource: k8s_05_vm_config }
625 type: OS::Neutron::Port
627 network: { get_resource: oam_network }
628 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
630 - { get_resource: onap_sg }
633 type: OS::Neutron::FloatingIP
635 floating_network_id: { get_param: public_net_id }
636 port_id: { get_resource: k8s_06_private_port }
639 type: OS::Heat::CloudConfig
645 - [ /opt/k8s_vm_install.sh ]
647 - path: /opt/k8s_vm_install.sh
652 __docker_proxy__: { get_param: docker_proxy }
653 __apt_proxy__: { get_param: apt_proxy }
654 __docker_version__: { get_param: docker_version }
655 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
656 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
657 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
658 __mtu__: { get_param: mtu }
660 get_file: k8s_vm_install.sh
661 - path: /opt/k8s_vm_init.sh
666 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
667 __host_label__: 'compute'
669 get_file: k8s_vm_init.sh
670 - path: /etc/init.d/k8s_vm_init_serv
673 get_file: k8s_vm_init_serv.sh
676 type: OS::Heat::MultipartMime
679 - config: { get_resource: k8s_06_vm_scripts }
682 type: OS::Nova::Server
685 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '06' ] ]
686 image: { get_param: ubuntu_1804_image }
687 flavor: { get_param: k8s_vm_flavor }
688 key_name: { get_param: key_name }
690 - port: { get_resource: k8s_06_private_port }
691 user_data_format: SOFTWARE_CONFIG
692 user_data: { get_resource: k8s_06_vm_config }
694 type: OS::Neutron::Port
696 network: { get_resource: oam_network }
697 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
699 - { get_resource: onap_sg }
702 type: OS::Neutron::FloatingIP
704 floating_network_id: { get_param: public_net_id }
705 port_id: { get_resource: k8s_07_private_port }
708 type: OS::Heat::CloudConfig
714 - [ /opt/k8s_vm_install.sh ]
716 - path: /opt/k8s_vm_install.sh
721 __docker_proxy__: { get_param: docker_proxy }
722 __apt_proxy__: { get_param: apt_proxy }
723 __docker_version__: { get_param: docker_version }
724 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
725 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
726 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
727 __mtu__: { get_param: mtu }
729 get_file: k8s_vm_install.sh
730 - path: /opt/k8s_vm_init.sh
735 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
736 __host_label__: 'compute'
738 get_file: k8s_vm_init.sh
739 - path: /etc/init.d/k8s_vm_init_serv
742 get_file: k8s_vm_init_serv.sh
745 type: OS::Heat::MultipartMime
748 - config: { get_resource: k8s_07_vm_scripts }
751 type: OS::Nova::Server
754 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '07' ] ]
755 image: { get_param: ubuntu_1804_image }
756 flavor: { get_param: k8s_vm_flavor }
757 key_name: { get_param: key_name }
759 - port: { get_resource: k8s_07_private_port }
760 user_data_format: SOFTWARE_CONFIG
761 user_data: { get_resource: k8s_07_vm_config }
763 type: OS::Neutron::Port
765 network: { get_resource: oam_network }
766 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
768 - { get_resource: onap_sg }
771 type: OS::Neutron::FloatingIP
773 floating_network_id: { get_param: public_net_id }
774 port_id: { get_resource: k8s_08_private_port }
777 type: OS::Heat::CloudConfig
783 - [ /opt/k8s_vm_install.sh ]
785 - path: /opt/k8s_vm_install.sh
790 __docker_proxy__: { get_param: docker_proxy }
791 __apt_proxy__: { get_param: apt_proxy }
792 __docker_version__: { get_param: docker_version }
793 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
794 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
795 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
796 __mtu__: { get_param: mtu }
798 get_file: k8s_vm_install.sh
799 - path: /opt/k8s_vm_init.sh
804 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
805 __host_label__: 'compute'
807 get_file: k8s_vm_init.sh
808 - path: /etc/init.d/k8s_vm_init_serv
811 get_file: k8s_vm_init_serv.sh
814 type: OS::Heat::MultipartMime
817 - config: { get_resource: k8s_08_vm_scripts }
820 type: OS::Nova::Server
823 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '08' ] ]
824 image: { get_param: ubuntu_1804_image }
825 flavor: { get_param: k8s_vm_flavor }
826 key_name: { get_param: key_name }
828 - port: { get_resource: k8s_08_private_port }
829 user_data_format: SOFTWARE_CONFIG
830 user_data: { get_resource: k8s_08_vm_config }
832 type: OS::Neutron::Port
834 network: { get_resource: oam_network }
835 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
837 - { get_resource: onap_sg }
840 type: OS::Neutron::FloatingIP
842 floating_network_id: { get_param: public_net_id }
843 port_id: { get_resource: k8s_09_private_port }
846 type: OS::Heat::CloudConfig
852 - [ /opt/k8s_vm_install.sh ]
854 - path: /opt/k8s_vm_install.sh
859 __docker_proxy__: { get_param: docker_proxy }
860 __apt_proxy__: { get_param: apt_proxy }
861 __docker_version__: { get_param: docker_version }
862 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
863 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
864 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
865 __mtu__: { get_param: mtu }
867 get_file: k8s_vm_install.sh
868 - path: /opt/k8s_vm_init.sh
873 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
874 __host_label__: 'compute'
876 get_file: k8s_vm_init.sh
877 - path: /etc/init.d/k8s_vm_init_serv
880 get_file: k8s_vm_init_serv.sh
883 type: OS::Heat::MultipartMime
886 - config: { get_resource: k8s_09_vm_scripts }
889 type: OS::Nova::Server
892 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '09' ] ]
893 image: { get_param: ubuntu_1804_image }
894 flavor: { get_param: k8s_vm_flavor }
895 key_name: { get_param: key_name }
897 - port: { get_resource: k8s_09_private_port }
898 user_data_format: SOFTWARE_CONFIG
899 user_data: { get_resource: k8s_09_vm_config }
901 type: OS::Neutron::Port
903 network: { get_resource: oam_network }
904 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
906 - { get_resource: onap_sg }
909 type: OS::Neutron::FloatingIP
911 floating_network_id: { get_param: public_net_id }
912 port_id: { get_resource: k8s_10_private_port }
915 type: OS::Heat::CloudConfig
921 - [ /opt/k8s_vm_install.sh ]
923 - path: /opt/k8s_vm_install.sh
928 __docker_proxy__: { get_param: docker_proxy }
929 __apt_proxy__: { get_param: apt_proxy }
930 __docker_version__: { get_param: docker_version }
931 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
932 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
933 __host_private_ip_addr__: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
934 __mtu__: { get_param: mtu }
936 get_file: k8s_vm_install.sh
937 - path: /opt/k8s_vm_init.sh
942 __host_private_ip_addr__: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
943 __host_label__: 'compute'
945 get_file: k8s_vm_init.sh
946 - path: /etc/init.d/k8s_vm_init_serv
949 get_file: k8s_vm_init_serv.sh
952 type: OS::Heat::MultipartMime
955 - config: { get_resource: k8s_10_vm_scripts }
958 type: OS::Nova::Server
961 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '10' ] ]
962 image: { get_param: ubuntu_1804_image }
963 flavor: { get_param: k8s_vm_flavor }
964 key_name: { get_param: key_name }
966 - port: { get_resource: k8s_10_private_port }
967 user_data_format: SOFTWARE_CONFIG
968 user_data: { get_resource: k8s_10_vm_config }
970 type: OS::Neutron::Port
972 network: { get_resource: oam_network }
973 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
975 - { get_resource: onap_sg }
978 type: OS::Neutron::FloatingIP
980 floating_network_id: { get_param: public_net_id }
981 port_id: { get_resource: k8s_11_private_port }
984 type: OS::Heat::CloudConfig
990 - [ /opt/k8s_vm_install.sh ]
992 - path: /opt/k8s_vm_install.sh
997 __docker_proxy__: { get_param: docker_proxy }
998 __apt_proxy__: { get_param: apt_proxy }
999 __docker_version__: { get_param: docker_version }
1000 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
1001 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
1002 __host_private_ip_addr__: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
1003 __mtu__: { get_param: mtu }
1005 get_file: k8s_vm_install.sh
1006 - path: /opt/k8s_vm_init.sh
1011 __host_private_ip_addr__: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
1012 __host_label__: 'compute'
1014 get_file: k8s_vm_init.sh
1015 - path: /etc/init.d/k8s_vm_init_serv
1018 get_file: k8s_vm_init_serv.sh
1021 type: OS::Heat::MultipartMime
1024 - config: { get_resource: k8s_11_vm_scripts }
1027 type: OS::Nova::Server
1030 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '11' ] ]
1031 image: { get_param: ubuntu_1804_image }
1032 flavor: { get_param: k8s_vm_flavor }
1033 key_name: { get_param: key_name }
1035 - port: { get_resource: k8s_11_private_port }
1036 user_data_format: SOFTWARE_CONFIG
1037 user_data: { get_resource: k8s_11_vm_config }
1038 k8s_12_private_port:
1039 type: OS::Neutron::Port
1041 network: { get_resource: oam_network }
1042 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1044 - { get_resource: onap_sg }
1047 type: OS::Neutron::FloatingIP
1049 floating_network_id: { get_param: public_net_id }
1050 port_id: { get_resource: k8s_12_private_port }
1053 type: OS::Heat::CloudConfig
1059 - [ /opt/k8s_vm_install.sh ]
1061 - path: /opt/k8s_vm_install.sh
1066 __docker_proxy__: { get_param: docker_proxy }
1067 __apt_proxy__: { get_param: apt_proxy }
1068 __docker_version__: { get_param: docker_version }
1069 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
1070 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
1071 __host_private_ip_addr__: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1072 __mtu__: { get_param: mtu }
1074 get_file: k8s_vm_install.sh
1075 - path: /opt/k8s_vm_init.sh
1080 __host_private_ip_addr__: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1081 __host_label__: 'compute'
1083 get_file: k8s_vm_init.sh
1084 - path: /etc/init.d/k8s_vm_init_serv
1087 get_file: k8s_vm_init_serv.sh
1090 type: OS::Heat::MultipartMime
1093 - config: { get_resource: k8s_12_vm_scripts }
1096 type: OS::Nova::Server
1099 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '12' ] ]
1100 image: { get_param: ubuntu_1804_image }
1101 flavor: { get_param: k8s_vm_flavor }
1102 key_name: { get_param: key_name }
1104 - port: { get_resource: k8s_12_private_port }
1105 user_data_format: SOFTWARE_CONFIG
1106 user_data: { get_resource: k8s_12_vm_config }
1107 orch_1_private_port:
1108 type: OS::Neutron::Port
1110 network: { get_resource: oam_network }
1111 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1113 - { get_resource: onap_sg }
1116 type: OS::Neutron::FloatingIP
1118 floating_network_id: { get_param: public_net_id }
1119 port_id: { get_resource: orch_1_private_port }
1122 type: OS::Heat::CloudConfig
1128 - [ /opt/k8s_vm_install.sh ]
1130 - path: /opt/k8s_vm_install.sh
1135 __docker_proxy__: { get_param: docker_proxy }
1136 __apt_proxy__: { get_param: apt_proxy }
1137 __docker_version__: { get_param: docker_version }
1138 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
1139 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
1140 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1141 __mtu__: { get_param: mtu }
1143 get_file: k8s_vm_install.sh
1144 - path: /opt/k8s_vm_init.sh
1149 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1150 __host_label__: 'orchestration'
1152 get_file: k8s_vm_init.sh
1153 - path: /etc/init.d/k8s_vm_init_serv
1156 get_file: k8s_vm_init_serv.sh
1159 type: OS::Heat::MultipartMime
1162 - config: { get_resource: orch_1_vm_scripts }
1165 type: OS::Nova::Server
1168 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '1' ] ]
1169 image: { get_param: ubuntu_1804_image }
1170 flavor: { get_param: orch_vm_flavor }
1171 key_name: { get_param: key_name }
1173 - port: { get_resource: orch_1_private_port }
1174 user_data_format: SOFTWARE_CONFIG
1175 user_data: { get_resource: orch_1_vm_config }
1176 orch_2_private_port:
1177 type: OS::Neutron::Port
1179 network: { get_resource: oam_network }
1180 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1182 - { get_resource: onap_sg }
1185 type: OS::Neutron::FloatingIP
1187 floating_network_id: { get_param: public_net_id }
1188 port_id: { get_resource: orch_2_private_port }
1191 type: OS::Heat::CloudConfig
1197 - [ /opt/k8s_vm_install.sh ]
1199 - path: /opt/k8s_vm_install.sh
1204 __docker_proxy__: { get_param: docker_proxy }
1205 __apt_proxy__: { get_param: apt_proxy }
1206 __docker_version__: { get_param: docker_version }
1207 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
1208 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
1209 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1210 __mtu__: { get_param: mtu }
1212 get_file: k8s_vm_install.sh
1213 - path: /opt/k8s_vm_init.sh
1218 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1219 __host_label__: 'orchestration'
1221 get_file: k8s_vm_init.sh
1222 - path: /etc/init.d/k8s_vm_init_serv
1225 get_file: k8s_vm_init_serv.sh
1228 type: OS::Heat::MultipartMime
1231 - config: { get_resource: orch_2_vm_scripts }
1234 type: OS::Nova::Server
1237 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '2' ] ]
1238 image: { get_param: ubuntu_1804_image }
1239 flavor: { get_param: orch_vm_flavor }
1240 key_name: { get_param: key_name }
1242 - port: { get_resource: orch_2_private_port }
1243 user_data_format: SOFTWARE_CONFIG
1244 user_data: { get_resource: orch_2_vm_config }
1245 orch_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: orch_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 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
1277 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
1278 __host_private_ip_addr__: { get_attr: [orch_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: [orch_3_floating_ip, fixed_ip_address] }
1288 __host_label__: 'orchestration'
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: orch_3_vm_scripts }
1303 type: OS::Nova::Server
1306 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '3' ] ]
1307 image: { get_param: ubuntu_1804_image }
1308 flavor: { get_param: orch_vm_flavor }
1309 key_name: { get_param: key_name }
1311 - port: { get_resource: orch_3_private_port }
1312 user_data_format: SOFTWARE_CONFIG
1313 user_data: { get_resource: orch_3_vm_config }
1316 value: { get_param: docker_proxy }
1319 description: The IP address of the nfs instance
1320 value: { get_attr: [nfs_floating_ip, floating_ip_address] }
1323 description: The private IP address of the nfs instance
1324 value: { get_attr: [nfs_floating_ip, fixed_ip_address] }
1327 description: The IP address of the k8s_01 instance
1328 value: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
1330 k8s_01_vm_private_ip:
1331 description: The private IP address of the k8s_01 instance
1332 value: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
1335 description: The IP address of the k8s_02 instance
1336 value: { get_attr: [k8s_02_floating_ip, floating_ip_address] }
1338 k8s_02_vm_private_ip:
1339 description: The private IP address of the k8s_02 instance
1340 value: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
1343 description: The IP address of the k8s_03 instance
1344 value: { get_attr: [k8s_03_floating_ip, floating_ip_address] }
1346 k8s_03_vm_private_ip:
1347 description: The private IP address of the k8s_03 instance
1348 value: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
1351 description: The IP address of the k8s_04 instance
1352 value: { get_attr: [k8s_04_floating_ip, floating_ip_address] }
1354 k8s_04_vm_private_ip:
1355 description: The private IP address of the k8s_04 instance
1356 value: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
1359 description: The IP address of the k8s_05 instance
1360 value: { get_attr: [k8s_05_floating_ip, floating_ip_address] }
1362 k8s_05_vm_private_ip:
1363 description: The private IP address of the k8s_05 instance
1364 value: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
1367 description: The IP address of the k8s_06 instance
1368 value: { get_attr: [k8s_06_floating_ip, floating_ip_address] }
1370 k8s_06_vm_private_ip:
1371 description: The private IP address of the k8s_06 instance
1372 value: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
1375 description: The IP address of the k8s_07 instance
1376 value: { get_attr: [k8s_07_floating_ip, floating_ip_address] }
1378 k8s_07_vm_private_ip:
1379 description: The private IP address of the k8s_07 instance
1380 value: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
1383 description: The IP address of the k8s_08 instance
1384 value: { get_attr: [k8s_08_floating_ip, floating_ip_address] }
1386 k8s_08_vm_private_ip:
1387 description: The private IP address of the k8s_08 instance
1388 value: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
1391 description: The IP address of the k8s_09 instance
1392 value: { get_attr: [k8s_09_floating_ip, floating_ip_address] }
1394 k8s_09_vm_private_ip:
1395 description: The private IP address of the k8s_09 instance
1396 value: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
1399 description: The IP address of the k8s_10 instance
1400 value: { get_attr: [k8s_10_floating_ip, floating_ip_address] }
1402 k8s_10_vm_private_ip:
1403 description: The private IP address of the k8s_10 instance
1404 value: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
1407 description: The IP address of the k8s_11 instance
1408 value: { get_attr: [k8s_11_floating_ip, floating_ip_address] }
1410 k8s_11_vm_private_ip:
1411 description: The private IP address of the k8s_11 instance
1412 value: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
1415 description: The IP address of the k8s_12 instance
1416 value: { get_attr: [k8s_12_floating_ip, floating_ip_address] }
1418 k8s_12_vm_private_ip:
1419 description: The private IP address of the k8s_12 instance
1420 value: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1423 description: The IP address of the orch_1 instance
1424 value: { get_attr: [orch_1_floating_ip, floating_ip_address] }
1426 orch_1_vm_private_ip:
1427 description: The private IP address of the orch_1 instance
1428 value: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1431 description: The IP address of the orch_2 instance
1432 value: { get_attr: [orch_2_floating_ip, floating_ip_address] }
1434 orch_2_vm_private_ip:
1435 description: The private IP address of the orch_2 instance
1436 value: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1439 description: The IP address of the orch_3 instance
1440 value: { get_attr: [orch_3_floating_ip, floating_ip_address] }
1442 orch_3_vm_private_ip:
1443 description: The private IP address of the orch_3 instance
1444 value: { get_attr: [orch_3_floating_ip, fixed_ip_address] }