2 # Generated by scripts/gen-onap-oom-yaml.sh; MANUAL CHANGES WILL BE LOST
4 heat_template_version: 2015-10-15
5 description: ONAP on Kubernetes using OOM
16 description: The ID of the Public network for floating IP address allocation
20 description: CIDR of the OAM ONAP network
24 description: Name of the Ubuntu 16.04 image
28 description: VM flavor for Rancher
32 description: VM flavor for k8s hosts
36 description: VM flavor for etcd hosts
40 description: VM flavor for orch hosts
42 integration_override_yaml:
44 description: Content for integration_override.yaml
46 integration_gerrit_branch:
50 integration_gerrit_refspec:
78 rancher_agent_version:
96 description: Set to "true" if you want to use a RAM disk for /dockerdata-nfs/.
105 description: The FQDN of the k8s host that will be used for the Portal UI component URLs; this needs to be resolveable at the client
106 default: "portal.api.simpledemo.onap.org"
110 type: OS::Heat::RandomString
114 # ONAP security group
116 type: OS::Neutron::SecurityGroup
123 rand: { get_resource: random-str }
124 description: security group used by ONAP
136 port_range_max: 65535
139 port_range_max: 65535
140 # Protocols used for vLB/vDNS use case
146 # ONAP management private network
148 type: OS::Neutron::Net
152 template: oam_network_rand
154 rand: { get_resource: random-str }
157 type: OS::Neutron::Subnet
161 template: oam_network_rand
163 rand: { get_resource: random-str }
164 network_id: { get_resource: oam_network }
165 cidr: { get_param: oam_network_cidr }
166 dns_nameservers: [ "8.8.8.8" ]
169 type: OS::Neutron::Router
172 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'router']]
173 external_gateway_info:
174 network: { get_param: public_net_id }
177 type: OS::Neutron::RouterInterface
179 router_id: { get_resource: router }
180 subnet_id: { get_resource: oam_subnet }
182 rancher_private_port:
183 type: OS::Neutron::Port
185 network: { get_resource: oam_network }
186 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
188 - { get_resource: onap_sg }
191 type: OS::Neutron::FloatingIP
193 floating_network_id: { get_param: public_net_id }
194 port_id: { get_resource: rancher_private_port }
197 type: OS::Nova::Server
200 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'rancher']]
201 image: { get_param: ubuntu_1604_image }
202 flavor: { get_param: rancher_vm_flavor }
203 key_name: { get_param: key_name }
205 - port: { get_resource: rancher_private_port }
206 user_data_format: RAW
210 get_file: rancher_vm_entrypoint.sh
212 __docker_proxy__: { get_param: docker_proxy }
213 __apt_proxy__: { get_param: apt_proxy }
214 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
215 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
216 __integration_override_yaml__: { get_param: integration_override_yaml }
217 __integration_gerrit_branch__: { get_param: integration_gerrit_branch }
218 __integration_gerrit_refspec__: { get_param: integration_gerrit_refspec }
219 __oom_gerrit_branch__: { get_param: oom_gerrit_branch }
220 __oom_gerrit_refspec__: { get_param: oom_gerrit_refspec }
221 __docker_manifest__: { get_param: docker_manifest }
222 __docker_version__: { get_param: docker_version }
223 __rancher_version__: { get_param: rancher_version }
224 __rancher_agent_version__: { get_param: rancher_agent_version }
225 __kubectl_version__: { get_param: kubectl_version }
226 __helm_version__: { get_param: helm_version }
227 __helm_deploy_delay__: { get_param: helm_deploy_delay }
228 __use_ramdisk__: { get_param: use_ramdisk }
229 __mtu__: { get_param: mtu }
230 __portal_hostname__: { get_param: portal_hostname }
231 __public_net_id__: { get_param: public_net_id }
232 __oam_network_cidr__: { get_param: oam_network_cidr }
233 __oam_network_id__: { get_resource: oam_network }
234 __oam_subnet_id__: { get_resource: oam_subnet }
235 __sec_group__: { get_resource: onap_sg }
236 __k8s_01_vm_ip__: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
238 get_attr: [k8s_01_floating_ip, floating_ip_address],
239 get_attr: [k8s_02_floating_ip, floating_ip_address],
240 get_attr: [k8s_03_floating_ip, floating_ip_address],
241 get_attr: [k8s_04_floating_ip, floating_ip_address],
242 get_attr: [k8s_05_floating_ip, floating_ip_address],
243 get_attr: [k8s_06_floating_ip, floating_ip_address],
245 __k8s_private_ips__: [
246 get_attr: [k8s_01_floating_ip, fixed_ip_address],
247 get_attr: [k8s_02_floating_ip, fixed_ip_address],
248 get_attr: [k8s_03_floating_ip, fixed_ip_address],
249 get_attr: [k8s_04_floating_ip, fixed_ip_address],
250 get_attr: [k8s_05_floating_ip, fixed_ip_address],
251 get_attr: [k8s_06_floating_ip, fixed_ip_address],
254 type: OS::Neutron::Port
256 network: { get_resource: oam_network }
257 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
259 - { get_resource: onap_sg }
262 type: OS::Neutron::FloatingIP
264 floating_network_id: { get_param: public_net_id }
265 port_id: { get_resource: k8s_01_private_port }
268 type: OS::Heat::CloudConfig
274 - [ /opt/k8s_vm_install.sh ]
276 - path: /opt/k8s_vm_install.sh
281 __docker_proxy__: { get_param: docker_proxy }
282 __apt_proxy__: { get_param: apt_proxy }
283 __docker_version__: { get_param: docker_version }
284 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
285 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
286 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
287 __mtu__: { get_param: mtu }
289 get_file: k8s_vm_install.sh
290 - path: /opt/k8s_vm_init.sh
295 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
296 __host_label__: 'compute'
298 get_file: k8s_vm_init.sh
299 - path: /etc/init.d/k8s_vm_init_serv
302 get_file: k8s_vm_init_serv.sh
305 type: OS::Heat::MultipartMime
308 - config: { get_resource: k8s_01_vm_scripts }
311 type: OS::Nova::Server
314 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '01' ] ]
315 image: { get_param: ubuntu_1604_image }
316 flavor: { get_param: k8s_vm_flavor }
317 key_name: { get_param: key_name }
319 - port: { get_resource: k8s_01_private_port }
320 user_data_format: SOFTWARE_CONFIG
321 user_data: { get_resource: k8s_01_vm_config }
324 type: OS::Neutron::Port
326 network: { get_resource: oam_network }
327 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
329 - { get_resource: onap_sg }
332 type: OS::Neutron::FloatingIP
334 floating_network_id: { get_param: public_net_id }
335 port_id: { get_resource: k8s_02_private_port }
338 type: OS::Heat::CloudConfig
344 - [ /opt/k8s_vm_install.sh ]
346 - path: /opt/k8s_vm_install.sh
351 __docker_proxy__: { get_param: docker_proxy }
352 __apt_proxy__: { get_param: apt_proxy }
353 __docker_version__: { get_param: docker_version }
354 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
355 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
356 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
357 __mtu__: { get_param: mtu }
359 get_file: k8s_vm_install.sh
360 - path: /opt/k8s_vm_init.sh
365 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
366 __host_label__: 'compute'
368 get_file: k8s_vm_init.sh
369 - path: /etc/init.d/k8s_vm_init_serv
372 get_file: k8s_vm_init_serv.sh
375 type: OS::Heat::MultipartMime
378 - config: { get_resource: k8s_02_vm_scripts }
381 type: OS::Nova::Server
384 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '02' ] ]
385 image: { get_param: ubuntu_1604_image }
386 flavor: { get_param: k8s_vm_flavor }
387 key_name: { get_param: key_name }
389 - port: { get_resource: k8s_02_private_port }
390 user_data_format: SOFTWARE_CONFIG
391 user_data: { get_resource: k8s_02_vm_config }
394 type: OS::Neutron::Port
396 network: { get_resource: oam_network }
397 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
399 - { get_resource: onap_sg }
402 type: OS::Neutron::FloatingIP
404 floating_network_id: { get_param: public_net_id }
405 port_id: { get_resource: k8s_03_private_port }
408 type: OS::Heat::CloudConfig
414 - [ /opt/k8s_vm_install.sh ]
416 - path: /opt/k8s_vm_install.sh
421 __docker_proxy__: { get_param: docker_proxy }
422 __apt_proxy__: { get_param: apt_proxy }
423 __docker_version__: { get_param: docker_version }
424 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
425 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
426 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
427 __mtu__: { get_param: mtu }
429 get_file: k8s_vm_install.sh
430 - path: /opt/k8s_vm_init.sh
435 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
436 __host_label__: 'compute'
438 get_file: k8s_vm_init.sh
439 - path: /etc/init.d/k8s_vm_init_serv
442 get_file: k8s_vm_init_serv.sh
445 type: OS::Heat::MultipartMime
448 - config: { get_resource: k8s_03_vm_scripts }
451 type: OS::Nova::Server
454 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '03' ] ]
455 image: { get_param: ubuntu_1604_image }
456 flavor: { get_param: k8s_vm_flavor }
457 key_name: { get_param: key_name }
459 - port: { get_resource: k8s_03_private_port }
460 user_data_format: SOFTWARE_CONFIG
461 user_data: { get_resource: k8s_03_vm_config }
464 type: OS::Neutron::Port
466 network: { get_resource: oam_network }
467 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
469 - { get_resource: onap_sg }
472 type: OS::Neutron::FloatingIP
474 floating_network_id: { get_param: public_net_id }
475 port_id: { get_resource: k8s_04_private_port }
478 type: OS::Heat::CloudConfig
484 - [ /opt/k8s_vm_install.sh ]
486 - path: /opt/k8s_vm_install.sh
491 __docker_proxy__: { get_param: docker_proxy }
492 __apt_proxy__: { get_param: apt_proxy }
493 __docker_version__: { get_param: docker_version }
494 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
495 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
496 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
497 __mtu__: { get_param: mtu }
499 get_file: k8s_vm_install.sh
500 - path: /opt/k8s_vm_init.sh
505 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
506 __host_label__: 'compute'
508 get_file: k8s_vm_init.sh
509 - path: /etc/init.d/k8s_vm_init_serv
512 get_file: k8s_vm_init_serv.sh
515 type: OS::Heat::MultipartMime
518 - config: { get_resource: k8s_04_vm_scripts }
521 type: OS::Nova::Server
524 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '04' ] ]
525 image: { get_param: ubuntu_1604_image }
526 flavor: { get_param: k8s_vm_flavor }
527 key_name: { get_param: key_name }
529 - port: { get_resource: k8s_04_private_port }
530 user_data_format: SOFTWARE_CONFIG
531 user_data: { get_resource: k8s_04_vm_config }
534 type: OS::Neutron::Port
536 network: { get_resource: oam_network }
537 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
539 - { get_resource: onap_sg }
542 type: OS::Neutron::FloatingIP
544 floating_network_id: { get_param: public_net_id }
545 port_id: { get_resource: k8s_05_private_port }
548 type: OS::Heat::CloudConfig
554 - [ /opt/k8s_vm_install.sh ]
556 - path: /opt/k8s_vm_install.sh
561 __docker_proxy__: { get_param: docker_proxy }
562 __apt_proxy__: { get_param: apt_proxy }
563 __docker_version__: { get_param: docker_version }
564 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
565 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
566 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
567 __mtu__: { get_param: mtu }
569 get_file: k8s_vm_install.sh
570 - path: /opt/k8s_vm_init.sh
575 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
576 __host_label__: 'compute'
578 get_file: k8s_vm_init.sh
579 - path: /etc/init.d/k8s_vm_init_serv
582 get_file: k8s_vm_init_serv.sh
585 type: OS::Heat::MultipartMime
588 - config: { get_resource: k8s_05_vm_scripts }
591 type: OS::Nova::Server
594 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '05' ] ]
595 image: { get_param: ubuntu_1604_image }
596 flavor: { get_param: k8s_vm_flavor }
597 key_name: { get_param: key_name }
599 - port: { get_resource: k8s_05_private_port }
600 user_data_format: SOFTWARE_CONFIG
601 user_data: { get_resource: k8s_05_vm_config }
604 type: OS::Neutron::Port
606 network: { get_resource: oam_network }
607 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
609 - { get_resource: onap_sg }
612 type: OS::Neutron::FloatingIP
614 floating_network_id: { get_param: public_net_id }
615 port_id: { get_resource: k8s_06_private_port }
618 type: OS::Heat::CloudConfig
624 - [ /opt/k8s_vm_install.sh ]
626 - path: /opt/k8s_vm_install.sh
631 __docker_proxy__: { get_param: docker_proxy }
632 __apt_proxy__: { get_param: apt_proxy }
633 __docker_version__: { get_param: docker_version }
634 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
635 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
636 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
637 __mtu__: { get_param: mtu }
639 get_file: k8s_vm_install.sh
640 - path: /opt/k8s_vm_init.sh
645 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
646 __host_label__: 'compute'
648 get_file: k8s_vm_init.sh
649 - path: /etc/init.d/k8s_vm_init_serv
652 get_file: k8s_vm_init_serv.sh
655 type: OS::Heat::MultipartMime
658 - config: { get_resource: k8s_06_vm_scripts }
661 type: OS::Nova::Server
664 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '06' ] ]
665 image: { get_param: ubuntu_1604_image }
666 flavor: { get_param: k8s_vm_flavor }
667 key_name: { get_param: key_name }
669 - port: { get_resource: k8s_06_private_port }
670 user_data_format: SOFTWARE_CONFIG
671 user_data: { get_resource: k8s_06_vm_config }
674 type: OS::Neutron::Port
676 network: { get_resource: oam_network }
677 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
679 - { get_resource: onap_sg }
682 type: OS::Neutron::FloatingIP
684 floating_network_id: { get_param: public_net_id }
685 port_id: { get_resource: etcd_1_private_port }
688 type: OS::Heat::CloudConfig
694 - [ /opt/k8s_vm_install.sh ]
696 - path: /opt/k8s_vm_install.sh
701 __docker_proxy__: { get_param: docker_proxy }
702 __apt_proxy__: { get_param: apt_proxy }
703 __docker_version__: { get_param: docker_version }
704 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
705 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
706 __host_private_ip_addr__: { get_attr: [etcd_1_floating_ip, fixed_ip_address] }
707 __mtu__: { get_param: mtu }
709 get_file: k8s_vm_install.sh
710 - path: /opt/k8s_vm_init.sh
715 __host_private_ip_addr__: { get_attr: [etcd_1_floating_ip, fixed_ip_address] }
716 __host_label__: 'etcd'
718 get_file: k8s_vm_init.sh
719 - path: /etc/init.d/k8s_vm_init_serv
722 get_file: k8s_vm_init_serv.sh
725 type: OS::Heat::MultipartMime
728 - config: { get_resource: etcd_1_vm_scripts }
731 type: OS::Nova::Server
734 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'etcd', '1' ] ]
735 image: { get_param: ubuntu_1604_image }
736 flavor: { get_param: etcd_vm_flavor }
737 key_name: { get_param: key_name }
739 - port: { get_resource: etcd_1_private_port }
740 user_data_format: SOFTWARE_CONFIG
741 user_data: { get_resource: etcd_1_vm_config }
744 type: OS::Neutron::Port
746 network: { get_resource: oam_network }
747 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
749 - { get_resource: onap_sg }
752 type: OS::Neutron::FloatingIP
754 floating_network_id: { get_param: public_net_id }
755 port_id: { get_resource: etcd_2_private_port }
758 type: OS::Heat::CloudConfig
764 - [ /opt/k8s_vm_install.sh ]
766 - path: /opt/k8s_vm_install.sh
771 __docker_proxy__: { get_param: docker_proxy }
772 __apt_proxy__: { get_param: apt_proxy }
773 __docker_version__: { get_param: docker_version }
774 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
775 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
776 __host_private_ip_addr__: { get_attr: [etcd_2_floating_ip, fixed_ip_address] }
777 __mtu__: { get_param: mtu }
779 get_file: k8s_vm_install.sh
780 - path: /opt/k8s_vm_init.sh
785 __host_private_ip_addr__: { get_attr: [etcd_2_floating_ip, fixed_ip_address] }
786 __host_label__: 'etcd'
788 get_file: k8s_vm_init.sh
789 - path: /etc/init.d/k8s_vm_init_serv
792 get_file: k8s_vm_init_serv.sh
795 type: OS::Heat::MultipartMime
798 - config: { get_resource: etcd_2_vm_scripts }
801 type: OS::Nova::Server
804 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'etcd', '2' ] ]
805 image: { get_param: ubuntu_1604_image }
806 flavor: { get_param: etcd_vm_flavor }
807 key_name: { get_param: key_name }
809 - port: { get_resource: etcd_2_private_port }
810 user_data_format: SOFTWARE_CONFIG
811 user_data: { get_resource: etcd_2_vm_config }
814 type: OS::Neutron::Port
816 network: { get_resource: oam_network }
817 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
819 - { get_resource: onap_sg }
822 type: OS::Neutron::FloatingIP
824 floating_network_id: { get_param: public_net_id }
825 port_id: { get_resource: etcd_3_private_port }
828 type: OS::Heat::CloudConfig
834 - [ /opt/k8s_vm_install.sh ]
836 - path: /opt/k8s_vm_install.sh
841 __docker_proxy__: { get_param: docker_proxy }
842 __apt_proxy__: { get_param: apt_proxy }
843 __docker_version__: { get_param: docker_version }
844 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
845 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
846 __host_private_ip_addr__: { get_attr: [etcd_3_floating_ip, fixed_ip_address] }
847 __mtu__: { get_param: mtu }
849 get_file: k8s_vm_install.sh
850 - path: /opt/k8s_vm_init.sh
855 __host_private_ip_addr__: { get_attr: [etcd_3_floating_ip, fixed_ip_address] }
856 __host_label__: 'etcd'
858 get_file: k8s_vm_init.sh
859 - path: /etc/init.d/k8s_vm_init_serv
862 get_file: k8s_vm_init_serv.sh
865 type: OS::Heat::MultipartMime
868 - config: { get_resource: etcd_3_vm_scripts }
871 type: OS::Nova::Server
874 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'etcd', '3' ] ]
875 image: { get_param: ubuntu_1604_image }
876 flavor: { get_param: etcd_vm_flavor }
877 key_name: { get_param: key_name }
879 - port: { get_resource: etcd_3_private_port }
880 user_data_format: SOFTWARE_CONFIG
881 user_data: { get_resource: etcd_3_vm_config }
884 type: OS::Neutron::Port
886 network: { get_resource: oam_network }
887 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
889 - { get_resource: onap_sg }
892 type: OS::Neutron::FloatingIP
894 floating_network_id: { get_param: public_net_id }
895 port_id: { get_resource: orch_1_private_port }
898 type: OS::Heat::CloudConfig
904 - [ /opt/k8s_vm_install.sh ]
906 - path: /opt/k8s_vm_install.sh
911 __docker_proxy__: { get_param: docker_proxy }
912 __apt_proxy__: { get_param: apt_proxy }
913 __docker_version__: { get_param: docker_version }
914 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
915 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
916 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
917 __mtu__: { get_param: mtu }
919 get_file: k8s_vm_install.sh
920 - path: /opt/k8s_vm_init.sh
925 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
926 __host_label__: 'orchestration'
928 get_file: k8s_vm_init.sh
929 - path: /etc/init.d/k8s_vm_init_serv
932 get_file: k8s_vm_init_serv.sh
935 type: OS::Heat::MultipartMime
938 - config: { get_resource: orch_1_vm_scripts }
941 type: OS::Nova::Server
944 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '1' ] ]
945 image: { get_param: ubuntu_1604_image }
946 flavor: { get_param: orch_vm_flavor }
947 key_name: { get_param: key_name }
949 - port: { get_resource: orch_1_private_port }
950 user_data_format: SOFTWARE_CONFIG
951 user_data: { get_resource: orch_1_vm_config }
954 type: OS::Neutron::Port
956 network: { get_resource: oam_network }
957 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
959 - { get_resource: onap_sg }
962 type: OS::Neutron::FloatingIP
964 floating_network_id: { get_param: public_net_id }
965 port_id: { get_resource: orch_2_private_port }
968 type: OS::Heat::CloudConfig
974 - [ /opt/k8s_vm_install.sh ]
976 - path: /opt/k8s_vm_install.sh
981 __docker_proxy__: { get_param: docker_proxy }
982 __apt_proxy__: { get_param: apt_proxy }
983 __docker_version__: { get_param: docker_version }
984 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
985 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
986 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
987 __mtu__: { get_param: mtu }
989 get_file: k8s_vm_install.sh
990 - path: /opt/k8s_vm_init.sh
995 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
996 __host_label__: 'orchestration'
998 get_file: k8s_vm_init.sh
999 - path: /etc/init.d/k8s_vm_init_serv
1002 get_file: k8s_vm_init_serv.sh
1005 type: OS::Heat::MultipartMime
1008 - config: { get_resource: orch_2_vm_scripts }
1011 type: OS::Nova::Server
1014 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '2' ] ]
1015 image: { get_param: ubuntu_1604_image }
1016 flavor: { get_param: orch_vm_flavor }
1017 key_name: { get_param: key_name }
1019 - port: { get_resource: orch_2_private_port }
1020 user_data_format: SOFTWARE_CONFIG
1021 user_data: { get_resource: orch_2_vm_config }
1025 description: The IP address of the rancher instance
1026 value: { get_attr: [rancher_floating_ip, floating_ip_address] }
1029 description: The IP address of the k8s_01 instance
1030 value: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
1033 description: The IP address of the k8s_02 instance
1034 value: { get_attr: [k8s_02_floating_ip, floating_ip_address] }
1037 description: The IP address of the k8s_03 instance
1038 value: { get_attr: [k8s_03_floating_ip, floating_ip_address] }
1041 description: The IP address of the k8s_04 instance
1042 value: { get_attr: [k8s_04_floating_ip, floating_ip_address] }
1045 description: The IP address of the k8s_05 instance
1046 value: { get_attr: [k8s_05_floating_ip, floating_ip_address] }
1049 description: The IP address of the k8s_06 instance
1050 value: { get_attr: [k8s_06_floating_ip, floating_ip_address] }