blob: f25bf6f764b08c648975b2fba543f8651eb112f3 [file] [log] [blame]
Gary Wu11c98742018-05-02 16:19:04 -07001#
2# Generated by scripts/gen-onap-oom-yaml.sh; MANUAL CHANGES WILL BE LOST
3#
Gary Wuccd529b2018-01-16 18:31:01 -08004heat_template_version: 2015-10-15
5description: ONAP on Kubernetes using OOM
6
7parameters:
Gary Wuccd529b2018-01-16 18:31:01 -08008 docker_proxy:
9 type: string
10
11 apt_proxy:
12 type: string
13
Gary Wuc98156d2018-01-18 12:03:26 -080014 public_net_id:
15 type: string
16 description: The ID of the Public network for floating IP address allocation
17
Gary Wuc98156d2018-01-18 12:03:26 -080018 oam_network_cidr:
19 type: string
20 description: CIDR of the OAM ONAP network
21
Gary Wu60dd0d82018-01-18 14:54:47 -080022 ubuntu_1604_image:
23 type: string
24 description: Name of the Ubuntu 16.04 image
25
Gary Wu60dd0d82018-01-18 14:54:47 -080026 rancher_vm_flavor:
27 type: string
Gary Wu11c98742018-05-02 16:19:04 -070028 description: VM flavor for Rancher
Gary Wu60dd0d82018-01-18 14:54:47 -080029
30 k8s_vm_flavor:
31 type: string
Gary Wu11c98742018-05-02 16:19:04 -070032 description: VM flavor for k8s hosts
33
Gary Wu3fd6c2a2018-10-28 21:44:00 -070034 etcd_vm_flavor:
35 type: string
36 description: VM flavor for etcd hosts
37
38 orch_vm_flavor:
39 type: string
40 description: VM flavor for orch hosts
41
Gary Wu11c98742018-05-02 16:19:04 -070042 integration_override_yaml:
43 type: string
44 description: Content for integration_override.yaml
Gary Wu60dd0d82018-01-18 14:54:47 -080045
Gary Wu87aa8b52018-08-09 08:10:24 -070046 integration_gerrit_branch:
Gary Wu81836d22018-06-22 13:48:50 -070047 type: string
48 default: "master"
49
Gary Wu87aa8b52018-08-09 08:10:24 -070050 integration_gerrit_refspec:
51 type: string
52 default: "refs/heads/master"
53
54 oom_gerrit_branch:
55 type: string
56 default: "master"
57
58 oom_gerrit_refspec:
Gary Wu81836d22018-06-22 13:48:50 -070059 type: string
60 default: "refs/heads/master"
61
62 docker_manifest:
63 type: string
Gary Wu87aa8b52018-08-09 08:10:24 -070064 default: ""
Gary Wu81836d22018-06-22 13:48:50 -070065
gwu10db4622018-07-17 22:11:39 -070066 key_name:
67 type: string
68 default: "onap_key"
69
Gary Wu7a04b3d2018-08-15 12:31:46 -070070 docker_version:
71 type: string
Gary Wu3fd6c2a2018-10-28 21:44:00 -070072 default: "17.03.2"
Gary Wu7a04b3d2018-08-15 12:31:46 -070073
74 rancher_version:
75 type: string
Gary Wu3fd6c2a2018-10-28 21:44:00 -070076 default: "1.6.22"
Gary Wu7a04b3d2018-08-15 12:31:46 -070077
78 rancher_agent_version:
79 type: string
Gary Wu3fd6c2a2018-10-28 21:44:00 -070080 default: "1.2.11"
Gary Wu7a04b3d2018-08-15 12:31:46 -070081
82 kubectl_version:
83 type: string
Gary Wu3fd6c2a2018-10-28 21:44:00 -070084 default: "1.11.2"
Gary Wu7a04b3d2018-08-15 12:31:46 -070085
86 helm_version:
87 type: string
88 default: "2.9.1"
89
Gary Wu48a32942018-11-08 07:34:49 -080090 helm_deploy_delay:
91 type: string
92 default: "2m"
93
94 use_ramdisk:
95 type: string
96 description: Set to "true" if you want to use a RAM disk for /dockerdata-nfs/.
97 default: "false"
98
Gary Wuccd529b2018-01-16 18:31:01 -080099resources:
Gary Wuc98156d2018-01-18 12:03:26 -0800100 random-str:
101 type: OS::Heat::RandomString
102 properties:
103 length: 4
104
Gary Wubc11e5d2018-02-07 10:23:27 -0800105 # ONAP security group
106 onap_sg:
107 type: OS::Neutron::SecurityGroup
108 properties:
109 name:
110 str_replace:
111 template: base_rand
112 params:
113 base: onap_sg
114 rand: { get_resource: random-str }
115 description: security group used by ONAP
116 rules:
117 # All egress traffic
118 - direction: egress
119 ethertype: IPv4
120 - direction: egress
121 ethertype: IPv6
122 # ingress traffic
123 # ICMP
124 - protocol: icmp
125 - protocol: udp
126 port_range_min: 1
127 port_range_max: 65535
128 - protocol: tcp
129 port_range_min: 1
130 port_range_max: 65535
Marco Platania2a6faaa2018-11-12 15:00:08 -0500131 # Protocols used for vLB/vDNS use case
132 - protocol: 47
133 - protocol: 53
134 - protocol: 132
Gary Wubc11e5d2018-02-07 10:23:27 -0800135
136
Gary Wu52dfdcb2018-01-25 11:02:48 -0800137 # ONAP management private network
138 oam_network:
139 type: OS::Neutron::Net
140 properties:
141 name:
142 str_replace:
143 template: oam_network_rand
144 params:
145 rand: { get_resource: random-str }
146
147 oam_subnet:
148 type: OS::Neutron::Subnet
149 properties:
150 name:
151 str_replace:
152 template: oam_network_rand
153 params:
154 rand: { get_resource: random-str }
155 network_id: { get_resource: oam_network }
156 cidr: { get_param: oam_network_cidr }
Gary Wu14a6b302018-05-01 15:59:28 -0700157 dns_nameservers: [ "8.8.8.8" ]
Gary Wu52dfdcb2018-01-25 11:02:48 -0800158
159 router:
160 type: OS::Neutron::Router
161 properties:
eHanan97b7a9c2018-09-05 14:09:19 +0100162 name:
163 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'router']]
Gary Wu52dfdcb2018-01-25 11:02:48 -0800164 external_gateway_info:
165 network: { get_param: public_net_id }
166
167 router_interface:
168 type: OS::Neutron::RouterInterface
169 properties:
170 router_id: { get_resource: router }
171 subnet_id: { get_resource: oam_subnet }
172
Gary Wu374498a2018-02-06 17:31:04 -0800173 rancher_private_port:
174 type: OS::Neutron::Port
175 properties:
176 network: { get_resource: oam_network }
177 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
Gary Wubc11e5d2018-02-07 10:23:27 -0800178 security_groups:
179 - { get_resource: onap_sg }
Gary Wu374498a2018-02-06 17:31:04 -0800180
181 rancher_floating_ip:
182 type: OS::Neutron::FloatingIP
183 properties:
184 floating_network_id: { get_param: public_net_id }
185 port_id: { get_resource: rancher_private_port }
186
Gary Wuccd529b2018-01-16 18:31:01 -0800187 rancher_vm:
188 type: OS::Nova::Server
189 properties:
eHanan97b7a9c2018-09-05 14:09:19 +0100190 name:
191 list_join: ['-', [{ get_param: 'OS::stack_name' }, 'rancher']]
Gary Wu558ac6e2018-01-19 14:53:12 -0800192 image: { get_param: ubuntu_1604_image }
Gary Wu60dd0d82018-01-18 14:54:47 -0800193 flavor: { get_param: rancher_vm_flavor }
gwu10db4622018-07-17 22:11:39 -0700194 key_name: { get_param: key_name }
Gary Wuccd529b2018-01-16 18:31:01 -0800195 networks:
Gary Wu374498a2018-02-06 17:31:04 -0800196 - port: { get_resource: rancher_private_port }
Gary Wuccd529b2018-01-16 18:31:01 -0800197 user_data_format: RAW
198 user_data:
199 str_replace:
Gary Wu1ff56672018-01-17 20:51:45 -0800200 template:
201 get_file: rancher_vm_entrypoint.sh
Gary Wu14a6b302018-05-01 15:59:28 -0700202 params:
Gary Wu14a6b302018-05-01 15:59:28 -0700203 __docker_proxy__: { get_param: docker_proxy }
204 __apt_proxy__: { get_param: apt_proxy }
205 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
Gary Wuad513722018-07-26 13:08:47 -0700206 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
Gary Wu11c98742018-05-02 16:19:04 -0700207 __integration_override_yaml__: { get_param: integration_override_yaml }
Gary Wu87aa8b52018-08-09 08:10:24 -0700208 __integration_gerrit_branch__: { get_param: integration_gerrit_branch }
209 __integration_gerrit_refspec__: { get_param: integration_gerrit_refspec }
210 __oom_gerrit_branch__: { get_param: oom_gerrit_branch }
211 __oom_gerrit_refspec__: { get_param: oom_gerrit_refspec }
Gary Wu81836d22018-06-22 13:48:50 -0700212 __docker_manifest__: { get_param: docker_manifest }
Gary Wu7a04b3d2018-08-15 12:31:46 -0700213 __docker_version__: { get_param: docker_version }
214 __rancher_version__: { get_param: rancher_version }
215 __rancher_agent_version__: { get_param: rancher_agent_version }
216 __kubectl_version__: { get_param: kubectl_version }
217 __helm_version__: { get_param: helm_version }
Gary Wu48a32942018-11-08 07:34:49 -0800218 __helm_deploy_delay__: { get_param: helm_deploy_delay }
219 __use_ramdisk__: { get_param: use_ramdisk }
Gary Wu978171e2018-07-24 11:56:01 -0700220 __public_net_id__: { get_param: public_net_id }
221 __oam_network_cidr__: { get_param: oam_network_cidr }
Gary Wu11c98742018-05-02 16:19:04 -0700222 __oam_network_id__: { get_resource: oam_network }
223 __oam_subnet_id__: { get_resource: oam_subnet }
Gary Wu17440fe2018-10-22 15:12:07 -0700224 __sec_group__: { get_resource: onap_sg }
Gary Wu48a32942018-11-08 07:34:49 -0800225 __k8s_01_vm_ip__: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
Gary Wu14a6b302018-05-01 15:59:28 -0700226 __k8s_vm_ips__: [
Gary Wu48a32942018-11-08 07:34:49 -0800227 get_attr: [k8s_01_floating_ip, floating_ip_address],
228 get_attr: [k8s_02_floating_ip, floating_ip_address],
229 get_attr: [k8s_03_floating_ip, floating_ip_address],
230 get_attr: [k8s_04_floating_ip, floating_ip_address],
231 get_attr: [k8s_05_floating_ip, floating_ip_address],
232 get_attr: [k8s_06_floating_ip, floating_ip_address],
233 get_attr: [k8s_07_floating_ip, floating_ip_address],
234 get_attr: [k8s_08_floating_ip, floating_ip_address],
235 get_attr: [k8s_09_floating_ip, floating_ip_address],
Gary Wudc2351b2018-09-24 13:37:53 -0700236 get_attr: [k8s_10_floating_ip, floating_ip_address],
Gary Wu48a32942018-11-08 07:34:49 -0800237 get_attr: [k8s_11_floating_ip, floating_ip_address],
Gary Wu4b79dbb2018-11-08 20:04:33 -0800238 get_attr: [k8s_12_floating_ip, floating_ip_address],
Gary Wu14a6b302018-05-01 15:59:28 -0700239 ]
Gary Wuad513722018-07-26 13:08:47 -0700240 __k8s_private_ips__: [
Gary Wu48a32942018-11-08 07:34:49 -0800241 get_attr: [k8s_01_floating_ip, fixed_ip_address],
242 get_attr: [k8s_02_floating_ip, fixed_ip_address],
243 get_attr: [k8s_03_floating_ip, fixed_ip_address],
244 get_attr: [k8s_04_floating_ip, fixed_ip_address],
245 get_attr: [k8s_05_floating_ip, fixed_ip_address],
246 get_attr: [k8s_06_floating_ip, fixed_ip_address],
247 get_attr: [k8s_07_floating_ip, fixed_ip_address],
248 get_attr: [k8s_08_floating_ip, fixed_ip_address],
249 get_attr: [k8s_09_floating_ip, fixed_ip_address],
Gary Wudc2351b2018-09-24 13:37:53 -0700250 get_attr: [k8s_10_floating_ip, fixed_ip_address],
Gary Wu48a32942018-11-08 07:34:49 -0800251 get_attr: [k8s_11_floating_ip, fixed_ip_address],
Gary Wu4b79dbb2018-11-08 20:04:33 -0800252 get_attr: [k8s_12_floating_ip, fixed_ip_address],
Gary Wuad513722018-07-26 13:08:47 -0700253 ]
Gary Wu48a32942018-11-08 07:34:49 -0800254 k8s_01_private_port:
Gary Wu52dfdcb2018-01-25 11:02:48 -0800255 type: OS::Neutron::Port
256 properties:
257 network: { get_resource: oam_network }
258 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
Gary Wubc11e5d2018-02-07 10:23:27 -0800259 security_groups:
260 - { get_resource: onap_sg }
Gary Wu52dfdcb2018-01-25 11:02:48 -0800261
Gary Wu48a32942018-11-08 07:34:49 -0800262 k8s_01_floating_ip:
Gary Wu52dfdcb2018-01-25 11:02:48 -0800263 type: OS::Neutron::FloatingIP
264 properties:
265 floating_network_id: { get_param: public_net_id }
Gary Wu48a32942018-11-08 07:34:49 -0800266 port_id: { get_resource: k8s_01_private_port }
Gary Wu52dfdcb2018-01-25 11:02:48 -0800267
Gary Wu48a32942018-11-08 07:34:49 -0800268 k8s_01_vm:
Gary Wuccd529b2018-01-16 18:31:01 -0800269 type: OS::Nova::Server
270 properties:
eHanan97b7a9c2018-09-05 14:09:19 +0100271 name:
Gary Wu48a32942018-11-08 07:34:49 -0800272 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '01' ] ]
Gary Wu558ac6e2018-01-19 14:53:12 -0800273 image: { get_param: ubuntu_1604_image }
Gary Wu60dd0d82018-01-18 14:54:47 -0800274 flavor: { get_param: k8s_vm_flavor }
gwu10db4622018-07-17 22:11:39 -0700275 key_name: { get_param: key_name }
Gary Wuccd529b2018-01-16 18:31:01 -0800276 networks:
Gary Wu48a32942018-11-08 07:34:49 -0800277 - port: { get_resource: k8s_01_private_port }
Gary Wuccd529b2018-01-16 18:31:01 -0800278 user_data_format: RAW
279 user_data:
280 str_replace:
281 params:
282 __docker_proxy__: { get_param: docker_proxy }
283 __apt_proxy__: { get_param: apt_proxy }
Gary Wu7a04b3d2018-08-15 12:31:46 -0700284 __docker_version__: { get_param: docker_version }
Gary Wu5d325d02018-02-06 21:21:31 -0800285 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
Gary Wuad513722018-07-26 13:08:47 -0700286 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700287 __host_label__: 'compute'
Gary Wu14a6b302018-05-01 15:59:28 -0700288 template:
289 get_file: k8s_vm_entrypoint.sh
290
Gary Wu48a32942018-11-08 07:34:49 -0800291 k8s_02_private_port:
Gary Wu14a6b302018-05-01 15:59:28 -0700292 type: OS::Neutron::Port
293 properties:
294 network: { get_resource: oam_network }
295 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
296 security_groups:
297 - { get_resource: onap_sg }
298
Gary Wu48a32942018-11-08 07:34:49 -0800299 k8s_02_floating_ip:
Gary Wu14a6b302018-05-01 15:59:28 -0700300 type: OS::Neutron::FloatingIP
301 properties:
302 floating_network_id: { get_param: public_net_id }
Gary Wu48a32942018-11-08 07:34:49 -0800303 port_id: { get_resource: k8s_02_private_port }
Gary Wu14a6b302018-05-01 15:59:28 -0700304
Gary Wu48a32942018-11-08 07:34:49 -0800305 k8s_02_vm:
Gary Wu14a6b302018-05-01 15:59:28 -0700306 type: OS::Nova::Server
307 properties:
eHanan97b7a9c2018-09-05 14:09:19 +0100308 name:
Gary Wu48a32942018-11-08 07:34:49 -0800309 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '02' ] ]
Gary Wu14a6b302018-05-01 15:59:28 -0700310 image: { get_param: ubuntu_1604_image }
311 flavor: { get_param: k8s_vm_flavor }
gwu10db4622018-07-17 22:11:39 -0700312 key_name: { get_param: key_name }
Gary Wu14a6b302018-05-01 15:59:28 -0700313 networks:
Gary Wu48a32942018-11-08 07:34:49 -0800314 - port: { get_resource: k8s_02_private_port }
Gary Wu14a6b302018-05-01 15:59:28 -0700315 user_data_format: RAW
316 user_data:
317 str_replace:
318 params:
Gary Wu14a6b302018-05-01 15:59:28 -0700319 __docker_proxy__: { get_param: docker_proxy }
320 __apt_proxy__: { get_param: apt_proxy }
Gary Wu7a04b3d2018-08-15 12:31:46 -0700321 __docker_version__: { get_param: docker_version }
Gary Wu14a6b302018-05-01 15:59:28 -0700322 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
Gary Wuad513722018-07-26 13:08:47 -0700323 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700324 __host_label__: 'compute'
Gary Wu14a6b302018-05-01 15:59:28 -0700325 template:
326 get_file: k8s_vm_entrypoint.sh
327
Gary Wu48a32942018-11-08 07:34:49 -0800328 k8s_03_private_port:
Gary Wu14a6b302018-05-01 15:59:28 -0700329 type: OS::Neutron::Port
330 properties:
331 network: { get_resource: oam_network }
332 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
333 security_groups:
334 - { get_resource: onap_sg }
335
Gary Wu48a32942018-11-08 07:34:49 -0800336 k8s_03_floating_ip:
Gary Wu14a6b302018-05-01 15:59:28 -0700337 type: OS::Neutron::FloatingIP
338 properties:
339 floating_network_id: { get_param: public_net_id }
Gary Wu48a32942018-11-08 07:34:49 -0800340 port_id: { get_resource: k8s_03_private_port }
Gary Wu14a6b302018-05-01 15:59:28 -0700341
Gary Wu48a32942018-11-08 07:34:49 -0800342 k8s_03_vm:
Gary Wu14a6b302018-05-01 15:59:28 -0700343 type: OS::Nova::Server
344 properties:
eHanan97b7a9c2018-09-05 14:09:19 +0100345 name:
Gary Wu48a32942018-11-08 07:34:49 -0800346 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '03' ] ]
Gary Wu14a6b302018-05-01 15:59:28 -0700347 image: { get_param: ubuntu_1604_image }
348 flavor: { get_param: k8s_vm_flavor }
gwu10db4622018-07-17 22:11:39 -0700349 key_name: { get_param: key_name }
Gary Wu14a6b302018-05-01 15:59:28 -0700350 networks:
Gary Wu48a32942018-11-08 07:34:49 -0800351 - port: { get_resource: k8s_03_private_port }
Gary Wu14a6b302018-05-01 15:59:28 -0700352 user_data_format: RAW
353 user_data:
354 str_replace:
355 params:
Gary Wu14a6b302018-05-01 15:59:28 -0700356 __docker_proxy__: { get_param: docker_proxy }
357 __apt_proxy__: { get_param: apt_proxy }
Gary Wu7a04b3d2018-08-15 12:31:46 -0700358 __docker_version__: { get_param: docker_version }
Gary Wu14a6b302018-05-01 15:59:28 -0700359 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
Gary Wuad513722018-07-26 13:08:47 -0700360 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700361 __host_label__: 'compute'
Gary Wu14a6b302018-05-01 15:59:28 -0700362 template:
363 get_file: k8s_vm_entrypoint.sh
364
Gary Wu48a32942018-11-08 07:34:49 -0800365 k8s_04_private_port:
Gary Wu14a6b302018-05-01 15:59:28 -0700366 type: OS::Neutron::Port
367 properties:
368 network: { get_resource: oam_network }
369 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
370 security_groups:
371 - { get_resource: onap_sg }
372
Gary Wu48a32942018-11-08 07:34:49 -0800373 k8s_04_floating_ip:
Gary Wu14a6b302018-05-01 15:59:28 -0700374 type: OS::Neutron::FloatingIP
375 properties:
376 floating_network_id: { get_param: public_net_id }
Gary Wu48a32942018-11-08 07:34:49 -0800377 port_id: { get_resource: k8s_04_private_port }
Gary Wu14a6b302018-05-01 15:59:28 -0700378
Gary Wu48a32942018-11-08 07:34:49 -0800379 k8s_04_vm:
Gary Wu14a6b302018-05-01 15:59:28 -0700380 type: OS::Nova::Server
381 properties:
eHanan97b7a9c2018-09-05 14:09:19 +0100382 name:
Gary Wu48a32942018-11-08 07:34:49 -0800383 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '04' ] ]
Gary Wu14a6b302018-05-01 15:59:28 -0700384 image: { get_param: ubuntu_1604_image }
385 flavor: { get_param: k8s_vm_flavor }
gwu10db4622018-07-17 22:11:39 -0700386 key_name: { get_param: key_name }
Gary Wu14a6b302018-05-01 15:59:28 -0700387 networks:
Gary Wu48a32942018-11-08 07:34:49 -0800388 - port: { get_resource: k8s_04_private_port }
Gary Wu14a6b302018-05-01 15:59:28 -0700389 user_data_format: RAW
390 user_data:
391 str_replace:
392 params:
Gary Wu14a6b302018-05-01 15:59:28 -0700393 __docker_proxy__: { get_param: docker_proxy }
394 __apt_proxy__: { get_param: apt_proxy }
Gary Wu7a04b3d2018-08-15 12:31:46 -0700395 __docker_version__: { get_param: docker_version }
Gary Wu14a6b302018-05-01 15:59:28 -0700396 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
Gary Wuad513722018-07-26 13:08:47 -0700397 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700398 __host_label__: 'compute'
Gary Wu14a6b302018-05-01 15:59:28 -0700399 template:
400 get_file: k8s_vm_entrypoint.sh
401
Gary Wu48a32942018-11-08 07:34:49 -0800402 k8s_05_private_port:
Gary Wu4d2cfb62018-09-07 09:05:33 -0700403 type: OS::Neutron::Port
404 properties:
405 network: { get_resource: oam_network }
406 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
407 security_groups:
408 - { get_resource: onap_sg }
409
Gary Wu48a32942018-11-08 07:34:49 -0800410 k8s_05_floating_ip:
Gary Wu4d2cfb62018-09-07 09:05:33 -0700411 type: OS::Neutron::FloatingIP
412 properties:
413 floating_network_id: { get_param: public_net_id }
Gary Wu48a32942018-11-08 07:34:49 -0800414 port_id: { get_resource: k8s_05_private_port }
Gary Wu4d2cfb62018-09-07 09:05:33 -0700415
Gary Wu48a32942018-11-08 07:34:49 -0800416 k8s_05_vm:
Gary Wu4d2cfb62018-09-07 09:05:33 -0700417 type: OS::Nova::Server
418 properties:
eHanan97b7a9c2018-09-05 14:09:19 +0100419 name:
Gary Wu48a32942018-11-08 07:34:49 -0800420 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '05' ] ]
Gary Wu4d2cfb62018-09-07 09:05:33 -0700421 image: { get_param: ubuntu_1604_image }
422 flavor: { get_param: k8s_vm_flavor }
423 key_name: { get_param: key_name }
424 networks:
Gary Wu48a32942018-11-08 07:34:49 -0800425 - port: { get_resource: k8s_05_private_port }
Gary Wu4d2cfb62018-09-07 09:05:33 -0700426 user_data_format: RAW
427 user_data:
428 str_replace:
429 params:
430 __docker_proxy__: { get_param: docker_proxy }
431 __apt_proxy__: { get_param: apt_proxy }
432 __docker_version__: { get_param: docker_version }
433 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
434 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700435 __host_label__: 'compute'
Gary Wu4d2cfb62018-09-07 09:05:33 -0700436 template:
437 get_file: k8s_vm_entrypoint.sh
438
Gary Wu48a32942018-11-08 07:34:49 -0800439 k8s_06_private_port:
Gary Wu0bf673e2018-09-18 08:24:33 -0700440 type: OS::Neutron::Port
441 properties:
442 network: { get_resource: oam_network }
443 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
444 security_groups:
445 - { get_resource: onap_sg }
446
Gary Wu48a32942018-11-08 07:34:49 -0800447 k8s_06_floating_ip:
Gary Wu0bf673e2018-09-18 08:24:33 -0700448 type: OS::Neutron::FloatingIP
449 properties:
450 floating_network_id: { get_param: public_net_id }
Gary Wu48a32942018-11-08 07:34:49 -0800451 port_id: { get_resource: k8s_06_private_port }
Gary Wu0bf673e2018-09-18 08:24:33 -0700452
Gary Wu48a32942018-11-08 07:34:49 -0800453 k8s_06_vm:
Gary Wu0bf673e2018-09-18 08:24:33 -0700454 type: OS::Nova::Server
455 properties:
456 name:
Gary Wu48a32942018-11-08 07:34:49 -0800457 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '06' ] ]
Gary Wu0bf673e2018-09-18 08:24:33 -0700458 image: { get_param: ubuntu_1604_image }
459 flavor: { get_param: k8s_vm_flavor }
460 key_name: { get_param: key_name }
461 networks:
Gary Wu48a32942018-11-08 07:34:49 -0800462 - port: { get_resource: k8s_06_private_port }
Gary Wu0bf673e2018-09-18 08:24:33 -0700463 user_data_format: RAW
464 user_data:
465 str_replace:
466 params:
467 __docker_proxy__: { get_param: docker_proxy }
468 __apt_proxy__: { get_param: apt_proxy }
469 __docker_version__: { get_param: docker_version }
470 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
471 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700472 __host_label__: 'compute'
Gary Wu0bf673e2018-09-18 08:24:33 -0700473 template:
474 get_file: k8s_vm_entrypoint.sh
475
Gary Wu48a32942018-11-08 07:34:49 -0800476 k8s_07_private_port:
Gary Wudc2351b2018-09-24 13:37:53 -0700477 type: OS::Neutron::Port
478 properties:
479 network: { get_resource: oam_network }
480 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
481 security_groups:
482 - { get_resource: onap_sg }
483
Gary Wu48a32942018-11-08 07:34:49 -0800484 k8s_07_floating_ip:
Gary Wudc2351b2018-09-24 13:37:53 -0700485 type: OS::Neutron::FloatingIP
486 properties:
487 floating_network_id: { get_param: public_net_id }
Gary Wu48a32942018-11-08 07:34:49 -0800488 port_id: { get_resource: k8s_07_private_port }
Gary Wudc2351b2018-09-24 13:37:53 -0700489
Gary Wu48a32942018-11-08 07:34:49 -0800490 k8s_07_vm:
Gary Wudc2351b2018-09-24 13:37:53 -0700491 type: OS::Nova::Server
492 properties:
493 name:
Gary Wu48a32942018-11-08 07:34:49 -0800494 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '07' ] ]
Gary Wudc2351b2018-09-24 13:37:53 -0700495 image: { get_param: ubuntu_1604_image }
496 flavor: { get_param: k8s_vm_flavor }
497 key_name: { get_param: key_name }
498 networks:
Gary Wu48a32942018-11-08 07:34:49 -0800499 - port: { get_resource: k8s_07_private_port }
Gary Wudc2351b2018-09-24 13:37:53 -0700500 user_data_format: RAW
501 user_data:
502 str_replace:
503 params:
504 __docker_proxy__: { get_param: docker_proxy }
505 __apt_proxy__: { get_param: apt_proxy }
506 __docker_version__: { get_param: docker_version }
507 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
508 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700509 __host_label__: 'compute'
Gary Wudc2351b2018-09-24 13:37:53 -0700510 template:
511 get_file: k8s_vm_entrypoint.sh
512
Gary Wu48a32942018-11-08 07:34:49 -0800513 k8s_08_private_port:
Gary Wudc2351b2018-09-24 13:37:53 -0700514 type: OS::Neutron::Port
515 properties:
516 network: { get_resource: oam_network }
517 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
518 security_groups:
519 - { get_resource: onap_sg }
520
Gary Wu48a32942018-11-08 07:34:49 -0800521 k8s_08_floating_ip:
Gary Wudc2351b2018-09-24 13:37:53 -0700522 type: OS::Neutron::FloatingIP
523 properties:
524 floating_network_id: { get_param: public_net_id }
Gary Wu48a32942018-11-08 07:34:49 -0800525 port_id: { get_resource: k8s_08_private_port }
Gary Wudc2351b2018-09-24 13:37:53 -0700526
Gary Wu48a32942018-11-08 07:34:49 -0800527 k8s_08_vm:
Gary Wudc2351b2018-09-24 13:37:53 -0700528 type: OS::Nova::Server
529 properties:
530 name:
Gary Wu48a32942018-11-08 07:34:49 -0800531 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '08' ] ]
Gary Wudc2351b2018-09-24 13:37:53 -0700532 image: { get_param: ubuntu_1604_image }
533 flavor: { get_param: k8s_vm_flavor }
534 key_name: { get_param: key_name }
535 networks:
Gary Wu48a32942018-11-08 07:34:49 -0800536 - port: { get_resource: k8s_08_private_port }
Gary Wudc2351b2018-09-24 13:37:53 -0700537 user_data_format: RAW
538 user_data:
539 str_replace:
540 params:
541 __docker_proxy__: { get_param: docker_proxy }
542 __apt_proxy__: { get_param: apt_proxy }
543 __docker_version__: { get_param: docker_version }
544 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
545 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700546 __host_label__: 'compute'
Gary Wudc2351b2018-09-24 13:37:53 -0700547 template:
548 get_file: k8s_vm_entrypoint.sh
549
Gary Wu48a32942018-11-08 07:34:49 -0800550 k8s_09_private_port:
Gary Wudc2351b2018-09-24 13:37:53 -0700551 type: OS::Neutron::Port
552 properties:
553 network: { get_resource: oam_network }
554 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
555 security_groups:
556 - { get_resource: onap_sg }
557
Gary Wu48a32942018-11-08 07:34:49 -0800558 k8s_09_floating_ip:
Gary Wudc2351b2018-09-24 13:37:53 -0700559 type: OS::Neutron::FloatingIP
560 properties:
561 floating_network_id: { get_param: public_net_id }
Gary Wu48a32942018-11-08 07:34:49 -0800562 port_id: { get_resource: k8s_09_private_port }
Gary Wudc2351b2018-09-24 13:37:53 -0700563
Gary Wu48a32942018-11-08 07:34:49 -0800564 k8s_09_vm:
Gary Wudc2351b2018-09-24 13:37:53 -0700565 type: OS::Nova::Server
566 properties:
567 name:
Gary Wu48a32942018-11-08 07:34:49 -0800568 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '09' ] ]
Gary Wudc2351b2018-09-24 13:37:53 -0700569 image: { get_param: ubuntu_1604_image }
570 flavor: { get_param: k8s_vm_flavor }
571 key_name: { get_param: key_name }
572 networks:
Gary Wu48a32942018-11-08 07:34:49 -0800573 - port: { get_resource: k8s_09_private_port }
Gary Wudc2351b2018-09-24 13:37:53 -0700574 user_data_format: RAW
575 user_data:
576 str_replace:
577 params:
578 __docker_proxy__: { get_param: docker_proxy }
579 __apt_proxy__: { get_param: apt_proxy }
580 __docker_version__: { get_param: docker_version }
581 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
582 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700583 __host_label__: 'compute'
Gary Wudc2351b2018-09-24 13:37:53 -0700584 template:
585 get_file: k8s_vm_entrypoint.sh
586
587 k8s_10_private_port:
588 type: OS::Neutron::Port
589 properties:
590 network: { get_resource: oam_network }
591 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
592 security_groups:
593 - { get_resource: onap_sg }
594
595 k8s_10_floating_ip:
596 type: OS::Neutron::FloatingIP
597 properties:
598 floating_network_id: { get_param: public_net_id }
599 port_id: { get_resource: k8s_10_private_port }
600
601 k8s_10_vm:
602 type: OS::Nova::Server
603 properties:
604 name:
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700605 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '10' ] ]
Gary Wudc2351b2018-09-24 13:37:53 -0700606 image: { get_param: ubuntu_1604_image }
607 flavor: { get_param: k8s_vm_flavor }
608 key_name: { get_param: key_name }
609 networks:
610 - port: { get_resource: k8s_10_private_port }
611 user_data_format: RAW
612 user_data:
613 str_replace:
614 params:
615 __docker_proxy__: { get_param: docker_proxy }
616 __apt_proxy__: { get_param: apt_proxy }
617 __docker_version__: { get_param: docker_version }
618 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
619 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700620 __host_label__: 'compute'
Gary Wudc2351b2018-09-24 13:37:53 -0700621 template:
622 get_file: k8s_vm_entrypoint.sh
623
Gary Wu48a32942018-11-08 07:34:49 -0800624 k8s_11_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_11_floating_ip:
633 type: OS::Neutron::FloatingIP
634 properties:
635 floating_network_id: { get_param: public_net_id }
636 port_id: { get_resource: k8s_11_private_port }
637
638 k8s_11_vm:
639 type: OS::Nova::Server
640 properties:
641 name:
642 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '11' ] ]
643 image: { get_param: ubuntu_1604_image }
644 flavor: { get_param: k8s_vm_flavor }
645 key_name: { get_param: key_name }
646 networks:
647 - port: { get_resource: k8s_11_private_port }
648 user_data_format: RAW
649 user_data:
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 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
656 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
657 __host_label__: 'compute'
658 template:
659 get_file: k8s_vm_entrypoint.sh
660
Gary Wu4b79dbb2018-11-08 20:04:33 -0800661 k8s_12_private_port:
662 type: OS::Neutron::Port
663 properties:
664 network: { get_resource: oam_network }
665 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
666 security_groups:
667 - { get_resource: onap_sg }
668
669 k8s_12_floating_ip:
670 type: OS::Neutron::FloatingIP
671 properties:
672 floating_network_id: { get_param: public_net_id }
673 port_id: { get_resource: k8s_12_private_port }
674
675 k8s_12_vm:
676 type: OS::Nova::Server
677 properties:
678 name:
679 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s', '12' ] ]
680 image: { get_param: ubuntu_1604_image }
681 flavor: { get_param: k8s_vm_flavor }
682 key_name: { get_param: key_name }
683 networks:
684 - port: { get_resource: k8s_12_private_port }
685 user_data_format: RAW
686 user_data:
687 str_replace:
688 params:
689 __docker_proxy__: { get_param: docker_proxy }
690 __apt_proxy__: { get_param: apt_proxy }
691 __docker_version__: { get_param: docker_version }
692 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
693 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
694 __host_label__: 'compute'
695 template:
696 get_file: k8s_vm_entrypoint.sh
697
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700698 etcd_1_private_port:
Gary Wu61db1be2018-09-25 08:12:33 -0700699 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
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700706 etcd_1_floating_ip:
Gary Wu61db1be2018-09-25 08:12:33 -0700707 type: OS::Neutron::FloatingIP
708 properties:
709 floating_network_id: { get_param: public_net_id }
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700710 port_id: { get_resource: etcd_1_private_port }
Gary Wu61db1be2018-09-25 08:12:33 -0700711
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700712 etcd_1_vm:
Gary Wu61db1be2018-09-25 08:12:33 -0700713 type: OS::Nova::Server
714 properties:
715 name:
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700716 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'etcd', '1' ] ]
Gary Wu61db1be2018-09-25 08:12:33 -0700717 image: { get_param: ubuntu_1604_image }
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700718 flavor: { get_param: etcd_vm_flavor }
Gary Wu61db1be2018-09-25 08:12:33 -0700719 key_name: { get_param: key_name }
720 networks:
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700721 - port: { get_resource: etcd_1_private_port }
Gary Wu61db1be2018-09-25 08:12:33 -0700722 user_data_format: RAW
723 user_data:
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] }
Gary Wu3fd6c2a2018-10-28 21:44:00 -0700731 __host_label__: 'etcd'
732 template:
733 get_file: k8s_vm_entrypoint.sh
734
735 etcd_2_private_port:
736 type: OS::Neutron::Port
737 properties:
738 network: { get_resource: oam_network }
739 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
740 security_groups:
741 - { get_resource: onap_sg }
742
743 etcd_2_floating_ip:
744 type: OS::Neutron::FloatingIP
745 properties:
746 floating_network_id: { get_param: public_net_id }
747 port_id: { get_resource: etcd_2_private_port }
748
749 etcd_2_vm:
750 type: OS::Nova::Server
751 properties:
752 name:
753 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'etcd', '2' ] ]
754 image: { get_param: ubuntu_1604_image }
755 flavor: { get_param: etcd_vm_flavor }
756 key_name: { get_param: key_name }
757 networks:
758 - port: { get_resource: etcd_2_private_port }
759 user_data_format: RAW
760 user_data:
761 str_replace:
762 params:
763 __docker_proxy__: { get_param: docker_proxy }
764 __apt_proxy__: { get_param: apt_proxy }
765 __docker_version__: { get_param: docker_version }
766 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
767 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
768 __host_label__: 'etcd'
769 template:
770 get_file: k8s_vm_entrypoint.sh
771
772 etcd_3_private_port:
773 type: OS::Neutron::Port
774 properties:
775 network: { get_resource: oam_network }
776 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
777 security_groups:
778 - { get_resource: onap_sg }
779
780 etcd_3_floating_ip:
781 type: OS::Neutron::FloatingIP
782 properties:
783 floating_network_id: { get_param: public_net_id }
784 port_id: { get_resource: etcd_3_private_port }
785
786 etcd_3_vm:
787 type: OS::Nova::Server
788 properties:
789 name:
790 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'etcd', '3' ] ]
791 image: { get_param: ubuntu_1604_image }
792 flavor: { get_param: etcd_vm_flavor }
793 key_name: { get_param: key_name }
794 networks:
795 - port: { get_resource: etcd_3_private_port }
796 user_data_format: RAW
797 user_data:
798 str_replace:
799 params:
800 __docker_proxy__: { get_param: docker_proxy }
801 __apt_proxy__: { get_param: apt_proxy }
802 __docker_version__: { get_param: docker_version }
803 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
804 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
805 __host_label__: 'etcd'
806 template:
807 get_file: k8s_vm_entrypoint.sh
808
Gary Wu89f67232018-11-01 13:45:31 -0700809 orch_1_private_port:
810 type: OS::Neutron::Port
811 properties:
812 network: { get_resource: oam_network }
813 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
814 security_groups:
815 - { get_resource: onap_sg }
816
817 orch_1_floating_ip:
818 type: OS::Neutron::FloatingIP
819 properties:
820 floating_network_id: { get_param: public_net_id }
821 port_id: { get_resource: orch_1_private_port }
822
823 orch_1_vm:
824 type: OS::Nova::Server
825 properties:
826 name:
827 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '1' ] ]
828 image: { get_param: ubuntu_1604_image }
829 flavor: { get_param: orch_vm_flavor }
830 key_name: { get_param: key_name }
831 networks:
832 - port: { get_resource: orch_1_private_port }
833 user_data_format: RAW
834 user_data:
835 str_replace:
836 params:
837 __docker_proxy__: { get_param: docker_proxy }
838 __apt_proxy__: { get_param: apt_proxy }
839 __docker_version__: { get_param: docker_version }
840 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
841 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
842 __host_label__: 'orchestration'
843 template:
844 get_file: k8s_vm_entrypoint.sh
845
Gary Wu6e662012018-11-13 18:41:45 -0800846 orch_2_private_port:
847 type: OS::Neutron::Port
848 properties:
849 network: { get_resource: oam_network }
850 fixed_ips: [{"subnet": { get_resource: oam_subnet }}]
851 security_groups:
852 - { get_resource: onap_sg }
853
854 orch_2_floating_ip:
855 type: OS::Neutron::FloatingIP
856 properties:
857 floating_network_id: { get_param: public_net_id }
858 port_id: { get_resource: orch_2_private_port }
859
860 orch_2_vm:
861 type: OS::Nova::Server
862 properties:
863 name:
864 list_join: ['-', [ { get_param: 'OS::stack_name' }, 'orch', '2' ] ]
865 image: { get_param: ubuntu_1604_image }
866 flavor: { get_param: orch_vm_flavor }
867 key_name: { get_param: key_name }
868 networks:
869 - port: { get_resource: orch_2_private_port }
870 user_data_format: RAW
871 user_data:
872 str_replace:
873 params:
874 __docker_proxy__: { get_param: docker_proxy }
875 __apt_proxy__: { get_param: apt_proxy }
876 __docker_version__: { get_param: docker_version }
877 __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
878 __rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
879 __host_label__: 'orchestration'
880 template:
881 get_file: k8s_vm_entrypoint.sh
882
Gary Wu14ee41d2018-01-19 15:03:59 -0800883outputs:
Gary Wu61034082018-01-22 12:48:50 -0800884 rancher_vm_ip:
885 description: The IP address of the rancher instance
Gary Wu5d325d02018-02-06 21:21:31 -0800886 value: { get_attr: [rancher_floating_ip, floating_ip_address] }
Gary Wu61034082018-01-22 12:48:50 -0800887
Gary Wu48a32942018-11-08 07:34:49 -0800888 k8s_01_vm_ip:
889 description: The IP address of the k8s_01 instance
890 value: { get_attr: [k8s_01_floating_ip, floating_ip_address] }
Gary Wu36e42dd2018-05-03 07:29:53 -0700891
Gary Wu48a32942018-11-08 07:34:49 -0800892 k8s_02_vm_ip:
893 description: The IP address of the k8s_02 instance
894 value: { get_attr: [k8s_02_floating_ip, floating_ip_address] }
Gary Wu36e42dd2018-05-03 07:29:53 -0700895
Gary Wu48a32942018-11-08 07:34:49 -0800896 k8s_03_vm_ip:
897 description: The IP address of the k8s_03 instance
898 value: { get_attr: [k8s_03_floating_ip, floating_ip_address] }
Gary Wu36e42dd2018-05-03 07:29:53 -0700899
Gary Wu48a32942018-11-08 07:34:49 -0800900 k8s_04_vm_ip:
901 description: The IP address of the k8s_04 instance
902 value: { get_attr: [k8s_04_floating_ip, floating_ip_address] }
Gary Wu36e42dd2018-05-03 07:29:53 -0700903
Gary Wu48a32942018-11-08 07:34:49 -0800904 k8s_05_vm_ip:
905 description: The IP address of the k8s_05 instance
906 value: { get_attr: [k8s_05_floating_ip, floating_ip_address] }
Gary Wu4d2cfb62018-09-07 09:05:33 -0700907
Gary Wu48a32942018-11-08 07:34:49 -0800908 k8s_06_vm_ip:
909 description: The IP address of the k8s_06 instance
910 value: { get_attr: [k8s_06_floating_ip, floating_ip_address] }
Gary Wu0bf673e2018-09-18 08:24:33 -0700911
Gary Wu48a32942018-11-08 07:34:49 -0800912 k8s_07_vm_ip:
913 description: The IP address of the k8s_07 instance
914 value: { get_attr: [k8s_07_floating_ip, floating_ip_address] }
Gary Wudc2351b2018-09-24 13:37:53 -0700915
Gary Wu48a32942018-11-08 07:34:49 -0800916 k8s_08_vm_ip:
917 description: The IP address of the k8s_08 instance
918 value: { get_attr: [k8s_08_floating_ip, floating_ip_address] }
Gary Wudc2351b2018-09-24 13:37:53 -0700919
Gary Wu48a32942018-11-08 07:34:49 -0800920 k8s_09_vm_ip:
921 description: The IP address of the k8s_09 instance
922 value: { get_attr: [k8s_09_floating_ip, floating_ip_address] }
Gary Wudc2351b2018-09-24 13:37:53 -0700923
924 k8s_10_vm_ip:
925 description: The IP address of the k8s_10 instance
926 value: { get_attr: [k8s_10_floating_ip, floating_ip_address] }
927
Gary Wu48a32942018-11-08 07:34:49 -0800928 k8s_11_vm_ip:
929 description: The IP address of the k8s_11 instance
930 value: { get_attr: [k8s_11_floating_ip, floating_ip_address] }
931
Gary Wu4b79dbb2018-11-08 20:04:33 -0800932 k8s_12_vm_ip:
933 description: The IP address of the k8s_12 instance
934 value: { get_attr: [k8s_12_floating_ip, floating_ip_address] }
935