Merge "Disable DHCP on onap_oam_ext subnet"
[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   rancher_vm_flavor:
31     type: string
32     description: VM flavor for Rancher
33
34   k8s_vm_flavor:
35     type: string
36     description: VM flavor for k8s hosts
37
38   etcd_vm_flavor:
39     type: string
40     description: VM flavor for etcd hosts
41
42   orch_vm_flavor:
43     type: string
44     description: VM flavor for orch hosts
45
46   integration_override_yaml:
47     type: string
48     description: Content for integration_override.yaml
49
50   integration_gerrit_branch:
51     type: string
52     default: "master"
53
54   integration_gerrit_refspec:
55     type: string
56     default: ""
57
58   oom_gerrit_branch:
59     type: string
60     default: "master"
61
62   oom_gerrit_refspec:
63     type: string
64     default: ""
65
66   docker_manifest:
67     type: string
68     default: ""
69
70   key_name:
71     type: string
72     default: "onap_key"
73
74   docker_version:
75     type: string
76     default: "18.09.5"
77
78   kubectl_version:
79     type: string
80     default: "1.13.5"
81
82   helm_version:
83     type: string
84     default: "2.12.3"
85
86   helm_deploy_delay:
87     type: string
88     default: "3m"
89
90   use_ramdisk:
91     type: string
92     description: Set to "true" if you want to use a RAM disk for /dockerdata-nfs/.
93     default: "false"
94
95   mtu:
96     type: number
97     default: 1500
98
99   portal_hostname:
100     type: string
101     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
102     default: "portal.api.simpledemo.onap.org"
103
104 resources:
105   random-str:
106     type: OS::Heat::RandomString
107     properties:
108       length: 4
109
110   # ONAP security group
111   onap_sg:
112     type: OS::Neutron::SecurityGroup
113     properties:
114       name:
115         str_replace:
116           template: base_rand
117           params:
118             base: onap_sg
119             rand: { get_resource: random-str }
120       description: security group used by ONAP
121       rules:
122         # All egress traffic
123         - direction: egress
124           ethertype: IPv4
125         - direction: egress
126           ethertype: IPv6
127         # ingress traffic
128         # ICMP
129         - protocol: icmp
130         - protocol: udp
131           port_range_min: 1
132           port_range_max: 65535
133         - protocol: tcp
134           port_range_min: 1
135           port_range_max: 65535
136         # Protocols used for vLB/vDNS use case
137         - protocol: 47
138         - protocol: 53
139         - protocol: 132
140
141   router:
142     type: OS::Neutron::Router
143     properties:
144       name:
145         list_join: ['-', [{ get_param: 'OS::stack_name' }, 'router']]
146       external_gateway_info:
147         network: { get_param: public_net_id }
148
149   # ONAP management private network
150   oam_network:
151     type: OS::Neutron::Net
152     properties:
153       name:
154         str_replace:
155           template: oam_network_rand
156           params:
157             rand: { get_resource: random-str }
158
159   oam_subnet:
160     type: OS::Neutron::Subnet
161     properties:
162       name:
163         str_replace:
164           template: oam_network_rand
165           params:
166             rand: { get_resource: random-str }
167       network_id: { get_resource: oam_network }
168       cidr: { get_param: oam_network_cidr }
169       dns_nameservers: [ "8.8.8.8" ]
170
171   oam_router_interface:
172     type: OS::Neutron::RouterInterface
173     properties:
174       router_id: { get_resource: router }
175       subnet_id: { get_resource: oam_subnet }
176
177   oam_ext_network:
178     type: OS::Neutron::Net
179     properties:
180       name: onap_oam_ext
181
182   oam_ext_subnet:
183     type: OS::Neutron::Subnet
184     properties:
185       name: onap_oam_ext
186       network_id: { get_resource: oam_ext_network }
187       cidr: { get_param: oam_ext_network_cidr }
188       enable_dhcp: false
189       dns_nameservers: [ "8.8.8.8" ]
190
191   oam_ext_router_interface:
192     type: OS::Neutron::RouterInterface
193     properties:
194       router_id: { get_resource: router }
195       subnet_id: { get_resource: oam_ext_subnet }
196
197   rancher_private_port:
198     type: OS::Neutron::Port
199     properties:
200       network: { get_resource: oam_network }
201       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
202       security_groups:
203       - { get_resource: onap_sg }
204
205   rancher_floating_ip:
206     type: OS::Neutron::FloatingIP
207     properties:
208       floating_network_id: { get_param: public_net_id }
209       port_id: { get_resource: rancher_private_port }
210
211   rancher_vm:
212     type: OS::Nova::Server
213     properties:
214       name:
215         list_join: ['-', [{ get_param: 'OS::stack_name' }, 'rancher']]
216       image: { get_param: ubuntu_1804_image }
217       flavor: { get_param: rancher_vm_flavor }
218       key_name: { get_param: key_name }
219       networks:
220       - port: { get_resource: rancher_private_port }
221       user_data_format: RAW
222       user_data:
223         str_replace:
224           template:
225             get_file: rancher_vm_entrypoint.sh
226           params:
227             __docker_proxy__: { get_param: docker_proxy }
228             __apt_proxy__: { get_param: apt_proxy }
229             __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
230             __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
231             __integration_override_yaml__: { get_param: integration_override_yaml }
232             __integration_gerrit_branch__: { get_param: integration_gerrit_branch }
233             __integration_gerrit_refspec__: { get_param: integration_gerrit_refspec }
234             __oom_gerrit_branch__: { get_param: oom_gerrit_branch }
235             __oom_gerrit_refspec__: { get_param: oom_gerrit_refspec }
236             __docker_manifest__: { get_param: docker_manifest }
237             __docker_version__: { get_param: docker_version }
238             __kubectl_version__: { get_param: kubectl_version }
239             __helm_version__: { get_param: helm_version }
240             __helm_deploy_delay__: { get_param: helm_deploy_delay }
241             __use_ramdisk__: { get_param: use_ramdisk }
242             __mtu__: { get_param: mtu }
243             __portal_hostname__: { get_param: portal_hostname }
244             __public_net_id__: { get_param: public_net_id }
245             __oam_network_cidr__: { get_param: oam_network_cidr }
246             __oam_network_id__: { get_resource: oam_network }
247             __oam_subnet_id__: { get_resource: oam_subnet }
248             __sec_group__: { get_resource: onap_sg }
249             __k8s_01_vm_ip__: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
250             __k8s_vm_ips__: [
251               get_attr: [k8s_01_floating_ip, floating_ip_address],
252               get_attr: [k8s_02_floating_ip, floating_ip_address],
253               get_attr: [k8s_03_floating_ip, floating_ip_address],
254               get_attr: [k8s_04_floating_ip, floating_ip_address],
255               get_attr: [k8s_05_floating_ip, floating_ip_address],
256               get_attr: [k8s_06_floating_ip, floating_ip_address],
257               get_attr: [k8s_07_floating_ip, floating_ip_address],
258               get_attr: [k8s_08_floating_ip, floating_ip_address],
259               get_attr: [k8s_09_floating_ip, floating_ip_address],
260               get_attr: [k8s_10_floating_ip, floating_ip_address],
261               get_attr: [k8s_11_floating_ip, floating_ip_address],
262               get_attr: [k8s_12_floating_ip, floating_ip_address],
263             ]
264             __k8s_private_ips__: [
265               get_attr: [k8s_01_floating_ip, fixed_ip_address],
266               get_attr: [k8s_02_floating_ip, fixed_ip_address],
267               get_attr: [k8s_03_floating_ip, fixed_ip_address],
268               get_attr: [k8s_04_floating_ip, fixed_ip_address],
269               get_attr: [k8s_05_floating_ip, fixed_ip_address],
270               get_attr: [k8s_06_floating_ip, fixed_ip_address],
271               get_attr: [k8s_07_floating_ip, fixed_ip_address],
272               get_attr: [k8s_08_floating_ip, fixed_ip_address],
273               get_attr: [k8s_09_floating_ip, fixed_ip_address],
274               get_attr: [k8s_10_floating_ip, fixed_ip_address],
275               get_attr: [k8s_11_floating_ip, fixed_ip_address],
276               get_attr: [k8s_12_floating_ip, fixed_ip_address],
277             ]
278   k8s_01_private_port:
279     type: OS::Neutron::Port
280     properties:
281       network: { get_resource: oam_network }
282       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
283       security_groups:
284       - { get_resource: onap_sg }
285
286   k8s_01_floating_ip:
287     type: OS::Neutron::FloatingIP
288     properties:
289       floating_network_id: { get_param: public_net_id }
290       port_id: { get_resource: k8s_01_private_port }
291
292   k8s_01_vm_scripts:
293     type: OS::Heat::CloudConfig
294     properties:
295       cloud_config:
296         power_state:
297           mode: reboot
298         runcmd:
299         - [ /opt/k8s_vm_install.sh ]
300         write_files:
301         - path: /opt/k8s_vm_install.sh
302           permissions: '0755'
303           content:
304             str_replace:
305               params:
306                 __docker_proxy__: { get_param: docker_proxy }
307                 __apt_proxy__: { get_param: apt_proxy }
308                 __docker_version__: { get_param: docker_version }
309                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
310                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
311                 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
312                 __mtu__: { get_param: mtu }
313               template:
314                 get_file: k8s_vm_install.sh
315         - path: /opt/k8s_vm_init.sh
316           permissions: '0755'
317           content:
318             str_replace:
319               params:
320                 __host_private_ip_addr__: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
321                 __host_label__: 'compute'
322               template:
323                 get_file: k8s_vm_init.sh
324         - path: /etc/init.d/k8s_vm_init_serv
325           permissions: '0755'
326           content:
327             get_file: k8s_vm_init_serv.sh
328
329   k8s_01_vm_config:
330     type: OS::Heat::MultipartMime
331     properties:
332       parts:
333       - config: { get_resource: k8s_01_vm_scripts }
334
335   k8s_01_vm:
336     type: OS::Nova::Server
337     properties:
338       name:
339         list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '01' ] ]
340       image: { get_param: ubuntu_1804_image }
341       flavor: { get_param: k8s_vm_flavor }
342       key_name: { get_param: key_name }
343       networks:
344       - port: { get_resource: k8s_01_private_port }
345       user_data_format: SOFTWARE_CONFIG
346       user_data: { get_resource: k8s_01_vm_config }
347
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                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
380                 __rancher_private_ip_addr__: { get_attr: [rancher_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
418   k8s_03_private_port:
419     type: OS::Neutron::Port
420     properties:
421       network: { get_resource: oam_network }
422       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
423       security_groups:
424       - { get_resource: onap_sg }
425
426   k8s_03_floating_ip:
427     type: OS::Neutron::FloatingIP
428     properties:
429       floating_network_id: { get_param: public_net_id }
430       port_id: { get_resource: k8s_03_private_port }
431
432   k8s_03_vm_scripts:
433     type: OS::Heat::CloudConfig
434     properties:
435       cloud_config:
436         power_state:
437           mode: reboot
438         runcmd:
439         - [ /opt/k8s_vm_install.sh ]
440         write_files:
441         - path: /opt/k8s_vm_install.sh
442           permissions: '0755'
443           content:
444             str_replace:
445               params:
446                 __docker_proxy__: { get_param: docker_proxy }
447                 __apt_proxy__: { get_param: apt_proxy }
448                 __docker_version__: { get_param: docker_version }
449                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
450                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
451                 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
452                 __mtu__: { get_param: mtu }
453               template:
454                 get_file: k8s_vm_install.sh
455         - path: /opt/k8s_vm_init.sh
456           permissions: '0755'
457           content:
458             str_replace:
459               params:
460                 __host_private_ip_addr__: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
461                 __host_label__: 'compute'
462               template:
463                 get_file: k8s_vm_init.sh
464         - path: /etc/init.d/k8s_vm_init_serv
465           permissions: '0755'
466           content:
467             get_file: k8s_vm_init_serv.sh
468
469   k8s_03_vm_config:
470     type: OS::Heat::MultipartMime
471     properties:
472       parts:
473       - config: { get_resource: k8s_03_vm_scripts }
474
475   k8s_03_vm:
476     type: OS::Nova::Server
477     properties:
478       name:
479         list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '03' ] ]
480       image: { get_param: ubuntu_1804_image }
481       flavor: { get_param: k8s_vm_flavor }
482       key_name: { get_param: key_name }
483       networks:
484       - port: { get_resource: k8s_03_private_port }
485       user_data_format: SOFTWARE_CONFIG
486       user_data: { get_resource: k8s_03_vm_config }
487
488   k8s_04_private_port:
489     type: OS::Neutron::Port
490     properties:
491       network: { get_resource: oam_network }
492       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
493       security_groups:
494       - { get_resource: onap_sg }
495
496   k8s_04_floating_ip:
497     type: OS::Neutron::FloatingIP
498     properties:
499       floating_network_id: { get_param: public_net_id }
500       port_id: { get_resource: k8s_04_private_port }
501
502   k8s_04_vm_scripts:
503     type: OS::Heat::CloudConfig
504     properties:
505       cloud_config:
506         power_state:
507           mode: reboot
508         runcmd:
509         - [ /opt/k8s_vm_install.sh ]
510         write_files:
511         - path: /opt/k8s_vm_install.sh
512           permissions: '0755'
513           content:
514             str_replace:
515               params:
516                 __docker_proxy__: { get_param: docker_proxy }
517                 __apt_proxy__: { get_param: apt_proxy }
518                 __docker_version__: { get_param: docker_version }
519                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
520                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
521                 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
522                 __mtu__: { get_param: mtu }
523               template:
524                 get_file: k8s_vm_install.sh
525         - path: /opt/k8s_vm_init.sh
526           permissions: '0755'
527           content:
528             str_replace:
529               params:
530                 __host_private_ip_addr__: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
531                 __host_label__: 'compute'
532               template:
533                 get_file: k8s_vm_init.sh
534         - path: /etc/init.d/k8s_vm_init_serv
535           permissions: '0755'
536           content:
537             get_file: k8s_vm_init_serv.sh
538
539   k8s_04_vm_config:
540     type: OS::Heat::MultipartMime
541     properties:
542       parts:
543       - config: { get_resource: k8s_04_vm_scripts }
544
545   k8s_04_vm:
546     type: OS::Nova::Server
547     properties:
548       name:
549         list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '04' ] ]
550       image: { get_param: ubuntu_1804_image }
551       flavor: { get_param: k8s_vm_flavor }
552       key_name: { get_param: key_name }
553       networks:
554       - port: { get_resource: k8s_04_private_port }
555       user_data_format: SOFTWARE_CONFIG
556       user_data: { get_resource: k8s_04_vm_config }
557
558   k8s_05_private_port:
559     type: OS::Neutron::Port
560     properties:
561       network: { get_resource: oam_network }
562       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
563       security_groups:
564       - { get_resource: onap_sg }
565
566   k8s_05_floating_ip:
567     type: OS::Neutron::FloatingIP
568     properties:
569       floating_network_id: { get_param: public_net_id }
570       port_id: { get_resource: k8s_05_private_port }
571
572   k8s_05_vm_scripts:
573     type: OS::Heat::CloudConfig
574     properties:
575       cloud_config:
576         power_state:
577           mode: reboot
578         runcmd:
579         - [ /opt/k8s_vm_install.sh ]
580         write_files:
581         - path: /opt/k8s_vm_install.sh
582           permissions: '0755'
583           content:
584             str_replace:
585               params:
586                 __docker_proxy__: { get_param: docker_proxy }
587                 __apt_proxy__: { get_param: apt_proxy }
588                 __docker_version__: { get_param: docker_version }
589                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
590                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
591                 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
592                 __mtu__: { get_param: mtu }
593               template:
594                 get_file: k8s_vm_install.sh
595         - path: /opt/k8s_vm_init.sh
596           permissions: '0755'
597           content:
598             str_replace:
599               params:
600                 __host_private_ip_addr__: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
601                 __host_label__: 'compute'
602               template:
603                 get_file: k8s_vm_init.sh
604         - path: /etc/init.d/k8s_vm_init_serv
605           permissions: '0755'
606           content:
607             get_file: k8s_vm_init_serv.sh
608
609   k8s_05_vm_config:
610     type: OS::Heat::MultipartMime
611     properties:
612       parts:
613       - config: { get_resource: k8s_05_vm_scripts }
614
615   k8s_05_vm:
616     type: OS::Nova::Server
617     properties:
618       name:
619         list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '05' ] ]
620       image: { get_param: ubuntu_1804_image }
621       flavor: { get_param: k8s_vm_flavor }
622       key_name: { get_param: key_name }
623       networks:
624       - port: { get_resource: k8s_05_private_port }
625       user_data_format: SOFTWARE_CONFIG
626       user_data: { get_resource: k8s_05_vm_config }
627
628   k8s_06_private_port:
629     type: OS::Neutron::Port
630     properties:
631       network: { get_resource: oam_network }
632       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
633       security_groups:
634       - { get_resource: onap_sg }
635
636   k8s_06_floating_ip:
637     type: OS::Neutron::FloatingIP
638     properties:
639       floating_network_id: { get_param: public_net_id }
640       port_id: { get_resource: k8s_06_private_port }
641
642   k8s_06_vm_scripts:
643     type: OS::Heat::CloudConfig
644     properties:
645       cloud_config:
646         power_state:
647           mode: reboot
648         runcmd:
649         - [ /opt/k8s_vm_install.sh ]
650         write_files:
651         - path: /opt/k8s_vm_install.sh
652           permissions: '0755'
653           content:
654             str_replace:
655               params:
656                 __docker_proxy__: { get_param: docker_proxy }
657                 __apt_proxy__: { get_param: apt_proxy }
658                 __docker_version__: { get_param: docker_version }
659                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
660                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
661                 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
662                 __mtu__: { get_param: mtu }
663               template:
664                 get_file: k8s_vm_install.sh
665         - path: /opt/k8s_vm_init.sh
666           permissions: '0755'
667           content:
668             str_replace:
669               params:
670                 __host_private_ip_addr__: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
671                 __host_label__: 'compute'
672               template:
673                 get_file: k8s_vm_init.sh
674         - path: /etc/init.d/k8s_vm_init_serv
675           permissions: '0755'
676           content:
677             get_file: k8s_vm_init_serv.sh
678
679   k8s_06_vm_config:
680     type: OS::Heat::MultipartMime
681     properties:
682       parts:
683       - config: { get_resource: k8s_06_vm_scripts }
684
685   k8s_06_vm:
686     type: OS::Nova::Server
687     properties:
688       name:
689         list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '06' ] ]
690       image: { get_param: ubuntu_1804_image }
691       flavor: { get_param: k8s_vm_flavor }
692       key_name: { get_param: key_name }
693       networks:
694       - port: { get_resource: k8s_06_private_port }
695       user_data_format: SOFTWARE_CONFIG
696       user_data: { get_resource: k8s_06_vm_config }
697
698   k8s_07_private_port:
699     type: OS::Neutron::Port
700     properties:
701       network: { get_resource: oam_network }
702       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
703       security_groups:
704       - { get_resource: onap_sg }
705
706   k8s_07_floating_ip:
707     type: OS::Neutron::FloatingIP
708     properties:
709       floating_network_id: { get_param: public_net_id }
710       port_id: { get_resource: k8s_07_private_port }
711
712   k8s_07_vm_scripts:
713     type: OS::Heat::CloudConfig
714     properties:
715       cloud_config:
716         power_state:
717           mode: reboot
718         runcmd:
719         - [ /opt/k8s_vm_install.sh ]
720         write_files:
721         - path: /opt/k8s_vm_install.sh
722           permissions: '0755'
723           content:
724             str_replace:
725               params:
726                 __docker_proxy__: { get_param: docker_proxy }
727                 __apt_proxy__: { get_param: apt_proxy }
728                 __docker_version__: { get_param: docker_version }
729                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
730                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
731                 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
732                 __mtu__: { get_param: mtu }
733               template:
734                 get_file: k8s_vm_install.sh
735         - path: /opt/k8s_vm_init.sh
736           permissions: '0755'
737           content:
738             str_replace:
739               params:
740                 __host_private_ip_addr__: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
741                 __host_label__: 'compute'
742               template:
743                 get_file: k8s_vm_init.sh
744         - path: /etc/init.d/k8s_vm_init_serv
745           permissions: '0755'
746           content:
747             get_file: k8s_vm_init_serv.sh
748
749   k8s_07_vm_config:
750     type: OS::Heat::MultipartMime
751     properties:
752       parts:
753       - config: { get_resource: k8s_07_vm_scripts }
754
755   k8s_07_vm:
756     type: OS::Nova::Server
757     properties:
758       name:
759         list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '07' ] ]
760       image: { get_param: ubuntu_1804_image }
761       flavor: { get_param: k8s_vm_flavor }
762       key_name: { get_param: key_name }
763       networks:
764       - port: { get_resource: k8s_07_private_port }
765       user_data_format: SOFTWARE_CONFIG
766       user_data: { get_resource: k8s_07_vm_config }
767
768   k8s_08_private_port:
769     type: OS::Neutron::Port
770     properties:
771       network: { get_resource: oam_network }
772       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
773       security_groups:
774       - { get_resource: onap_sg }
775
776   k8s_08_floating_ip:
777     type: OS::Neutron::FloatingIP
778     properties:
779       floating_network_id: { get_param: public_net_id }
780       port_id: { get_resource: k8s_08_private_port }
781
782   k8s_08_vm_scripts:
783     type: OS::Heat::CloudConfig
784     properties:
785       cloud_config:
786         power_state:
787           mode: reboot
788         runcmd:
789         - [ /opt/k8s_vm_install.sh ]
790         write_files:
791         - path: /opt/k8s_vm_install.sh
792           permissions: '0755'
793           content:
794             str_replace:
795               params:
796                 __docker_proxy__: { get_param: docker_proxy }
797                 __apt_proxy__: { get_param: apt_proxy }
798                 __docker_version__: { get_param: docker_version }
799                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
800                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
801                 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
802                 __mtu__: { get_param: mtu }
803               template:
804                 get_file: k8s_vm_install.sh
805         - path: /opt/k8s_vm_init.sh
806           permissions: '0755'
807           content:
808             str_replace:
809               params:
810                 __host_private_ip_addr__: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
811                 __host_label__: 'compute'
812               template:
813                 get_file: k8s_vm_init.sh
814         - path: /etc/init.d/k8s_vm_init_serv
815           permissions: '0755'
816           content:
817             get_file: k8s_vm_init_serv.sh
818
819   k8s_08_vm_config:
820     type: OS::Heat::MultipartMime
821     properties:
822       parts:
823       - config: { get_resource: k8s_08_vm_scripts }
824
825   k8s_08_vm:
826     type: OS::Nova::Server
827     properties:
828       name:
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 }
833       networks:
834       - port: { get_resource: k8s_08_private_port }
835       user_data_format: SOFTWARE_CONFIG
836       user_data: { get_resource: k8s_08_vm_config }
837
838   k8s_09_private_port:
839     type: OS::Neutron::Port
840     properties:
841       network: { get_resource: oam_network }
842       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
843       security_groups:
844       - { get_resource: onap_sg }
845
846   k8s_09_floating_ip:
847     type: OS::Neutron::FloatingIP
848     properties:
849       floating_network_id: { get_param: public_net_id }
850       port_id: { get_resource: k8s_09_private_port }
851
852   k8s_09_vm_scripts:
853     type: OS::Heat::CloudConfig
854     properties:
855       cloud_config:
856         power_state:
857           mode: reboot
858         runcmd:
859         - [ /opt/k8s_vm_install.sh ]
860         write_files:
861         - path: /opt/k8s_vm_install.sh
862           permissions: '0755'
863           content:
864             str_replace:
865               params:
866                 __docker_proxy__: { get_param: docker_proxy }
867                 __apt_proxy__: { get_param: apt_proxy }
868                 __docker_version__: { get_param: docker_version }
869                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
870                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
871                 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
872                 __mtu__: { get_param: mtu }
873               template:
874                 get_file: k8s_vm_install.sh
875         - path: /opt/k8s_vm_init.sh
876           permissions: '0755'
877           content:
878             str_replace:
879               params:
880                 __host_private_ip_addr__: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
881                 __host_label__: 'compute'
882               template:
883                 get_file: k8s_vm_init.sh
884         - path: /etc/init.d/k8s_vm_init_serv
885           permissions: '0755'
886           content:
887             get_file: k8s_vm_init_serv.sh
888
889   k8s_09_vm_config:
890     type: OS::Heat::MultipartMime
891     properties:
892       parts:
893       - config: { get_resource: k8s_09_vm_scripts }
894
895   k8s_09_vm:
896     type: OS::Nova::Server
897     properties:
898       name:
899         list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '09' ] ]
900       image: { get_param: ubuntu_1804_image }
901       flavor: { get_param: k8s_vm_flavor }
902       key_name: { get_param: key_name }
903       networks:
904       - port: { get_resource: k8s_09_private_port }
905       user_data_format: SOFTWARE_CONFIG
906       user_data: { get_resource: k8s_09_vm_config }
907
908   k8s_10_private_port:
909     type: OS::Neutron::Port
910     properties:
911       network: { get_resource: oam_network }
912       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
913       security_groups:
914       - { get_resource: onap_sg }
915
916   k8s_10_floating_ip:
917     type: OS::Neutron::FloatingIP
918     properties:
919       floating_network_id: { get_param: public_net_id }
920       port_id: { get_resource: k8s_10_private_port }
921
922   k8s_10_vm_scripts:
923     type: OS::Heat::CloudConfig
924     properties:
925       cloud_config:
926         power_state:
927           mode: reboot
928         runcmd:
929         - [ /opt/k8s_vm_install.sh ]
930         write_files:
931         - path: /opt/k8s_vm_install.sh
932           permissions: '0755'
933           content:
934             str_replace:
935               params:
936                 __docker_proxy__: { get_param: docker_proxy }
937                 __apt_proxy__: { get_param: apt_proxy }
938                 __docker_version__: { get_param: docker_version }
939                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
940                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
941                 __host_private_ip_addr__: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
942                 __mtu__: { get_param: mtu }
943               template:
944                 get_file: k8s_vm_install.sh
945         - path: /opt/k8s_vm_init.sh
946           permissions: '0755'
947           content:
948             str_replace:
949               params:
950                 __host_private_ip_addr__: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
951                 __host_label__: 'compute'
952               template:
953                 get_file: k8s_vm_init.sh
954         - path: /etc/init.d/k8s_vm_init_serv
955           permissions: '0755'
956           content:
957             get_file: k8s_vm_init_serv.sh
958
959   k8s_10_vm_config:
960     type: OS::Heat::MultipartMime
961     properties:
962       parts:
963       - config: { get_resource: k8s_10_vm_scripts }
964
965   k8s_10_vm:
966     type: OS::Nova::Server
967     properties:
968       name:
969         list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '10' ] ]
970       image: { get_param: ubuntu_1804_image }
971       flavor: { get_param: k8s_vm_flavor }
972       key_name: { get_param: key_name }
973       networks:
974       - port: { get_resource: k8s_10_private_port }
975       user_data_format: SOFTWARE_CONFIG
976       user_data: { get_resource: k8s_10_vm_config }
977
978   k8s_11_private_port:
979     type: OS::Neutron::Port
980     properties:
981       network: { get_resource: oam_network }
982       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
983       security_groups:
984       - { get_resource: onap_sg }
985
986   k8s_11_floating_ip:
987     type: OS::Neutron::FloatingIP
988     properties:
989       floating_network_id: { get_param: public_net_id }
990       port_id: { get_resource: k8s_11_private_port }
991
992   k8s_11_vm_scripts:
993     type: OS::Heat::CloudConfig
994     properties:
995       cloud_config:
996         power_state:
997           mode: reboot
998         runcmd:
999         - [ /opt/k8s_vm_install.sh ]
1000         write_files:
1001         - path: /opt/k8s_vm_install.sh
1002           permissions: '0755'
1003           content:
1004             str_replace:
1005               params:
1006                 __docker_proxy__: { get_param: docker_proxy }
1007                 __apt_proxy__: { get_param: apt_proxy }
1008                 __docker_version__: { get_param: docker_version }
1009                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1010                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1011                 __host_private_ip_addr__: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
1012                 __mtu__: { get_param: mtu }
1013               template:
1014                 get_file: k8s_vm_install.sh
1015         - path: /opt/k8s_vm_init.sh
1016           permissions: '0755'
1017           content:
1018             str_replace:
1019               params:
1020                 __host_private_ip_addr__: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
1021                 __host_label__: 'compute'
1022               template:
1023                 get_file: k8s_vm_init.sh
1024         - path: /etc/init.d/k8s_vm_init_serv
1025           permissions: '0755'
1026           content:
1027             get_file: k8s_vm_init_serv.sh
1028
1029   k8s_11_vm_config:
1030     type: OS::Heat::MultipartMime
1031     properties:
1032       parts:
1033       - config: { get_resource: k8s_11_vm_scripts }
1034
1035   k8s_11_vm:
1036     type: OS::Nova::Server
1037     properties:
1038       name:
1039         list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '11' ] ]
1040       image: { get_param: ubuntu_1804_image }
1041       flavor: { get_param: k8s_vm_flavor }
1042       key_name: { get_param: key_name }
1043       networks:
1044       - port: { get_resource: k8s_11_private_port }
1045       user_data_format: SOFTWARE_CONFIG
1046       user_data: { get_resource: k8s_11_vm_config }
1047
1048   k8s_12_private_port:
1049     type: OS::Neutron::Port
1050     properties:
1051       network: { get_resource: oam_network }
1052       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1053       security_groups:
1054       - { get_resource: onap_sg }
1055
1056   k8s_12_floating_ip:
1057     type: OS::Neutron::FloatingIP
1058     properties:
1059       floating_network_id: { get_param: public_net_id }
1060       port_id: { get_resource: k8s_12_private_port }
1061
1062   k8s_12_vm_scripts:
1063     type: OS::Heat::CloudConfig
1064     properties:
1065       cloud_config:
1066         power_state:
1067           mode: reboot
1068         runcmd:
1069         - [ /opt/k8s_vm_install.sh ]
1070         write_files:
1071         - path: /opt/k8s_vm_install.sh
1072           permissions: '0755'
1073           content:
1074             str_replace:
1075               params:
1076                 __docker_proxy__: { get_param: docker_proxy }
1077                 __apt_proxy__: { get_param: apt_proxy }
1078                 __docker_version__: { get_param: docker_version }
1079                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1080                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1081                 __host_private_ip_addr__: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1082                 __mtu__: { get_param: mtu }
1083               template:
1084                 get_file: k8s_vm_install.sh
1085         - path: /opt/k8s_vm_init.sh
1086           permissions: '0755'
1087           content:
1088             str_replace:
1089               params:
1090                 __host_private_ip_addr__: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1091                 __host_label__: 'compute'
1092               template:
1093                 get_file: k8s_vm_init.sh
1094         - path: /etc/init.d/k8s_vm_init_serv
1095           permissions: '0755'
1096           content:
1097             get_file: k8s_vm_init_serv.sh
1098
1099   k8s_12_vm_config:
1100     type: OS::Heat::MultipartMime
1101     properties:
1102       parts:
1103       - config: { get_resource: k8s_12_vm_scripts }
1104
1105   k8s_12_vm:
1106     type: OS::Nova::Server
1107     properties:
1108       name:
1109         list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '12' ] ]
1110       image: { get_param: ubuntu_1804_image }
1111       flavor: { get_param: k8s_vm_flavor }
1112       key_name: { get_param: key_name }
1113       networks:
1114       - port: { get_resource: k8s_12_private_port }
1115       user_data_format: SOFTWARE_CONFIG
1116       user_data: { get_resource: k8s_12_vm_config }
1117
1118   orch_1_private_port:
1119     type: OS::Neutron::Port
1120     properties:
1121       network: { get_resource: oam_network }
1122       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1123       security_groups:
1124       - { get_resource: onap_sg }
1125
1126   orch_1_floating_ip:
1127     type: OS::Neutron::FloatingIP
1128     properties:
1129       floating_network_id: { get_param: public_net_id }
1130       port_id: { get_resource: orch_1_private_port }
1131
1132   orch_1_vm_scripts:
1133     type: OS::Heat::CloudConfig
1134     properties:
1135       cloud_config:
1136         power_state:
1137           mode: reboot
1138         runcmd:
1139         - [ /opt/k8s_vm_install.sh ]
1140         write_files:
1141         - path: /opt/k8s_vm_install.sh
1142           permissions: '0755'
1143           content:
1144             str_replace:
1145               params:
1146                 __docker_proxy__: { get_param: docker_proxy }
1147                 __apt_proxy__: { get_param: apt_proxy }
1148                 __docker_version__: { get_param: docker_version }
1149                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1150                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1151                 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1152                 __mtu__: { get_param: mtu }
1153               template:
1154                 get_file: k8s_vm_install.sh
1155         - path: /opt/k8s_vm_init.sh
1156           permissions: '0755'
1157           content:
1158             str_replace:
1159               params:
1160                 __host_private_ip_addr__: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1161                 __host_label__: 'orchestration'
1162               template:
1163                 get_file: k8s_vm_init.sh
1164         - path: /etc/init.d/k8s_vm_init_serv
1165           permissions: '0755'
1166           content:
1167             get_file: k8s_vm_init_serv.sh
1168
1169   orch_1_vm_config:
1170     type: OS::Heat::MultipartMime
1171     properties:
1172       parts:
1173       - config: { get_resource: orch_1_vm_scripts }
1174
1175   orch_1_vm:
1176     type: OS::Nova::Server
1177     properties:
1178       name:
1179         list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '1' ] ]
1180       image: { get_param: ubuntu_1804_image }
1181       flavor: { get_param: orch_vm_flavor }
1182       key_name: { get_param: key_name }
1183       networks:
1184       - port: { get_resource: orch_1_private_port }
1185       user_data_format: SOFTWARE_CONFIG
1186       user_data: { get_resource: orch_1_vm_config }
1187
1188   orch_2_private_port:
1189     type: OS::Neutron::Port
1190     properties:
1191       network: { get_resource: oam_network }
1192       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1193       security_groups:
1194       - { get_resource: onap_sg }
1195
1196   orch_2_floating_ip:
1197     type: OS::Neutron::FloatingIP
1198     properties:
1199       floating_network_id: { get_param: public_net_id }
1200       port_id: { get_resource: orch_2_private_port }
1201
1202   orch_2_vm_scripts:
1203     type: OS::Heat::CloudConfig
1204     properties:
1205       cloud_config:
1206         power_state:
1207           mode: reboot
1208         runcmd:
1209         - [ /opt/k8s_vm_install.sh ]
1210         write_files:
1211         - path: /opt/k8s_vm_install.sh
1212           permissions: '0755'
1213           content:
1214             str_replace:
1215               params:
1216                 __docker_proxy__: { get_param: docker_proxy }
1217                 __apt_proxy__: { get_param: apt_proxy }
1218                 __docker_version__: { get_param: docker_version }
1219                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1220                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1221                 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1222                 __mtu__: { get_param: mtu }
1223               template:
1224                 get_file: k8s_vm_install.sh
1225         - path: /opt/k8s_vm_init.sh
1226           permissions: '0755'
1227           content:
1228             str_replace:
1229               params:
1230                 __host_private_ip_addr__: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1231                 __host_label__: 'orchestration'
1232               template:
1233                 get_file: k8s_vm_init.sh
1234         - path: /etc/init.d/k8s_vm_init_serv
1235           permissions: '0755'
1236           content:
1237             get_file: k8s_vm_init_serv.sh
1238
1239   orch_2_vm_config:
1240     type: OS::Heat::MultipartMime
1241     properties:
1242       parts:
1243       - config: { get_resource: orch_2_vm_scripts }
1244
1245   orch_2_vm:
1246     type: OS::Nova::Server
1247     properties:
1248       name:
1249         list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '2' ] ]
1250       image: { get_param: ubuntu_1804_image }
1251       flavor: { get_param: orch_vm_flavor }
1252       key_name: { get_param: key_name }
1253       networks:
1254       - port: { get_resource: orch_2_private_port }
1255       user_data_format: SOFTWARE_CONFIG
1256       user_data: { get_resource: orch_2_vm_config }
1257
1258   orch_3_private_port:
1259     type: OS::Neutron::Port
1260     properties:
1261       network: { get_resource: oam_network }
1262       fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
1263       security_groups:
1264       - { get_resource: onap_sg }
1265
1266   orch_3_floating_ip:
1267     type: OS::Neutron::FloatingIP
1268     properties:
1269       floating_network_id: { get_param: public_net_id }
1270       port_id: { get_resource: orch_3_private_port }
1271
1272   orch_3_vm_scripts:
1273     type: OS::Heat::CloudConfig
1274     properties:
1275       cloud_config:
1276         power_state:
1277           mode: reboot
1278         runcmd:
1279         - [ /opt/k8s_vm_install.sh ]
1280         write_files:
1281         - path: /opt/k8s_vm_install.sh
1282           permissions: '0755'
1283           content:
1284             str_replace:
1285               params:
1286                 __docker_proxy__: { get_param: docker_proxy }
1287                 __apt_proxy__: { get_param: apt_proxy }
1288                 __docker_version__: { get_param: docker_version }
1289                 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
1290                 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
1291                 __host_private_ip_addr__: { get_attr: [orch_3_floating_ip, fixed_ip_address] }
1292                 __mtu__: { get_param: mtu }
1293               template:
1294                 get_file: k8s_vm_install.sh
1295         - path: /opt/k8s_vm_init.sh
1296           permissions: '0755'
1297           content:
1298             str_replace:
1299               params:
1300                 __host_private_ip_addr__: { get_attr: [orch_3_floating_ip, fixed_ip_address] }
1301                 __host_label__: 'orchestration'
1302               template:
1303                 get_file: k8s_vm_init.sh
1304         - path: /etc/init.d/k8s_vm_init_serv
1305           permissions: '0755'
1306           content:
1307             get_file: k8s_vm_init_serv.sh
1308
1309   orch_3_vm_config:
1310     type: OS::Heat::MultipartMime
1311     properties:
1312       parts:
1313       - config: { get_resource: orch_3_vm_scripts }
1314
1315   orch_3_vm:
1316     type: OS::Nova::Server
1317     properties:
1318       name:
1319         list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '3' ] ]
1320       image: { get_param: ubuntu_1804_image }
1321       flavor: { get_param: orch_vm_flavor }
1322       key_name: { get_param: key_name }
1323       networks:
1324       - port: { get_resource: orch_3_private_port }
1325       user_data_format: SOFTWARE_CONFIG
1326       user_data: { get_resource: orch_3_vm_config }
1327
1328 outputs:
1329   docker_proxy:
1330     value: { get_param: docker_proxy }
1331
1332   rancher_vm_ip:
1333     description: The IP address of the rancher instance
1334     value: { get_attr: [rancher_floating_ip, floating_ip_address] }
1335
1336   k8s_01_vm_ip:
1337     description: The IP address of the k8s_01 instance
1338     value: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
1339
1340   k8s_01_vm_private_ip:
1341     description: The private IP address of the k8s_01 instance
1342     value: { get_attr: [k8s_01_floating_ip, fixed_ip_address] }
1343
1344   k8s_02_vm_ip:
1345     description: The IP address of the k8s_02 instance
1346     value: { get_attr: [k8s_02_floating_ip, floating_ip_address] }
1347
1348   k8s_02_vm_private_ip:
1349     description: The private IP address of the k8s_02 instance
1350     value: { get_attr: [k8s_02_floating_ip, fixed_ip_address] }
1351
1352   k8s_03_vm_ip:
1353     description: The IP address of the k8s_03 instance
1354     value: { get_attr: [k8s_03_floating_ip, floating_ip_address] }
1355
1356   k8s_03_vm_private_ip:
1357     description: The private IP address of the k8s_03 instance
1358     value: { get_attr: [k8s_03_floating_ip, fixed_ip_address] }
1359
1360   k8s_04_vm_ip:
1361     description: The IP address of the k8s_04 instance
1362     value: { get_attr: [k8s_04_floating_ip, floating_ip_address] }
1363
1364   k8s_04_vm_private_ip:
1365     description: The private IP address of the k8s_04 instance
1366     value: { get_attr: [k8s_04_floating_ip, fixed_ip_address] }
1367
1368   k8s_05_vm_ip:
1369     description: The IP address of the k8s_05 instance
1370     value: { get_attr: [k8s_05_floating_ip, floating_ip_address] }
1371
1372   k8s_05_vm_private_ip:
1373     description: The private IP address of the k8s_05 instance
1374     value: { get_attr: [k8s_05_floating_ip, fixed_ip_address] }
1375
1376   k8s_06_vm_ip:
1377     description: The IP address of the k8s_06 instance
1378     value: { get_attr: [k8s_06_floating_ip, floating_ip_address] }
1379
1380   k8s_06_vm_private_ip:
1381     description: The private IP address of the k8s_06 instance
1382     value: { get_attr: [k8s_06_floating_ip, fixed_ip_address] }
1383
1384   k8s_07_vm_ip:
1385     description: The IP address of the k8s_07 instance
1386     value: { get_attr: [k8s_07_floating_ip, floating_ip_address] }
1387
1388   k8s_07_vm_private_ip:
1389     description: The private IP address of the k8s_07 instance
1390     value: { get_attr: [k8s_07_floating_ip, fixed_ip_address] }
1391
1392   k8s_08_vm_ip:
1393     description: The IP address of the k8s_08 instance
1394     value: { get_attr: [k8s_08_floating_ip, floating_ip_address] }
1395
1396   k8s_08_vm_private_ip:
1397     description: The private IP address of the k8s_08 instance
1398     value: { get_attr: [k8s_08_floating_ip, fixed_ip_address] }
1399
1400   k8s_09_vm_ip:
1401     description: The IP address of the k8s_09 instance
1402     value: { get_attr: [k8s_09_floating_ip, floating_ip_address] }
1403
1404   k8s_09_vm_private_ip:
1405     description: The private IP address of the k8s_09 instance
1406     value: { get_attr: [k8s_09_floating_ip, fixed_ip_address] }
1407
1408   k8s_10_vm_ip:
1409     description: The IP address of the k8s_10 instance
1410     value: { get_attr: [k8s_10_floating_ip, floating_ip_address] }
1411
1412   k8s_10_vm_private_ip:
1413     description: The private IP address of the k8s_10 instance
1414     value: { get_attr: [k8s_10_floating_ip, fixed_ip_address] }
1415
1416   k8s_11_vm_ip:
1417     description: The IP address of the k8s_11 instance
1418     value: { get_attr: [k8s_11_floating_ip, floating_ip_address] }
1419
1420   k8s_11_vm_private_ip:
1421     description: The private IP address of the k8s_11 instance
1422     value: { get_attr: [k8s_11_floating_ip, fixed_ip_address] }
1423
1424   k8s_12_vm_ip:
1425     description: The IP address of the k8s_12 instance
1426     value: { get_attr: [k8s_12_floating_ip, floating_ip_address] }
1427
1428   k8s_12_vm_private_ip:
1429     description: The private IP address of the k8s_12 instance
1430     value: { get_attr: [k8s_12_floating_ip, fixed_ip_address] }
1431
1432   orch_1_vm_ip:
1433     description: The IP address of the orch_1 instance
1434     value: { get_attr: [orch_1_floating_ip, floating_ip_address] }
1435
1436   orch_1_vm_private_ip:
1437     description: The private IP address of the orch_1 instance
1438     value: { get_attr: [orch_1_floating_ip, fixed_ip_address] }
1439
1440   orch_2_vm_ip:
1441     description: The IP address of the orch_2 instance
1442     value: { get_attr: [orch_2_floating_ip, floating_ip_address] }
1443
1444   orch_2_vm_private_ip:
1445     description: The private IP address of the orch_2 instance
1446     value: { get_attr: [orch_2_floating_ip, fixed_ip_address] }
1447
1448   orch_3_vm_ip:
1449     description: The IP address of the orch_3 instance
1450     value: { get_attr: [orch_3_floating_ip, floating_ip_address] }
1451
1452   orch_3_vm_private_ip:
1453     description: The private IP address of the orch_3 instance
1454     value: { get_attr: [orch_3_floating_ip, fixed_ip_address] }
1455