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
20 description: The ID of the Public network for floating IP address allocation
24 description: CIDR of the OAM ONAP network
28 description: CIDR of the onap_oam_ext network
30 oam_ext_network_host_route:
34 "destination": '10.12.0.0/16'
35 "nexthop": '10.100.0.1'
37 "destination": '10.12.0.0/16'
38 "nexthop": '10.100.0.1'
42 description: Name of the Ubuntu 18.04 image
46 description: VM flavor for Nfs
50 description: VM flavor for k8s hosts
54 description: VM flavor for orch hosts
56 integration_override_yaml:
58 description: Content for integration_override.yaml
60 integration_gerrit_branch:
64 integration_gerrit_refspec:
102 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
103 default: "portal.api.simpledemo.onap.org"
107 type: OS::Heat::RandomString
111 # ONAP security group
113 type: OS::Neutron::SecurityGroup
120 rand: { get_resource: random-str }
121 description: security group used by ONAP
133 port_range_max: 65535
136 port_range_max: 65535
137 # Protocols used for vLB/vDNS use case
143 type: OS::Neutron::Router
146 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'router']]
147 external_gateway_info:
148 network: { get_param: public_net_id }
150 # ONAP management private network
152 type: OS::Neutron::Net
156 template: oam_network_rand
158 rand: { get_resource: random-str }
161 type: OS::Neutron::Subnet
165 template: oam_network_rand
167 rand: { get_resource: random-str }
168 network_id: { get_resource: oam_network }
169 cidr: { get_param: oam_network_cidr }
170 dns_nameservers: [ "8.8.8.8" ]
172 oam_router_interface:
173 type: OS::Neutron::RouterInterface
175 router_id: { get_resource: router }
176 subnet_id: { get_resource: oam_subnet }
179 type: OS::Neutron::Net
184 type: OS::Neutron::Subnet
187 network_id: { get_resource: oam_ext_network }
188 cidr: { get_param: oam_ext_network_cidr }
191 - { get_param: oam_ext_network_host_route }
192 dns_nameservers: [ "8.8.8.8" ]
194 oam_ext_router_interface:
195 type: OS::Neutron::RouterInterface
197 router_id: { get_resource: router }
198 subnet_id: { get_resource: oam_ext_subnet }
201 type: OS::Neutron::Port
203 network: { get_resource: oam_network }
204 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
206 - { get_resource: onap_sg }
209 type: OS::Neutron::FloatingIP
211 floating_network_id: { get_param: public_net_id }
212 port_id: { get_resource: nfs_private_port }
214 type: OS::Cinder::Volume
219 type: OS::Cinder::VolumeAttachment
221 instance_uuid: { get_resource: nfs_vm }
222 volume_id: { get_resource: nfs_volume }
225 type: OS::Nova::Server
228 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'nfs']]
229 image: { get_param: ubuntu_1804_image }
230 flavor: { get_param: nfs_vm_flavor }
231 key_name: { get_param: key_name }
233 - port: { get_resource: nfs_private_port }
234 user_data_format: RAW
238 get_file: nfs_vm_entrypoint.sh
240 __additional_override__: { get_param: additional_override}
241 __nfs_volume_id__: { get_resource: nfs_volume }
242 __docker_proxy__: { get_param: docker_proxy }
243 __apt_proxy__: { get_param: apt_proxy }
244 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
245 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
246 __integration_override_yaml__: { get_param: integration_override_yaml }
247 __integration_gerrit_branch__: { get_param: integration_gerrit_branch }
248 __integration_gerrit_refspec__: { get_param: integration_gerrit_refspec }
249 __oom_gerrit_branch__: { get_param: oom_gerrit_branch }
250 __oom_gerrit_refspec__: { get_param: oom_gerrit_refspec }
251 __docker_version__: { get_param: docker_version }
252 __kubectl_version__: { get_param: kubectl_version }
253 __helm_version__: { get_param: helm_version }
254 __helm_deploy_delay__: { get_param: helm_deploy_delay }
255 __mtu__: { get_param: mtu }
256 __portal_hostname__: { get_param: portal_hostname }
257 __public_net_id__: { get_param: public_net_id }
258 __oam_network_cidr__: { get_param: oam_network_cidr }
259 __oam_network_id__: { get_resource: oam_network }
260 __oam_subnet_id__: { get_resource: oam_subnet }
261 __sec_group__: { get_resource: onap_sg }
262 __k8s_01_vm_ip__: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
264 get_attr: [k8s_01_floating_ip, floating_ip_address],
265 get_attr: [k8s_02_floating_ip, floating_ip_address],
266 get_attr: [k8s_03_floating_ip, floating_ip_address],
267 get_attr: [k8s_04_floating_ip, floating_ip_address],
268 get_attr: [k8s_05_floating_ip, floating_ip_address],
269 get_attr: [k8s_06_floating_ip, floating_ip_address],
270 get_attr: [k8s_07_floating_ip, floating_ip_address],
271 get_attr: [k8s_08_floating_ip, floating_ip_address],
272 get_attr: [k8s_09_floating_ip, floating_ip_address],
274 __k8s_private_ips__: [
275 get_attr: [k8s_01_floating_ip, fixed_ip_address],
276 get_attr: [k8s_02_floating_ip, fixed_ip_address],
277 get_attr: [k8s_03_floating_ip, fixed_ip_address],
278 get_attr: [k8s_04_floating_ip, fixed_ip_address],
279 get_attr: [k8s_05_floating_ip, fixed_ip_address],
280 get_attr: [k8s_06_floating_ip, fixed_ip_address],
281 get_attr: [k8s_07_floating_ip, fixed_ip_address],
282 get_attr: [k8s_08_floating_ip, fixed_ip_address],
283 get_attr: [k8s_09_floating_ip, fixed_ip_address],
286 type: OS::Neutron::Port
288 network: { get_resource: oam_network }
289 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
291 - { get_resource: onap_sg }
294 type: OS::Neutron::FloatingIP
296 floating_network_id: { get_param: public_net_id }
297 port_id: { get_resource: k8s_01_private_port }
300 type: OS::Heat::CloudConfig
306 - [ /opt/k8s_vm_install.sh ]
308 - path: /opt/k8s_vm_install.sh
313 __docker_proxy__: { get_param: docker_proxy }
314 __apt_proxy__: { get_param: apt_proxy }
315 __docker_version__: { get_param: docker_version }
316 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
317 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
318 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
319 __mtu__: { get_param: mtu }
321 get_file: k8s_vm_install.sh
322 - path: /opt/k8s_vm_init.sh
327 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
328 __host_label__: 'compute'
330 get_file: k8s_vm_init.sh
331 - path: /etc/init.d/k8s_vm_init_serv
334 get_file: k8s_vm_init_serv.sh
337 type: OS::Heat::MultipartMime
340 - config: { get_resource: k8s_01_vm_scripts }
343 type: OS::Nova::Server
346 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '01' ] ]
347 image: { get_param: ubuntu_1804_image }
348 flavor: { get_param: k8s_vm_flavor }
349 key_name: { get_param: key_name }
351 - port: { get_resource: k8s_01_private_port }
352 user_data_format: SOFTWARE_CONFIG
353 user_data: { get_resource: k8s_01_vm_config }
355 type: OS::Neutron::Port
357 network: { get_resource: oam_network }
358 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
360 - { get_resource: onap_sg }
363 type: OS::Neutron::FloatingIP
365 floating_network_id: { get_param: public_net_id }
366 port_id: { get_resource: k8s_02_private_port }
369 type: OS::Heat::CloudConfig
375 - [ /opt/k8s_vm_install.sh ]
377 - path: /opt/k8s_vm_install.sh
382 __docker_proxy__: { get_param: docker_proxy }
383 __apt_proxy__: { get_param: apt_proxy }
384 __docker_version__: { get_param: docker_version }
385 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
386 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
387 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
388 __mtu__: { get_param: mtu }
390 get_file: k8s_vm_install.sh
391 - path: /opt/k8s_vm_init.sh
396 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
397 __host_label__: 'compute'
399 get_file: k8s_vm_init.sh
400 - path: /etc/init.d/k8s_vm_init_serv
403 get_file: k8s_vm_init_serv.sh
406 type: OS::Heat::MultipartMime
409 - config: { get_resource: k8s_02_vm_scripts }
412 type: OS::Nova::Server
415 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '02' ] ]
416 image: { get_param: ubuntu_1804_image }
417 flavor: { get_param: k8s_vm_flavor }
418 key_name: { get_param: key_name }
420 - port: { get_resource: k8s_02_private_port }
421 user_data_format: SOFTWARE_CONFIG
422 user_data: { get_resource: k8s_02_vm_config }
424 type: OS::Neutron::Port
426 network: { get_resource: oam_network }
427 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
429 - { get_resource: onap_sg }
432 type: OS::Neutron::FloatingIP
434 floating_network_id: { get_param: public_net_id }
435 port_id: { get_resource: k8s_03_private_port }
438 type: OS::Heat::CloudConfig
444 - [ /opt/k8s_vm_install.sh ]
446 - path: /opt/k8s_vm_install.sh
451 __docker_proxy__: { get_param: docker_proxy }
452 __apt_proxy__: { get_param: apt_proxy }
453 __docker_version__: { get_param: docker_version }
454 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
455 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
456 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
457 __mtu__: { get_param: mtu }
459 get_file: k8s_vm_install.sh
460 - path: /opt/k8s_vm_init.sh
465 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
466 __host_label__: 'compute'
468 get_file: k8s_vm_init.sh
469 - path: /etc/init.d/k8s_vm_init_serv
472 get_file: k8s_vm_init_serv.sh
475 type: OS::Heat::MultipartMime
478 - config: { get_resource: k8s_03_vm_scripts }
481 type: OS::Nova::Server
484 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '03' ] ]
485 image: { get_param: ubuntu_1804_image }
486 flavor: { get_param: k8s_vm_flavor }
487 key_name: { get_param: key_name }
489 - port: { get_resource: k8s_03_private_port }
490 user_data_format: SOFTWARE_CONFIG
491 user_data: { get_resource: k8s_03_vm_config }
493 type: OS::Neutron::Port
495 network: { get_resource: oam_network }
496 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
498 - { get_resource: onap_sg }
501 type: OS::Neutron::FloatingIP
503 floating_network_id: { get_param: public_net_id }
504 port_id: { get_resource: k8s_04_private_port }
507 type: OS::Heat::CloudConfig
513 - [ /opt/k8s_vm_install.sh ]
515 - path: /opt/k8s_vm_install.sh
520 __docker_proxy__: { get_param: docker_proxy }
521 __apt_proxy__: { get_param: apt_proxy }
522 __docker_version__: { get_param: docker_version }
523 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
524 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
525 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
526 __mtu__: { get_param: mtu }
528 get_file: k8s_vm_install.sh
529 - path: /opt/k8s_vm_init.sh
534 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
535 __host_label__: 'compute'
537 get_file: k8s_vm_init.sh
538 - path: /etc/init.d/k8s_vm_init_serv
541 get_file: k8s_vm_init_serv.sh
544 type: OS::Heat::MultipartMime
547 - config: { get_resource: k8s_04_vm_scripts }
550 type: OS::Nova::Server
553 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '04' ] ]
554 image: { get_param: ubuntu_1804_image }
555 flavor: { get_param: k8s_vm_flavor }
556 key_name: { get_param: key_name }
558 - port: { get_resource: k8s_04_private_port }
559 user_data_format: SOFTWARE_CONFIG
560 user_data: { get_resource: k8s_04_vm_config }
562 type: OS::Neutron::Port
564 network: { get_resource: oam_network }
565 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
567 - { get_resource: onap_sg }
570 type: OS::Neutron::FloatingIP
572 floating_network_id: { get_param: public_net_id }
573 port_id: { get_resource: k8s_05_private_port }
576 type: OS::Heat::CloudConfig
582 - [ /opt/k8s_vm_install.sh ]
584 - path: /opt/k8s_vm_install.sh
589 __docker_proxy__: { get_param: docker_proxy }
590 __apt_proxy__: { get_param: apt_proxy }
591 __docker_version__: { get_param: docker_version }
592 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
593 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
594 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
595 __mtu__: { get_param: mtu }
597 get_file: k8s_vm_install.sh
598 - path: /opt/k8s_vm_init.sh
603 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
604 __host_label__: 'compute'
606 get_file: k8s_vm_init.sh
607 - path: /etc/init.d/k8s_vm_init_serv
610 get_file: k8s_vm_init_serv.sh
613 type: OS::Heat::MultipartMime
616 - config: { get_resource: k8s_05_vm_scripts }
619 type: OS::Nova::Server
622 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '05' ] ]
623 image: { get_param: ubuntu_1804_image }
624 flavor: { get_param: k8s_vm_flavor }
625 key_name: { get_param: key_name }
627 - port: { get_resource: k8s_05_private_port }
628 user_data_format: SOFTWARE_CONFIG
629 user_data: { get_resource: k8s_05_vm_config }
631 type: OS::Neutron::Port
633 network: { get_resource: oam_network }
634 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
636 - { get_resource: onap_sg }
639 type: OS::Neutron::FloatingIP
641 floating_network_id: { get_param: public_net_id }
642 port_id: { get_resource: k8s_06_private_port }
645 type: OS::Heat::CloudConfig
651 - [ /opt/k8s_vm_install.sh ]
653 - path: /opt/k8s_vm_install.sh
658 __docker_proxy__: { get_param: docker_proxy }
659 __apt_proxy__: { get_param: apt_proxy }
660 __docker_version__: { get_param: docker_version }
661 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
662 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
663 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
664 __mtu__: { get_param: mtu }
666 get_file: k8s_vm_install.sh
667 - path: /opt/k8s_vm_init.sh
672 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
673 __host_label__: 'compute'
675 get_file: k8s_vm_init.sh
676 - path: /etc/init.d/k8s_vm_init_serv
679 get_file: k8s_vm_init_serv.sh
682 type: OS::Heat::MultipartMime
685 - config: { get_resource: k8s_06_vm_scripts }
688 type: OS::Nova::Server
691 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '06' ] ]
692 image: { get_param: ubuntu_1804_image }
693 flavor: { get_param: k8s_vm_flavor }
694 key_name: { get_param: key_name }
696 - port: { get_resource: k8s_06_private_port }
697 user_data_format: SOFTWARE_CONFIG
698 user_data: { get_resource: k8s_06_vm_config }
700 type: OS::Neutron::Port
702 network: { get_resource: oam_network }
703 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
705 - { get_resource: onap_sg }
708 type: OS::Neutron::FloatingIP
710 floating_network_id: { get_param: public_net_id }
711 port_id: { get_resource: k8s_07_private_port }
714 type: OS::Heat::CloudConfig
720 - [ /opt/k8s_vm_install.sh ]
722 - path: /opt/k8s_vm_install.sh
727 __docker_proxy__: { get_param: docker_proxy }
728 __apt_proxy__: { get_param: apt_proxy }
729 __docker_version__: { get_param: docker_version }
730 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
731 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
732 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
733 __mtu__: { get_param: mtu }
735 get_file: k8s_vm_install.sh
736 - path: /opt/k8s_vm_init.sh
741 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
742 __host_label__: 'compute'
744 get_file: k8s_vm_init.sh
745 - path: /etc/init.d/k8s_vm_init_serv
748 get_file: k8s_vm_init_serv.sh
751 type: OS::Heat::MultipartMime
754 - config: { get_resource: k8s_07_vm_scripts }
757 type: OS::Nova::Server
760 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '07' ] ]
761 image: { get_param: ubuntu_1804_image }
762 flavor: { get_param: k8s_vm_flavor }
763 key_name: { get_param: key_name }
765 - port: { get_resource: k8s_07_private_port }
766 user_data_format: SOFTWARE_CONFIG
767 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 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
800 __nfs_private_ip_addr__: { get_attr: [nfs_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 }
838 type: OS::Neutron::Port
840 network: { get_resource: oam_network }
841 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
843 - { get_resource: onap_sg }
846 type: OS::Neutron::FloatingIP
848 floating_network_id: { get_param: public_net_id }
849 port_id: { get_resource: k8s_09_private_port }
852 type: OS::Heat::CloudConfig
858 - [ /opt/k8s_vm_install.sh ]
860 - path: /opt/k8s_vm_install.sh
865 __docker_proxy__: { get_param: docker_proxy }
866 __apt_proxy__: { get_param: apt_proxy }
867 __docker_version__: { get_param: docker_version }
868 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
869 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
870 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
871 __mtu__: { get_param: mtu }
873 get_file: k8s_vm_install.sh
874 - path: /opt/k8s_vm_init.sh
879 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
880 __host_label__: 'compute'
882 get_file: k8s_vm_init.sh
883 - path: /etc/init.d/k8s_vm_init_serv
886 get_file: k8s_vm_init_serv.sh
889 type: OS::Heat::MultipartMime
892 - config: { get_resource: k8s_09_vm_scripts }
895 type: OS::Nova::Server
898 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '09' ] ]
899 image: { get_param: ubuntu_1804_image }
900 flavor: { get_param: k8s_vm_flavor }
901 key_name: { get_param: key_name }
903 - port: { get_resource: k8s_09_private_port }
904 user_data_format: SOFTWARE_CONFIG
905 user_data: { get_resource: k8s_09_vm_config }
907 type: OS::Neutron::Port
909 network: { get_resource: oam_network }
910 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
912 - { get_resource: onap_sg }
915 type: OS::Neutron::FloatingIP
917 floating_network_id: { get_param: public_net_id }
918 port_id: { get_resource: orch_1_private_port }
921 type: OS::Heat::CloudConfig
927 - [ /opt/k8s_vm_install.sh ]
929 - path: /opt/k8s_vm_install.sh
934 __docker_proxy__: { get_param: docker_proxy }
935 __apt_proxy__: { get_param: apt_proxy }
936 __docker_version__: { get_param: docker_version }
937 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
938 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
939 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
940 __mtu__: { get_param: mtu }
942 get_file: k8s_vm_install.sh
943 - path: /opt/k8s_vm_init.sh
948 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
949 __host_label__: 'orchestration'
951 get_file: k8s_vm_init.sh
952 - path: /etc/init.d/k8s_vm_init_serv
955 get_file: k8s_vm_init_serv.sh
958 type: OS::Heat::MultipartMime
961 - config: { get_resource: orch_1_vm_scripts }
964 type: OS::Nova::Server
967 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '1' ] ]
968 image: { get_param: ubuntu_1804_image }
969 flavor: { get_param: orch_vm_flavor }
970 key_name: { get_param: key_name }
972 - port: { get_resource: orch_1_private_port }
973 user_data_format: SOFTWARE_CONFIG
974 user_data: { get_resource: orch_1_vm_config }
976 type: OS::Neutron::Port
978 network: { get_resource: oam_network }
979 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
981 - { get_resource: onap_sg }
984 type: OS::Neutron::FloatingIP
986 floating_network_id: { get_param: public_net_id }
987 port_id: { get_resource: orch_2_private_port }
990 type: OS::Heat::CloudConfig
996 - [ /opt/k8s_vm_install.sh ]
998 - path: /opt/k8s_vm_install.sh
1003 __docker_proxy__: { get_param: docker_proxy }
1004 __apt_proxy__: { get_param: apt_proxy }
1005 __docker_version__: { get_param: docker_version }
1006 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
1007 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
1008 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1009 __mtu__: { get_param: mtu }
1011 get_file: k8s_vm_install.sh
1012 - path: /opt/k8s_vm_init.sh
1017 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1018 __host_label__: 'orchestration'
1020 get_file: k8s_vm_init.sh
1021 - path: /etc/init.d/k8s_vm_init_serv
1024 get_file: k8s_vm_init_serv.sh
1027 type: OS::Heat::MultipartMime
1030 - config: { get_resource: orch_2_vm_scripts }
1033 type: OS::Nova::Server
1036 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '2' ] ]
1037 image: { get_param: ubuntu_1804_image }
1038 flavor: { get_param: orch_vm_flavor }
1039 key_name: { get_param: key_name }
1041 - port: { get_resource: orch_2_private_port }
1042 user_data_format: SOFTWARE_CONFIG
1043 user_data: { get_resource: orch_2_vm_config }
1044 orch_3_private_port:
1045 type: OS::Neutron::Port
1047 network: { get_resource: oam_network }
1048 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1050 - { get_resource: onap_sg }
1053 type: OS::Neutron::FloatingIP
1055 floating_network_id: { get_param: public_net_id }
1056 port_id: { get_resource: orch_3_private_port }
1059 type: OS::Heat::CloudConfig
1065 - [ /opt/k8s_vm_install.sh ]
1067 - path: /opt/k8s_vm_install.sh
1072 __docker_proxy__: { get_param: docker_proxy }
1073 __apt_proxy__: { get_param: apt_proxy }
1074 __docker_version__: { get_param: docker_version }
1075 __nfs_ip_addr__: { get_attr: [nfs_floating_ip, floating_ip_address] }
1076 __nfs_private_ip_addr__: { get_attr: [nfs_floating_ip, fixed_ip_address] }
1077 __host_private_ip_addr__: { get_attr: [orch_3_floating_ip, fixed_ip_address] }
1078 __mtu__: { get_param: mtu }
1080 get_file: k8s_vm_install.sh
1081 - path: /opt/k8s_vm_init.sh
1086 __host_private_ip_addr__: { get_attr: [orch_3_floating_ip, fixed_ip_address] }
1087 __host_label__: 'orchestration'
1089 get_file: k8s_vm_init.sh
1090 - path: /etc/init.d/k8s_vm_init_serv
1093 get_file: k8s_vm_init_serv.sh
1096 type: OS::Heat::MultipartMime
1099 - config: { get_resource: orch_3_vm_scripts }
1102 type: OS::Nova::Server
1105 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '3' ] ]
1106 image: { get_param: ubuntu_1804_image }
1107 flavor: { get_param: orch_vm_flavor }
1108 key_name: { get_param: key_name }
1110 - port: { get_resource: orch_3_private_port }
1111 user_data_format: SOFTWARE_CONFIG
1112 user_data: { get_resource: orch_3_vm_config }
1115 value: { get_param: docker_proxy }
1118 description: The IP address of the nfs instance
1119 value: { get_attr: [nfs_floating_ip, floating_ip_address] }
1122 description: The private IP address of the nfs instance
1123 value: { get_attr: [nfs_floating_ip, fixed_ip_address] }
1126 description: The IP address of the k8s_01 instance
1127 value: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
1129 k8s_01_vm_private_ip:
1130 description: The private IP address of the k8s_01 instance
1131 value: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
1134 description: The IP address of the k8s_02 instance
1135 value: { get_attr: [k8s_02_floating_ip, floating_ip_address] }
1137 k8s_02_vm_private_ip:
1138 description: The private IP address of the k8s_02 instance
1139 value: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
1142 description: The IP address of the k8s_03 instance
1143 value: { get_attr: [k8s_03_floating_ip, floating_ip_address] }
1145 k8s_03_vm_private_ip:
1146 description: The private IP address of the k8s_03 instance
1147 value: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
1150 description: The IP address of the k8s_04 instance
1151 value: { get_attr: [k8s_04_floating_ip, floating_ip_address] }
1153 k8s_04_vm_private_ip:
1154 description: The private IP address of the k8s_04 instance
1155 value: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
1158 description: The IP address of the k8s_05 instance
1159 value: { get_attr: [k8s_05_floating_ip, floating_ip_address] }
1161 k8s_05_vm_private_ip:
1162 description: The private IP address of the k8s_05 instance
1163 value: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
1166 description: The IP address of the k8s_06 instance
1167 value: { get_attr: [k8s_06_floating_ip, floating_ip_address] }
1169 k8s_06_vm_private_ip:
1170 description: The private IP address of the k8s_06 instance
1171 value: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
1174 description: The IP address of the k8s_07 instance
1175 value: { get_attr: [k8s_07_floating_ip, floating_ip_address] }
1177 k8s_07_vm_private_ip:
1178 description: The private IP address of the k8s_07 instance
1179 value: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
1182 description: The IP address of the k8s_08 instance
1183 value: { get_attr: [k8s_08_floating_ip, floating_ip_address] }
1185 k8s_08_vm_private_ip:
1186 description: The private IP address of the k8s_08 instance
1187 value: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
1190 description: The IP address of the k8s_09 instance
1191 value: { get_attr: [k8s_09_floating_ip, floating_ip_address] }
1193 k8s_09_vm_private_ip:
1194 description: The private IP address of the k8s_09 instance
1195 value: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
1198 description: The IP address of the orch_1 instance
1199 value: { get_attr: [orch_1_floating_ip, floating_ip_address] }
1201 orch_1_vm_private_ip:
1202 description: The private IP address of the orch_1 instance
1203 value: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1206 description: The IP address of the orch_2 instance
1207 value: { get_attr: [orch_2_floating_ip, floating_ip_address] }
1209 orch_2_vm_private_ip:
1210 description: The private IP address of the orch_2 instance
1211 value: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1214 description: The IP address of the orch_3 instance
1215 value: { get_attr: [orch_3_floating_ip, floating_ip_address] }
1217 orch_3_vm_private_ip:
1218 description: The private IP address of the orch_3 instance
1219 value: { get_attr: [orch_3_floating_ip, fixed_ip_address] }