f3f82ef61140813ddfd090ed9a8f78ff8646430f
[integration.git] / deployment / heat / onap-rke / onap-oom.yaml
1 #
2 # Generated by scripts/gen-onap-oom-yaml.sh; MANUAL CHANGES WILL BE LOST
3 #
4 heat_template_version: 2015-10-15
5 description: ONAP on RKE Kubernetes using OOM
6
7 parameters:
8   docker_proxy:
9     type: string
10
11   apt_proxy:
12     type: string
13
14   public_net_id:
15     type: string
16     description: The ID of the Public network for floating IP address allocation
17
18   oam_network_cidr:
19     type: string
20     description: CIDR of the OAM ONAP network
21
22   oam_ext_network_cidr:
23     type: string
24     description: CIDR of the onap_oam_ext network
25
26   ubuntu_1804_image:
27     type: string
28     description: Name of the Ubuntu 18.04 image
29
30   nfs_vm_flavor:
31     type: string
32     description: VM flavor for Nfs
33
34   k8s_vm_flavor:
35     type: string
36     description: VM flavor for k8s hosts
37
38   orch_vm_flavor:
39     type: string
40     description: VM flavor for orch hosts
41
42   integration_override_yaml:
43     type: string
44     description: Content for integration_override.yaml
45
46   integration_gerrit_branch:
47     type: string
48     default: "master"
49
50   integration_gerrit_refspec:
51     type: string
52     default: ""
53
54   oom_gerrit_branch:
55     type: string
56     default: "master"
57
58   oom_gerrit_refspec:
59     type: string
60     default: ""
61
62   docker_manifest:
63     type: string
64     default: ""
65
66   key_name:
67     type: string
68     default: "onap_key"
69
70   docker_version:
71     type: string
72     default: "18.09.5"
73
74   kubectl_version:
75     type: string
76     default: "1.13.5"
77
78   helm_version:
79     type: string
80     default: "2.12.3"
81
82   helm_deploy_delay:
83     type: string
84     default: "3m"
85
86   mtu:
87     type: number
88     default: 1500
89
90   portal_hostname:
91     type: string
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"
94
95 resources:
96   random-str:
97     type: OS::Heat::RandomString
98     properties:
99       length: 4
100
101   # ONAP security group
102   onap_sg:
103     type: OS::Neutron::SecurityGroup
104     properties:
105       name:
106         str_replace:
107           template: base_rand
108           params:
109             base: onap_sg
110             rand: { get_resource: random-str }
111       description: security group used by ONAP
112       rules:
113         # All egress traffic
114         - direction: egress
115           ethertype: IPv4
116         - direction: egress
117           ethertype: IPv6
118         # ingress traffic
119         # ICMP
120         - protocol: icmp
121         - protocol: udp
122           port_range_min: 1
123           port_range_max: 65535
124         - protocol: tcp
125           port_range_min: 1
126           port_range_max: 65535
127         # Protocols used for vLB/vDNS use case
128         - protocol: 47
129         - protocol: 53
130         - protocol: 132
131
132   router:
133     type: OS::Neutron::Router
134     properties:
135       name:
136         list_join: ['-', [{ get_param: 'OS::stack_name' }, 'router']]
137       external_gateway_info:
138         network: { get_param: public_net_id }
139
140   # ONAP management private network
141   oam_network:
142     type: OS::Neutron::Net
143     properties:
144       name:
145         str_replace:
146           template: oam_network_rand
147           params:
148             rand: { get_resource: random-str }
149
150   oam_subnet:
151     type: OS::Neutron::Subnet
152     properties:
153       name:
154         str_replace:
155           template: oam_network_rand
156           params:
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" ]
161
162   oam_router_interface:
163     type: OS::Neutron::RouterInterface
164     properties:
165       router_id: { get_resource: router }
166       subnet_id: { get_resource: oam_subnet }
167
168   oam_ext_network:
169     type: OS::Neutron::Net
170     properties:
171       name: onap_oam_ext
172
173   oam_ext_subnet:
174     type: OS::Neutron::Subnet
175     properties:
176       name: onap_oam_ext
177       network_id: { get_resource: oam_ext_network }
178       cidr: { get_param: oam_ext_network_cidr }
179       enable_dhcp: false
180       dns_nameservers: [ "8.8.8.8" ]
181
182   oam_ext_router_interface:
183     type: OS::Neutron::RouterInterface
184     properties:
185       router_id: { get_resource: router }
186       subnet_id: { get_resource: oam_ext_subnet }
187
188   nfs_private_port:
189     type: OS::Neutron::Port
190     properties:
191       network: { get_resource: oam_network }
192       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
193       security_groups:
194       - { get_resource: onap_sg }
195
196   nfs_floating_ip:
197     type: OS::Neutron::FloatingIP
198     properties:
199       floating_network_id: { get_param: public_net_id }
200       port_id: { get_resource: nfs_private_port }
201   nfs_volume:
202     type: OS::Cinder::Volume
203     properties:
204       size: 200
205
206   nfs_volume_att:
207     type: OS::Cinder::VolumeAttachment
208     properties:
209       instance_uuid: { get_resource: nfs_vm }
210       volume_id: { get_resource: nfs_volume }
211
212   nfs_vm:
213     type: OS::Nova::Server
214     properties:
215       name:
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 }
220       networks:
221       - port: { get_resource: nfs_private_port }
222       user_data_format: RAW
223       user_data:
224         str_replace:
225           template:
226             get_file: nfs_vm_entrypoint.sh
227           params:
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] }
251             __k8s_vm_ips__: [
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],
264             ]
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],
278             ]
279   k8s_01_private_port:
280     type: OS::Neutron::Port
281     properties:
282       network: { get_resource: oam_network }
283       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
284       security_groups:
285       - { get_resource: onap_sg }
286
287   k8s_01_floating_ip:
288     type: OS::Neutron::FloatingIP
289     properties:
290       floating_network_id: { get_param: public_net_id }
291       port_id: { get_resource: k8s_01_private_port }
292
293   k8s_01_vm_scripts:
294     type: OS::Heat::CloudConfig
295     properties:
296       cloud_config:
297         power_state:
298           mode: reboot
299         runcmd:
300         - [ /opt/k8s_vm_install.sh ]
301         write_files:
302         - path: /opt/k8s_vm_install.sh
303           permissions: '0755'
304           content:
305             str_replace:
306               params:
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 }
314               template:
315                 get_file: k8s_vm_install.sh
316         - path: /opt/k8s_vm_init.sh
317           permissions: '0755'
318           content:
319             str_replace:
320               params:
321                 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
322                 __host_label__: 'compute'
323               template:
324                 get_file: k8s_vm_init.sh
325         - path: /etc/init.d/k8s_vm_init_serv
326           permissions: '0755'
327           content:
328             get_file: k8s_vm_init_serv.sh
329
330   k8s_01_vm_config:
331     type: OS::Heat::MultipartMime
332     properties:
333       parts:
334       - config: { get_resource: k8s_01_vm_scripts }
335
336   k8s_01_vm:
337     type: OS::Nova::Server
338     properties:
339       name:
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 }
344       networks:
345       - port: { get_resource: k8s_01_private_port }
346       user_data_format: SOFTWARE_CONFIG
347       user_data: { get_resource: k8s_01_vm_config }
348   k8s_02_private_port:
349     type: OS::Neutron::Port
350     properties:
351       network: { get_resource: oam_network }
352       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
353       security_groups:
354       - { get_resource: onap_sg }
355
356   k8s_02_floating_ip:
357     type: OS::Neutron::FloatingIP
358     properties:
359       floating_network_id: { get_param: public_net_id }
360       port_id: { get_resource: k8s_02_private_port }
361
362   k8s_02_vm_scripts:
363     type: OS::Heat::CloudConfig
364     properties:
365       cloud_config:
366         power_state:
367           mode: reboot
368         runcmd:
369         - [ /opt/k8s_vm_install.sh ]
370         write_files:
371         - path: /opt/k8s_vm_install.sh
372           permissions: '0755'
373           content:
374             str_replace:
375               params:
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 }
383               template:
384                 get_file: k8s_vm_install.sh
385         - path: /opt/k8s_vm_init.sh
386           permissions: '0755'
387           content:
388             str_replace:
389               params:
390                 __host_private_ip_addr__: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
391                 __host_label__: 'compute'
392               template:
393                 get_file: k8s_vm_init.sh
394         - path: /etc/init.d/k8s_vm_init_serv
395           permissions: '0755'
396           content:
397             get_file: k8s_vm_init_serv.sh
398
399   k8s_02_vm_config:
400     type: OS::Heat::MultipartMime
401     properties:
402       parts:
403       - config: { get_resource: k8s_02_vm_scripts }
404
405   k8s_02_vm:
406     type: OS::Nova::Server
407     properties:
408       name:
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 }
413       networks:
414       - port: { get_resource: k8s_02_private_port }
415       user_data_format: SOFTWARE_CONFIG
416       user_data: { get_resource: k8s_02_vm_config }
417   k8s_03_private_port:
418     type: OS::Neutron::Port
419     properties:
420       network: { get_resource: oam_network }
421       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
422       security_groups:
423       - { get_resource: onap_sg }
424
425   k8s_03_floating_ip:
426     type: OS::Neutron::FloatingIP
427     properties:
428       floating_network_id: { get_param: public_net_id }
429       port_id: { get_resource: k8s_03_private_port }
430
431   k8s_03_vm_scripts:
432     type: OS::Heat::CloudConfig
433     properties:
434       cloud_config:
435         power_state:
436           mode: reboot
437         runcmd:
438         - [ /opt/k8s_vm_install.sh ]
439         write_files:
440         - path: /opt/k8s_vm_install.sh
441           permissions: '0755'
442           content:
443             str_replace:
444               params:
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 }
452               template:
453                 get_file: k8s_vm_install.sh
454         - path: /opt/k8s_vm_init.sh
455           permissions: '0755'
456           content:
457             str_replace:
458               params:
459                 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
460                 __host_label__: 'compute'
461               template:
462                 get_file: k8s_vm_init.sh
463         - path: /etc/init.d/k8s_vm_init_serv
464           permissions: '0755'
465           content:
466             get_file: k8s_vm_init_serv.sh
467
468   k8s_03_vm_config:
469     type: OS::Heat::MultipartMime
470     properties:
471       parts:
472       - config: { get_resource: k8s_03_vm_scripts }
473
474   k8s_03_vm:
475     type: OS::Nova::Server
476     properties:
477       name:
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 }
482       networks:
483       - port: { get_resource: k8s_03_private_port }
484       user_data_format: SOFTWARE_CONFIG
485       user_data: { get_resource: k8s_03_vm_config }
486   k8s_04_private_port:
487     type: OS::Neutron::Port
488     properties:
489       network: { get_resource: oam_network }
490       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
491       security_groups:
492       - { get_resource: onap_sg }
493
494   k8s_04_floating_ip:
495     type: OS::Neutron::FloatingIP
496     properties:
497       floating_network_id: { get_param: public_net_id }
498       port_id: { get_resource: k8s_04_private_port }
499
500   k8s_04_vm_scripts:
501     type: OS::Heat::CloudConfig
502     properties:
503       cloud_config:
504         power_state:
505           mode: reboot
506         runcmd:
507         - [ /opt/k8s_vm_install.sh ]
508         write_files:
509         - path: /opt/k8s_vm_install.sh
510           permissions: '0755'
511           content:
512             str_replace:
513               params:
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 }
521               template:
522                 get_file: k8s_vm_install.sh
523         - path: /opt/k8s_vm_init.sh
524           permissions: '0755'
525           content:
526             str_replace:
527               params:
528                 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
529                 __host_label__: 'compute'
530               template:
531                 get_file: k8s_vm_init.sh
532         - path: /etc/init.d/k8s_vm_init_serv
533           permissions: '0755'
534           content:
535             get_file: k8s_vm_init_serv.sh
536
537   k8s_04_vm_config:
538     type: OS::Heat::MultipartMime
539     properties:
540       parts:
541       - config: { get_resource: k8s_04_vm_scripts }
542
543   k8s_04_vm:
544     type: OS::Nova::Server
545     properties:
546       name:
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 }
551       networks:
552       - port: { get_resource: k8s_04_private_port }
553       user_data_format: SOFTWARE_CONFIG
554       user_data: { get_resource: k8s_04_vm_config }
555   k8s_05_private_port:
556     type: OS::Neutron::Port
557     properties:
558       network: { get_resource: oam_network }
559       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
560       security_groups:
561       - { get_resource: onap_sg }
562
563   k8s_05_floating_ip:
564     type: OS::Neutron::FloatingIP
565     properties:
566       floating_network_id: { get_param: public_net_id }
567       port_id: { get_resource: k8s_05_private_port }
568
569   k8s_05_vm_scripts:
570     type: OS::Heat::CloudConfig
571     properties:
572       cloud_config:
573         power_state:
574           mode: reboot
575         runcmd:
576         - [ /opt/k8s_vm_install.sh ]
577         write_files:
578         - path: /opt/k8s_vm_install.sh
579           permissions: '0755'
580           content:
581             str_replace:
582               params:
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 }
590               template:
591                 get_file: k8s_vm_install.sh
592         - path: /opt/k8s_vm_init.sh
593           permissions: '0755'
594           content:
595             str_replace:
596               params:
597                 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
598                 __host_label__: 'compute'
599               template:
600                 get_file: k8s_vm_init.sh
601         - path: /etc/init.d/k8s_vm_init_serv
602           permissions: '0755'
603           content:
604             get_file: k8s_vm_init_serv.sh
605
606   k8s_05_vm_config:
607     type: OS::Heat::MultipartMime
608     properties:
609       parts:
610       - config: { get_resource: k8s_05_vm_scripts }
611
612   k8s_05_vm:
613     type: OS::Nova::Server
614     properties:
615       name:
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 }
620       networks:
621       - port: { get_resource: k8s_05_private_port }
622       user_data_format: SOFTWARE_CONFIG
623       user_data: { get_resource: k8s_05_vm_config }
624   k8s_06_private_port:
625     type: OS::Neutron::Port
626     properties:
627       network: { get_resource: oam_network }
628       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
629       security_groups:
630       - { get_resource: onap_sg }
631
632   k8s_06_floating_ip:
633     type: OS::Neutron::FloatingIP
634     properties:
635       floating_network_id: { get_param: public_net_id }
636       port_id: { get_resource: k8s_06_private_port }
637
638   k8s_06_vm_scripts:
639     type: OS::Heat::CloudConfig
640     properties:
641       cloud_config:
642         power_state:
643           mode: reboot
644         runcmd:
645         - [ /opt/k8s_vm_install.sh ]
646         write_files:
647         - path: /opt/k8s_vm_install.sh
648           permissions: '0755'
649           content:
650             str_replace:
651               params:
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 }
659               template:
660                 get_file: k8s_vm_install.sh
661         - path: /opt/k8s_vm_init.sh
662           permissions: '0755'
663           content:
664             str_replace:
665               params:
666                 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
667                 __host_label__: 'compute'
668               template:
669                 get_file: k8s_vm_init.sh
670         - path: /etc/init.d/k8s_vm_init_serv
671           permissions: '0755'
672           content:
673             get_file: k8s_vm_init_serv.sh
674
675   k8s_06_vm_config:
676     type: OS::Heat::MultipartMime
677     properties:
678       parts:
679       - config: { get_resource: k8s_06_vm_scripts }
680
681   k8s_06_vm:
682     type: OS::Nova::Server
683     properties:
684       name:
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 }
689       networks:
690       - port: { get_resource: k8s_06_private_port }
691       user_data_format: SOFTWARE_CONFIG
692       user_data: { get_resource: k8s_06_vm_config }
693   k8s_07_private_port:
694     type: OS::Neutron::Port
695     properties:
696       network: { get_resource: oam_network }
697       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
698       security_groups:
699       - { get_resource: onap_sg }
700
701   k8s_07_floating_ip:
702     type: OS::Neutron::FloatingIP
703     properties:
704       floating_network_id: { get_param: public_net_id }
705       port_id: { get_resource: k8s_07_private_port }
706
707   k8s_07_vm_scripts:
708     type: OS::Heat::CloudConfig
709     properties:
710       cloud_config:
711         power_state:
712           mode: reboot
713         runcmd:
714         - [ /opt/k8s_vm_install.sh ]
715         write_files:
716         - path: /opt/k8s_vm_install.sh
717           permissions: '0755'
718           content:
719             str_replace:
720               params:
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 }
728               template:
729                 get_file: k8s_vm_install.sh
730         - path: /opt/k8s_vm_init.sh
731           permissions: '0755'
732           content:
733             str_replace:
734               params:
735                 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
736                 __host_label__: 'compute'
737               template:
738                 get_file: k8s_vm_init.sh
739         - path: /etc/init.d/k8s_vm_init_serv
740           permissions: '0755'
741           content:
742             get_file: k8s_vm_init_serv.sh
743
744   k8s_07_vm_config:
745     type: OS::Heat::MultipartMime
746     properties:
747       parts:
748       - config: { get_resource: k8s_07_vm_scripts }
749
750   k8s_07_vm:
751     type: OS::Nova::Server
752     properties:
753       name:
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 }
758       networks:
759       - port: { get_resource: k8s_07_private_port }
760       user_data_format: SOFTWARE_CONFIG
761       user_data: { get_resource: k8s_07_vm_config }
762   k8s_08_private_port:
763     type: OS::Neutron::Port
764     properties:
765       network: { get_resource: oam_network }
766       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
767       security_groups:
768       - { get_resource: onap_sg }
769
770   k8s_08_floating_ip:
771     type: OS::Neutron::FloatingIP
772     properties:
773       floating_network_id: { get_param: public_net_id }
774       port_id: { get_resource: k8s_08_private_port }
775
776   k8s_08_vm_scripts:
777     type: OS::Heat::CloudConfig
778     properties:
779       cloud_config:
780         power_state:
781           mode: reboot
782         runcmd:
783         - [ /opt/k8s_vm_install.sh ]
784         write_files:
785         - path: /opt/k8s_vm_install.sh
786           permissions: '0755'
787           content:
788             str_replace:
789               params:
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 }
797               template:
798                 get_file: k8s_vm_install.sh
799         - path: /opt/k8s_vm_init.sh
800           permissions: '0755'
801           content:
802             str_replace:
803               params:
804                 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
805                 __host_label__: 'compute'
806               template:
807                 get_file: k8s_vm_init.sh
808         - path: /etc/init.d/k8s_vm_init_serv
809           permissions: '0755'
810           content:
811             get_file: k8s_vm_init_serv.sh
812
813   k8s_08_vm_config:
814     type: OS::Heat::MultipartMime
815     properties:
816       parts:
817       - config: { get_resource: k8s_08_vm_scripts }
818
819   k8s_08_vm:
820     type: OS::Nova::Server
821     properties:
822       name:
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 }
827       networks:
828       - port: { get_resource: k8s_08_private_port }
829       user_data_format: SOFTWARE_CONFIG
830       user_data: { get_resource: k8s_08_vm_config }
831   k8s_09_private_port:
832     type: OS::Neutron::Port
833     properties:
834       network: { get_resource: oam_network }
835       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
836       security_groups:
837       - { get_resource: onap_sg }
838
839   k8s_09_floating_ip:
840     type: OS::Neutron::FloatingIP
841     properties:
842       floating_network_id: { get_param: public_net_id }
843       port_id: { get_resource: k8s_09_private_port }
844
845   k8s_09_vm_scripts:
846     type: OS::Heat::CloudConfig
847     properties:
848       cloud_config:
849         power_state:
850           mode: reboot
851         runcmd:
852         - [ /opt/k8s_vm_install.sh ]
853         write_files:
854         - path: /opt/k8s_vm_install.sh
855           permissions: '0755'
856           content:
857             str_replace:
858               params:
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 }
866               template:
867                 get_file: k8s_vm_install.sh
868         - path: /opt/k8s_vm_init.sh
869           permissions: '0755'
870           content:
871             str_replace:
872               params:
873                 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
874                 __host_label__: 'compute'
875               template:
876                 get_file: k8s_vm_init.sh
877         - path: /etc/init.d/k8s_vm_init_serv
878           permissions: '0755'
879           content:
880             get_file: k8s_vm_init_serv.sh
881
882   k8s_09_vm_config:
883     type: OS::Heat::MultipartMime
884     properties:
885       parts:
886       - config: { get_resource: k8s_09_vm_scripts }
887
888   k8s_09_vm:
889     type: OS::Nova::Server
890     properties:
891       name:
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 }
896       networks:
897       - port: { get_resource: k8s_09_private_port }
898       user_data_format: SOFTWARE_CONFIG
899       user_data: { get_resource: k8s_09_vm_config }
900   k8s_10_private_port:
901     type: OS::Neutron::Port
902     properties:
903       network: { get_resource: oam_network }
904       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
905       security_groups:
906       - { get_resource: onap_sg }
907
908   k8s_10_floating_ip:
909     type: OS::Neutron::FloatingIP
910     properties:
911       floating_network_id: { get_param: public_net_id }
912       port_id: { get_resource: k8s_10_private_port }
913
914   k8s_10_vm_scripts:
915     type: OS::Heat::CloudConfig
916     properties:
917       cloud_config:
918         power_state:
919           mode: reboot
920         runcmd:
921         - [ /opt/k8s_vm_install.sh ]
922         write_files:
923         - path: /opt/k8s_vm_install.sh
924           permissions: '0755'
925           content:
926             str_replace:
927               params:
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 }
935               template:
936                 get_file: k8s_vm_install.sh
937         - path: /opt/k8s_vm_init.sh
938           permissions: '0755'
939           content:
940             str_replace:
941               params:
942                 __host_private_ip_addr__: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
943                 __host_label__: 'compute'
944               template:
945                 get_file: k8s_vm_init.sh
946         - path: /etc/init.d/k8s_vm_init_serv
947           permissions: '0755'
948           content:
949             get_file: k8s_vm_init_serv.sh
950
951   k8s_10_vm_config:
952     type: OS::Heat::MultipartMime
953     properties:
954       parts:
955       - config: { get_resource: k8s_10_vm_scripts }
956
957   k8s_10_vm:
958     type: OS::Nova::Server
959     properties:
960       name:
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 }
965       networks:
966       - port: { get_resource: k8s_10_private_port }
967       user_data_format: SOFTWARE_CONFIG
968       user_data: { get_resource: k8s_10_vm_config }
969   k8s_11_private_port:
970     type: OS::Neutron::Port
971     properties:
972       network: { get_resource: oam_network }
973       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
974       security_groups:
975       - { get_resource: onap_sg }
976
977   k8s_11_floating_ip:
978     type: OS::Neutron::FloatingIP
979     properties:
980       floating_network_id: { get_param: public_net_id }
981       port_id: { get_resource: k8s_11_private_port }
982
983   k8s_11_vm_scripts:
984     type: OS::Heat::CloudConfig
985     properties:
986       cloud_config:
987         power_state:
988           mode: reboot
989         runcmd:
990         - [ /opt/k8s_vm_install.sh ]
991         write_files:
992         - path: /opt/k8s_vm_install.sh
993           permissions: '0755'
994           content:
995             str_replace:
996               params:
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 }
1004               template:
1005                 get_file: k8s_vm_install.sh
1006         - path: /opt/k8s_vm_init.sh
1007           permissions: '0755'
1008           content:
1009             str_replace:
1010               params:
1011                 __host_private_ip_addr__: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
1012                 __host_label__: 'compute'
1013               template:
1014                 get_file: k8s_vm_init.sh
1015         - path: /etc/init.d/k8s_vm_init_serv
1016           permissions: '0755'
1017           content:
1018             get_file: k8s_vm_init_serv.sh
1019
1020   k8s_11_vm_config:
1021     type: OS::Heat::MultipartMime
1022     properties:
1023       parts:
1024       - config: { get_resource: k8s_11_vm_scripts }
1025
1026   k8s_11_vm:
1027     type: OS::Nova::Server
1028     properties:
1029       name:
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 }
1034       networks:
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
1040     properties:
1041       network: { get_resource: oam_network }
1042       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1043       security_groups:
1044       - { get_resource: onap_sg }
1045
1046   k8s_12_floating_ip:
1047     type: OS::Neutron::FloatingIP
1048     properties:
1049       floating_network_id: { get_param: public_net_id }
1050       port_id: { get_resource: k8s_12_private_port }
1051
1052   k8s_12_vm_scripts:
1053     type: OS::Heat::CloudConfig
1054     properties:
1055       cloud_config:
1056         power_state:
1057           mode: reboot
1058         runcmd:
1059         - [ /opt/k8s_vm_install.sh ]
1060         write_files:
1061         - path: /opt/k8s_vm_install.sh
1062           permissions: '0755'
1063           content:
1064             str_replace:
1065               params:
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 }
1073               template:
1074                 get_file: k8s_vm_install.sh
1075         - path: /opt/k8s_vm_init.sh
1076           permissions: '0755'
1077           content:
1078             str_replace:
1079               params:
1080                 __host_private_ip_addr__: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1081                 __host_label__: 'compute'
1082               template:
1083                 get_file: k8s_vm_init.sh
1084         - path: /etc/init.d/k8s_vm_init_serv
1085           permissions: '0755'
1086           content:
1087             get_file: k8s_vm_init_serv.sh
1088
1089   k8s_12_vm_config:
1090     type: OS::Heat::MultipartMime
1091     properties:
1092       parts:
1093       - config: { get_resource: k8s_12_vm_scripts }
1094
1095   k8s_12_vm:
1096     type: OS::Nova::Server
1097     properties:
1098       name:
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 }
1103       networks:
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
1109     properties:
1110       network: { get_resource: oam_network }
1111       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1112       security_groups:
1113       - { get_resource: onap_sg }
1114
1115   orch_1_floating_ip:
1116     type: OS::Neutron::FloatingIP
1117     properties:
1118       floating_network_id: { get_param: public_net_id }
1119       port_id: { get_resource: orch_1_private_port }
1120
1121   orch_1_vm_scripts:
1122     type: OS::Heat::CloudConfig
1123     properties:
1124       cloud_config:
1125         power_state:
1126           mode: reboot
1127         runcmd:
1128         - [ /opt/k8s_vm_install.sh ]
1129         write_files:
1130         - path: /opt/k8s_vm_install.sh
1131           permissions: '0755'
1132           content:
1133             str_replace:
1134               params:
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 }
1142               template:
1143                 get_file: k8s_vm_install.sh
1144         - path: /opt/k8s_vm_init.sh
1145           permissions: '0755'
1146           content:
1147             str_replace:
1148               params:
1149                 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1150                 __host_label__: 'orchestration'
1151               template:
1152                 get_file: k8s_vm_init.sh
1153         - path: /etc/init.d/k8s_vm_init_serv
1154           permissions: '0755'
1155           content:
1156             get_file: k8s_vm_init_serv.sh
1157
1158   orch_1_vm_config:
1159     type: OS::Heat::MultipartMime
1160     properties:
1161       parts:
1162       - config: { get_resource: orch_1_vm_scripts }
1163
1164   orch_1_vm:
1165     type: OS::Nova::Server
1166     properties:
1167       name:
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 }
1172       networks:
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
1178     properties:
1179       network: { get_resource: oam_network }
1180       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1181       security_groups:
1182       - { get_resource: onap_sg }
1183
1184   orch_2_floating_ip:
1185     type: OS::Neutron::FloatingIP
1186     properties:
1187       floating_network_id: { get_param: public_net_id }
1188       port_id: { get_resource: orch_2_private_port }
1189
1190   orch_2_vm_scripts:
1191     type: OS::Heat::CloudConfig
1192     properties:
1193       cloud_config:
1194         power_state:
1195           mode: reboot
1196         runcmd:
1197         - [ /opt/k8s_vm_install.sh ]
1198         write_files:
1199         - path: /opt/k8s_vm_install.sh
1200           permissions: '0755'
1201           content:
1202             str_replace:
1203               params:
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 }
1211               template:
1212                 get_file: k8s_vm_install.sh
1213         - path: /opt/k8s_vm_init.sh
1214           permissions: '0755'
1215           content:
1216             str_replace:
1217               params:
1218                 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1219                 __host_label__: 'orchestration'
1220               template:
1221                 get_file: k8s_vm_init.sh
1222         - path: /etc/init.d/k8s_vm_init_serv
1223           permissions: '0755'
1224           content:
1225             get_file: k8s_vm_init_serv.sh
1226
1227   orch_2_vm_config:
1228     type: OS::Heat::MultipartMime
1229     properties:
1230       parts:
1231       - config: { get_resource: orch_2_vm_scripts }
1232
1233   orch_2_vm:
1234     type: OS::Nova::Server
1235     properties:
1236       name:
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 }
1241       networks:
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
1247     properties:
1248       network: { get_resource: oam_network }
1249       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1250       security_groups:
1251       - { get_resource: onap_sg }
1252
1253   orch_3_floating_ip:
1254     type: OS::Neutron::FloatingIP
1255     properties:
1256       floating_network_id: { get_param: public_net_id }
1257       port_id: { get_resource: orch_3_private_port }
1258
1259   orch_3_vm_scripts:
1260     type: OS::Heat::CloudConfig
1261     properties:
1262       cloud_config:
1263         power_state:
1264           mode: reboot
1265         runcmd:
1266         - [ /opt/k8s_vm_install.sh ]
1267         write_files:
1268         - path: /opt/k8s_vm_install.sh
1269           permissions: '0755'
1270           content:
1271             str_replace:
1272               params:
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 }
1280               template:
1281                 get_file: k8s_vm_install.sh
1282         - path: /opt/k8s_vm_init.sh
1283           permissions: '0755'
1284           content:
1285             str_replace:
1286               params:
1287                 __host_private_ip_addr__: { get_attr: [orch_3_floating_ip, fixed_ip_address] }
1288                 __host_label__: 'orchestration'
1289               template:
1290                 get_file: k8s_vm_init.sh
1291         - path: /etc/init.d/k8s_vm_init_serv
1292           permissions: '0755'
1293           content:
1294             get_file: k8s_vm_init_serv.sh
1295
1296   orch_3_vm_config:
1297     type: OS::Heat::MultipartMime
1298     properties:
1299       parts:
1300       - config: { get_resource: orch_3_vm_scripts }
1301
1302   orch_3_vm:
1303     type: OS::Nova::Server
1304     properties:
1305       name:
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 }
1310       networks:
1311       - port: { get_resource: orch_3_private_port }
1312       user_data_format: SOFTWARE_CONFIG
1313       user_data: { get_resource: orch_3_vm_config }
1314 outputs:
1315   docker_proxy:
1316     value: { get_param: docker_proxy }
1317
1318   nfs_vm_ip:
1319     description: The IP address of the nfs instance
1320     value: { get_attr: [nfs_floating_ip, floating_ip_address] }
1321
1322   nfs_vm_private_ip:
1323     description: The private IP address of the nfs instance
1324     value: { get_attr: [nfs_floating_ip, fixed_ip_address] }
1325
1326   k8s_01_vm_ip:
1327     description: The IP address of the k8s_01 instance
1328     value: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
1329
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] }
1333
1334   k8s_02_vm_ip:
1335     description: The IP address of the k8s_02 instance
1336     value: { get_attr: [k8s_02_floating_ip, floating_ip_address] }
1337
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] }
1341
1342   k8s_03_vm_ip:
1343     description: The IP address of the k8s_03 instance
1344     value: { get_attr: [k8s_03_floating_ip, floating_ip_address] }
1345
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] }
1349
1350   k8s_04_vm_ip:
1351     description: The IP address of the k8s_04 instance
1352     value: { get_attr: [k8s_04_floating_ip, floating_ip_address] }
1353
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] }
1357
1358   k8s_05_vm_ip:
1359     description: The IP address of the k8s_05 instance
1360     value: { get_attr: [k8s_05_floating_ip, floating_ip_address] }
1361
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] }
1365
1366   k8s_06_vm_ip:
1367     description: The IP address of the k8s_06 instance
1368     value: { get_attr: [k8s_06_floating_ip, floating_ip_address] }
1369
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] }
1373
1374   k8s_07_vm_ip:
1375     description: The IP address of the k8s_07 instance
1376     value: { get_attr: [k8s_07_floating_ip, floating_ip_address] }
1377
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] }
1381
1382   k8s_08_vm_ip:
1383     description: The IP address of the k8s_08 instance
1384     value: { get_attr: [k8s_08_floating_ip, floating_ip_address] }
1385
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] }
1389
1390   k8s_09_vm_ip:
1391     description: The IP address of the k8s_09 instance
1392     value: { get_attr: [k8s_09_floating_ip, floating_ip_address] }
1393
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] }
1397
1398   k8s_10_vm_ip:
1399     description: The IP address of the k8s_10 instance
1400     value: { get_attr: [k8s_10_floating_ip, floating_ip_address] }
1401
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] }
1405
1406   k8s_11_vm_ip:
1407     description: The IP address of the k8s_11 instance
1408     value: { get_attr: [k8s_11_floating_ip, floating_ip_address] }
1409
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] }
1413
1414   k8s_12_vm_ip:
1415     description: The IP address of the k8s_12 instance
1416     value: { get_attr: [k8s_12_floating_ip, floating_ip_address] }
1417
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] }
1421
1422   orch_1_vm_ip:
1423     description: The IP address of the orch_1 instance
1424     value: { get_attr: [orch_1_floating_ip, floating_ip_address] }
1425
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] }
1429
1430   orch_2_vm_ip:
1431     description: The IP address of the orch_2 instance
1432     value: { get_attr: [orch_2_floating_ip, floating_ip_address] }
1433
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] }
1437
1438   orch_3_vm_ip:
1439     description: The IP address of the orch_3 instance
1440     value: { get_attr: [orch_3_floating_ip, floating_ip_address] }
1441
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] }
1445