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