Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 1 | heat_template_version: queens |
| 2 | |
| 3 | parameters: |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 4 | image: |
| 5 | type: string |
| 6 | description: Name of image to use for servers |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 7 | public_net_id: |
| 8 | type: string |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 9 | default: '' |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 10 | description: > |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 11 | ID of public network for which floating IP addresses will be allocated/ |
| 12 | for baremetal case flat provision network for nodes |
Vasyl Saienko | b9e69d0 | 2021-03-19 10:09:52 +0200 | [diff] [blame] | 13 | dns_nameservers: |
| 14 | type: json |
| 15 | default: [] |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 16 | control_network_cidr: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 17 | type: string |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 18 | description: The CIDR of control network, used to detect control interface. |
| 19 | default: '10.10.0.0/24' |
Anton Samoylov | 1af9586 | 2021-05-24 22:25:42 +0400 | [diff] [blame] | 20 | control_network_host_routes: |
| 21 | type: json |
| 22 | description: > |
| 23 | List of dicts with host routes in control subnet, e.g: |
| 24 | - "destination": "10.100.100.1/32" |
| 25 | "nexthop": "172.16.1.1" |
| 26 | default: [] |
Sergey Matov | 0709c76 | 2020-04-02 14:30:50 +0400 | [diff] [blame] | 27 | control_network_vsrx_peering_ip: |
| 28 | type: string |
| 29 | description: IP address of vsrx for tungsten fabric peering |
| 30 | default: '' |
Anton Samoylov | ea0b23e | 2020-06-26 14:17:51 +0400 | [diff] [blame] | 31 | data_network_vsrx_ip: |
| 32 | type: string |
| 33 | description: IP address of vsrx in tungsten fabric data network |
| 34 | default: '' |
Stepan Rogov | 60bc352 | 2020-12-16 17:43:25 +0300 | [diff] [blame] | 35 | docker_default_address_pool: |
| 36 | type: string |
| 37 | description: Default address pool for Docker ucp specific local networks |
| 38 | default: '10.10.1.0/16' |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 39 | masters_size: |
| 40 | type: number |
| 41 | description: Number of masters instances to deploy |
| 42 | default: 2 |
| 43 | worker_size: |
| 44 | type: number |
| 45 | description: Number of workers to deploy |
| 46 | default: 5 |
| 47 | cmp_size: |
| 48 | type: number |
| 49 | description: Number of cmp workers to deploy |
| 50 | default: 0 |
Oleksii Grudev | 6cc5ad9 | 2020-10-30 10:58:11 +0200 | [diff] [blame] | 51 | acmp_size: |
| 52 | type: number |
| 53 | description: Number of advanced cmp workers to deploy |
| 54 | default: 0 |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 55 | gtw_size: |
| 56 | type: number |
| 57 | description: Number of gtw workers to deploy |
| 58 | default: 0 |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 59 | lma_size: |
| 60 | type: number |
| 61 | description: Number of gtw workers to deploy |
| 62 | default: 0 |
| 63 | osd_size: |
| 64 | type: number |
| 65 | description: Number of gtw workers to deploy |
| 66 | default: 0 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 67 | spare_size: |
| 68 | type: number |
| 69 | description: Number of gtw workers to deploy |
| 70 | default: 0 |
Vasyl Saienko | 25bb75b | 2021-02-15 12:22:33 +0200 | [diff] [blame] | 71 | frr_size: |
| 72 | type: number |
| 73 | description: Number of frr nodes to deploy |
| 74 | default: 0 |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 75 | ntw_size: |
| 76 | type: number |
| 77 | description: Number of contrail nodes to deploy |
| 78 | default: 0 |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 79 | vbmc_size: |
| 80 | type: number |
| 81 | description: Number of nodes for virtualbmc BM node simulator |
| 82 | default: 0 |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 83 | ucp_boot_timeout: |
| 84 | type: number |
| 85 | description: Boot timeout for UCP instance |
Vasyl Saienko | f36f39c | 2020-03-10 00:21:42 +0200 | [diff] [blame] | 86 | default: 3600 |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 87 | cluster_public_key: |
| 88 | type: string |
Oleh Hryhorov | 0019f59 | 2020-01-23 11:50:12 +0200 | [diff] [blame] | 89 | private_floating_network_cidr: |
| 90 | type: string |
| 91 | default: '10.11.12.0/24' |
Oleh Hryhorov | 2a7b3d7 | 2020-02-27 17:04:24 +0200 | [diff] [blame] | 92 | private_floating_network_ipam_pool_start: |
| 93 | type: string |
| 94 | description: pool start which is used as pool for IPAM and assigned to instances port |
| 95 | default: '10.11.12.2' |
| 96 | private_floating_network_ipam_pool_end: |
| 97 | type: string |
| 98 | description: pool end which is used as pool for IPAM and assigned to instances port |
| 99 | default: '10.11.12.99' |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 100 | private_floating_network_pool_start: |
| 101 | type: string |
| 102 | default: '10.11.12.100' |
| 103 | private_floating_network_pool_end: |
| 104 | type: string |
| 105 | default: '10.11.12.200' |
| 106 | private_floating_network_gateway: |
| 107 | type: string |
Oleh Hryhorov | d3a3024 | 2020-02-11 15:24:01 +0200 | [diff] [blame] | 108 | default: '' |
Vasyl Saienko | c943f43 | 2020-04-21 12:15:57 +0300 | [diff] [blame] | 109 | private_floating_network_interface: |
| 110 | type: string |
| 111 | default: 'veth-phy' |
| 112 | description: 'The name of interface that should be added to external neutron bridge for floating network.' |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 113 | private_floating_interface: |
| 114 | description: Interface which carries floating network for child OpenStack. |
| 115 | type: string |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 116 | storage_frontend_network_cidr: |
| 117 | type: string |
| 118 | default: '10.12.0.0/24' |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 119 | storage_frontend_interface: |
| 120 | type: string |
| 121 | default: 'ens5' |
| 122 | storage_backend_network_cidr: |
| 123 | type: string |
| 124 | default: '10.11.0.0/24' |
| 125 | storage_backend_interface: |
| 126 | type: string |
| 127 | default: 'ens6' |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 128 | ironic_baremetal_network_cidr: |
| 129 | type: string |
| 130 | default: '10.13.0.0/24' |
| 131 | ironic_baremetal_network_ipam_pool_start: |
| 132 | type: string |
| 133 | default: '10.13.0.2' |
| 134 | ironic_baremetal_network_ipam_pool_end: |
| 135 | type: string |
| 136 | default: '10.13.0.99' |
| 137 | ironic_baremetal_network_pool_start: |
| 138 | type: string |
| 139 | default: '10.13.0.100' |
| 140 | ironic_baremetal_network_pool_end: |
| 141 | type: string |
| 142 | default: '10.13.0.200' |
| 143 | ironic_baremetal_network_gateway: |
| 144 | type: string |
| 145 | default: '' |
Michael Polenchuk | 486cadf | 2020-08-24 16:25:51 +0400 | [diff] [blame] | 146 | ironic_baremetal_tunnel_cidr: |
| 147 | type: string |
| 148 | default: '10.16.0.0/24' |
Vasyl Saienko | 4c46819 | 2020-05-19 11:51:13 +0300 | [diff] [blame] | 149 | ironic_baremetal_network_interface: |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 150 | type: string |
Vasyl Saienko | 4c46819 | 2020-05-19 11:51:13 +0300 | [diff] [blame] | 151 | default: 'veth-bm' |
Vasyl Saienko | 1233afd | 2020-05-21 14:55:21 +0300 | [diff] [blame] | 152 | description: 'The name of interface that should be added to ovs bridge in Neutron' |
| 153 | ironic_baremetal_network_vbmc_interface: |
| 154 | type: string |
| 155 | default: 'veth-vbmc' |
| 156 | description: 'The name of interface that should be added to ovs bridge with virtualbmc VMs.' |
Vasyl Saienko | 9fd0b5b | 2020-05-20 13:15:58 +0300 | [diff] [blame] | 157 | ironic_baremetal_provisioning_interface: |
| 158 | type: string |
| 159 | default: 'br-baremetal' |
| 160 | description: 'The name of interface on node to which IP ironic services will bind.' |
Michael Polenchuk | 486cadf | 2020-08-24 16:25:51 +0400 | [diff] [blame] | 161 | ironic_baremetal_pxe_interface: |
| 162 | type: string |
| 163 | default: 'pxe.1000' |
| 164 | description: 'Will be used as provisioning_interface for multi-tenancy mode' |
| 165 | ironic_mt_enabled: |
| 166 | type: boolean |
| 167 | default: false |
Anton Samoylov | ea0b23e | 2020-06-26 14:17:51 +0400 | [diff] [blame] | 168 | tungstenfabric_enabled: |
| 169 | type: boolean |
| 170 | default: false |
Oleh Hryhorov | e7feab4 | 2020-11-11 18:00:29 +0200 | [diff] [blame] | 171 | tun_network_cidr: |
Anton Samoylov | ea0b23e | 2020-06-26 14:17:51 +0400 | [diff] [blame] | 172 | type: string |
| 173 | default: '10.15.0.0/24' |
Mykyta Karpin | 2aba412 | 2020-12-02 15:03:09 +0200 | [diff] [blame] | 174 | # When tun interface is added to ovs bridge inside vm, |
| 175 | # and arp responder is enabled on undercloud, |
| 176 | # ip adresses from tun network pool can't be used for |
| 177 | # configuring vxlan tunnels through ovs bridge (https://mirantis.jira.com/browse/PRODX-9337). |
| 178 | # Ip addresses unknown for arp responder should be used. |
| 179 | # In deployment pipeline addresses assigned by openstack to advanced compute nodes |
| 180 | # are changed inside instance to 10.15.0.1XX for this case. |
Oleh Hryhorov | e7feab4 | 2020-11-11 18:00:29 +0200 | [diff] [blame] | 181 | tun_network_pool_start: |
Anton Samoylov | ea0b23e | 2020-06-26 14:17:51 +0400 | [diff] [blame] | 182 | type: string |
| 183 | default: '10.15.0.2' |
Oleh Hryhorov | e7feab4 | 2020-11-11 18:00:29 +0200 | [diff] [blame] | 184 | tun_network_pool_end: |
Anton Samoylov | ea0b23e | 2020-06-26 14:17:51 +0400 | [diff] [blame] | 185 | type: string |
| 186 | default: '10.15.0.99' |
Anton Samoylov | 1af9586 | 2021-05-24 22:25:42 +0400 | [diff] [blame] | 187 | tun_network_host_routes: |
| 188 | type: json |
| 189 | description: > |
| 190 | List of dicts with host routes in tunnel subnet, e.g: |
| 191 | - "destination": "10.100.100.1/32" |
| 192 | "nexthop": "172.16.1.1" |
| 193 | default: [] |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 194 | ucp_metadata: |
| 195 | type: json |
| 196 | default: {"role":"ucp"} |
| 197 | master_metadata: |
| 198 | type: json |
| 199 | default: {"role":"master"} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 200 | worker_metadata: |
| 201 | type: json |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 202 | default: {} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 203 | cmp_metadata: |
| 204 | type: json |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 205 | default: {} |
Oleksii Grudev | 6cc5ad9 | 2020-10-30 10:58:11 +0200 | [diff] [blame] | 206 | acmp_metadata: |
| 207 | type: json |
| 208 | default: {} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 209 | gtw_metadata: |
| 210 | type: json |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 211 | default: {} |
| 212 | lma_metadata: |
| 213 | type: json |
| 214 | default: {} |
| 215 | osd_metadata: |
| 216 | type: json |
| 217 | default: {} |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 218 | spare_metadata: |
| 219 | type: json |
| 220 | default: {} |
Vasyl Saienko | 25bb75b | 2021-02-15 12:22:33 +0200 | [diff] [blame] | 221 | frr_metadata: |
| 222 | type: json |
| 223 | default: {} |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 224 | ntw_metadata: |
| 225 | type: json |
| 226 | default: {} |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 227 | vbmc_metadata: |
| 228 | type: json |
| 229 | default: {} |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 230 | ucp_flavor: |
| 231 | type: string |
Vasyl Saienko | 4f74090 | 2020-08-18 11:09:06 +0300 | [diff] [blame] | 232 | default: 'kaas-bm.worker' |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 233 | masters_flavor: |
| 234 | type: string |
Vasyl Saienko | 230242f | 2020-04-07 12:46:05 +0300 | [diff] [blame] | 235 | default: 'system.compact.openstack.proxy' |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 236 | workers_flavor: |
| 237 | type: string |
| 238 | default: 'system.compact.openstack.control' |
| 239 | cmps_flavor: |
| 240 | type: string |
| 241 | default: 'system.compact.openstack.control' |
Oleksii Grudev | 6cc5ad9 | 2020-10-30 10:58:11 +0200 | [diff] [blame] | 242 | acmps_flavor: |
| 243 | type: string |
| 244 | default: 'system.compact.openstack.control.ephemeral.numa' |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 245 | gtws_flavor: |
| 246 | type: string |
| 247 | default: 'system.compact.openstack.control' |
| 248 | lmas_flavor: |
| 249 | type: string |
| 250 | default: 'system.compact.openstack.control' |
| 251 | osds_flavor: |
| 252 | type: string |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 253 | default: 'system.virtual.ceph.osd' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 254 | spares_flavor: |
| 255 | type: string |
| 256 | default: 'system.compact.openstack.control' |
Vasyl Saienko | 25bb75b | 2021-02-15 12:22:33 +0200 | [diff] [blame] | 257 | frrs_flavor: |
| 258 | type: string |
| 259 | default: 'system.compact.openstack.control' |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 260 | ntws_flavor: |
| 261 | type: string |
| 262 | default: 'system.compact.openstack.control' |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 263 | vbmcs_flavor: |
| 264 | type: string |
| 265 | default: 'system.compact.openstack.control' |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 266 | functions_override: |
| 267 | type: string |
Vasyl Saienko | 9b68899 | 2020-02-13 13:50:53 +0200 | [diff] [blame] | 268 | default: '' |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 269 | docker_ee_url: |
| 270 | type: string |
Vasyl Saienko | 552250d | 2021-03-19 12:07:23 +0200 | [diff] [blame] | 271 | default: 'https://storebits.docker.com/ubuntu' |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 272 | docker_ee_release: |
| 273 | type: string |
| 274 | default: 'stable-19.03' |
Vasyl Saienko | b59853e | 2020-05-25 10:15:26 +0300 | [diff] [blame] | 275 | docker_ucp_image: |
| 276 | type: string |
| 277 | default: 'docker/ucp:3.2.4' |
Vasyl Saienko | cfbedc7 | 2021-02-15 18:02:56 +0200 | [diff] [blame] | 278 | docker_ucp_swarm_data_port: |
| 279 | type: string |
| 280 | default: 4789 |
Oleh Hryhorov | 367e3ff | 2020-02-13 10:35:52 +0200 | [diff] [blame] | 281 | tunnel_interface: |
| 282 | type: string |
| 283 | default: '' |
| 284 | live_migration_interface: |
| 285 | type: string |
| 286 | default: '' |
| 287 | metallb_address_pools: |
| 288 | type: comma_delimited_list |
| 289 | default: '' |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 290 | hardware_metadata: |
| 291 | description: The content of lab metadata. |
| 292 | default: '' |
| 293 | type: string |
Mykyta Karpin | 6a153c5 | 2020-11-03 15:21:38 +0200 | [diff] [blame] | 294 | huge_pages: |
| 295 | description: > |
| 296 | String formatted as '<Number of Gb for 1Gb huge pages>,<Number of Mb for 2Mb huge pages' |
| 297 | If number is equal to 0 alloacation of huge pages won't be configured. |
| 298 | default: '0,0' |
| 299 | type: string |
Oleh Hryhorov | 43bbc8c | 2020-12-03 15:30:09 +0200 | [diff] [blame] | 300 | single_node: |
| 301 | description: If set true then AIO is going to be deployed. |
| 302 | type: string |
| 303 | default: 'false' |
Vasyl Saienko | 6a6c9f0 | 2021-02-08 09:54:29 +0200 | [diff] [blame] | 304 | vsrx_image: |
| 305 | type: string |
Anton Samoylov | 4225f80 | 2021-05-26 18:27:45 +0400 | [diff] [blame] | 306 | default: vsrx-mcp2-tf-3-nets-lo |
Vasyl Saienko | 6a6c9f0 | 2021-02-08 09:54:29 +0200 | [diff] [blame] | 307 | vsrx_flavor: |
| 308 | type: string |
| 309 | default: oc_vsrx |
Oleksii Grudev | 4e3c8b4 | 2021-03-02 19:02:45 +0200 | [diff] [blame] | 310 | cmp_lvm_loop_device_size: |
| 311 | description: > |
| 312 | The size of loop device for computes to configure LVM on, in gigabytes |
| 313 | type: number |
Vasyl Saienko | b78b890 | 2021-03-09 17:39:42 +0200 | [diff] [blame] | 314 | default: 50 |
Vasyl Saienko | cd30206 | 2021-04-21 22:25:18 +0300 | [diff] [blame] | 315 | cmp_cinder_lvm_loop_device_size: |
| 316 | description: > |
| 317 | The size of loop device for computes to configure LVM on, in gigabytes |
| 318 | type: number |
| 319 | default: 0 |
Oleksii Grudev | 4e3c8b4 | 2021-03-02 19:02:45 +0200 | [diff] [blame] | 320 | acmp_lvm_loop_device_size: |
| 321 | description: > |
| 322 | The size of loop device for advanced computes to configure LVM on, in gigabytes |
| 323 | type: number |
| 324 | default: 0 |
Vasyl Saienko | cd30206 | 2021-04-21 22:25:18 +0300 | [diff] [blame] | 325 | acmp_cinder_lvm_loop_device_size: |
| 326 | description: > |
| 327 | The size of loop device for advanced computes to configure LVM on, in gigabytes |
| 328 | type: number |
| 329 | default: 0 |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 330 | |
Oleh Hryhorov | cd1a3bd | 2020-12-04 13:21:06 +0200 | [diff] [blame] | 331 | conditions: |
| 332 | aio_deploy: |
| 333 | equals: |
| 334 | - get_param: single_node |
| 335 | - 'true' |
| 336 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 337 | resources: |
Vasyl Saienko | cdc11cf | 2020-11-20 17:39:00 +0200 | [diff] [blame] | 338 | keypair_name: |
| 339 | type: OS::Heat::RandomString |
| 340 | properties: |
| 341 | character_classes: [{"class": "hexdigits", "min": 1}] |
| 342 | length: 128 |
| 343 | salt: constant |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 344 | key_pair: |
| 345 | type: OS::Nova::KeyPair |
| 346 | properties: |
Vasyl Saienko | cdc11cf | 2020-11-20 17:39:00 +0200 | [diff] [blame] | 347 | name: { get_attr: [keypair_name, value] } |
| 348 | public_key: { get_param: cluster_public_key } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 349 | save_private_key: false |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 350 | accessible_network: |
| 351 | type: MCP2::NetworkAcc |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 352 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 353 | public_net_id: { get_param: public_net_id } |
Oleh Hryhorov | 07081d9 | 2020-06-30 16:19:29 +0300 | [diff] [blame] | 354 | control_network_cidr: { get_param: control_network_cidr } |
Vasyl Saienko | b9e69d0 | 2021-03-19 10:09:52 +0200 | [diff] [blame] | 355 | dns_nameservers: { get_param: dns_nameservers } |
Anton Samoylov | 1af9586 | 2021-05-24 22:25:42 +0400 | [diff] [blame] | 356 | control_network_host_routes: { get_param: control_network_host_routes } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 357 | |
Oleh Hryhorov | e7feab4 | 2020-11-11 18:00:29 +0200 | [diff] [blame] | 358 | tun_network: |
| 359 | type: MCP2::NetworkTun |
Anton Samoylov | ea0b23e | 2020-06-26 14:17:51 +0400 | [diff] [blame] | 360 | properties: |
Oleh Hryhorov | e7feab4 | 2020-11-11 18:00:29 +0200 | [diff] [blame] | 361 | tun_network_cidr: { get_param: tun_network_cidr } |
| 362 | tun_network_pool_start: { get_param: tun_network_pool_start } |
| 363 | tun_network_pool_end: { get_param: tun_network_pool_end } |
Anton Samoylov | 1af9586 | 2021-05-24 22:25:42 +0400 | [diff] [blame] | 364 | tun_network_host_routes: { get_param: tun_network_host_routes } |
Anton Samoylov | ea0b23e | 2020-06-26 14:17:51 +0400 | [diff] [blame] | 365 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 366 | private_floating_network: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 367 | type: MCP2::NetworkPrvFl |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 368 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 369 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
Oleh Hryhorov | 2a7b3d7 | 2020-02-27 17:04:24 +0200 | [diff] [blame] | 370 | private_floating_network_ipam_pool_start: { get_param: private_floating_network_ipam_pool_start } |
Oleh Hryhorov | 7b0157d | 2020-02-27 18:20:11 +0200 | [diff] [blame] | 371 | private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end } |
Sergey Matov | 0709c76 | 2020-04-02 14:30:50 +0400 | [diff] [blame] | 372 | private_floating_network_gateway: {get_param: private_floating_network_gateway} |
| 373 | control_network_vsrx_peering_ip: {get_param: control_network_vsrx_peering_ip} |
| 374 | accessible_network: { get_attr: [accessible_network, public_network]} |
Anton Samoylov | ea0b23e | 2020-06-26 14:17:51 +0400 | [diff] [blame] | 375 | data_network_vsrx_ip: { get_param: data_network_vsrx_ip } |
Oleh Hryhorov | e7feab4 | 2020-11-11 18:00:29 +0200 | [diff] [blame] | 376 | tun_network: { get_attr: [tun_network, tun_network_id] } |
Vasyl Saienko | 6a6c9f0 | 2021-02-08 09:54:29 +0200 | [diff] [blame] | 377 | vsrx_image: { get_param: vsrx_image } |
| 378 | vsrx_flavor: { get_param: vsrx_flavor } |
Mikhail Polenchuk | 3cf123d | 2021-03-12 14:23:24 +0000 | [diff] [blame] | 379 | public_net_id: { get_param: public_net_id } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 380 | |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 381 | storage_network: |
| 382 | type: MCP2::NetworkAccStorage |
| 383 | properties: |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 384 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 385 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 386 | |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 387 | ironic_baremetal_network: |
| 388 | type: MCP2::NetworkIronicFlat |
| 389 | properties: |
| 390 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
| 391 | ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start } |
| 392 | ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end } |
| 393 | ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway} |
| 394 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 395 | ucp: |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 396 | depends_on: |
| 397 | - accessible_network |
| 398 | - storage_network |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 399 | type: MCP2::SrvInstances |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 400 | properties: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 401 | metadata: { get_param: ucp_metadata} |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 402 | docker_ee_url: { get_param: docker_ee_url } |
| 403 | docker_ee_release: { get_param: docker_ee_release } |
Vasyl Saienko | b59853e | 2020-05-25 10:15:26 +0300 | [diff] [blame] | 404 | docker_ucp_image: { get_param: docker_ucp_image} |
Vasyl Saienko | cfbedc7 | 2021-02-15 18:02:56 +0200 | [diff] [blame] | 405 | docker_ucp_swarm_data_port: { get_param: docker_ucp_swarm_data_port } |
Stepan Rogov | 60bc352 | 2020-12-16 17:43:25 +0300 | [diff] [blame] | 406 | docker_default_address_pool: { get_param: docker_default_address_pool } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 407 | node_type: "ucp" |
Vasyl Saienko | def5044 | 2020-11-20 20:06:15 +0200 | [diff] [blame] | 408 | key_name: { get_attr: [keypair_name, value] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 409 | image: { get_param: image } |
| 410 | flavor: { get_param: ucp_flavor } |
| 411 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 412 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 413 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 414 | private_floating_interface: { get_param: private_floating_interface } |
| 415 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 416 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 417 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 418 | control_network_cidr: { get_param: control_network_cidr } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 419 | functions_override: { get_param: functions_override } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 420 | hardware_metadata: { get_param: hardware_metadata} |
Oleh Hryhorov | 43bbc8c | 2020-12-03 15:30:09 +0200 | [diff] [blame] | 421 | single_node: { get_param: single_node} |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 422 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 423 | masters: |
| 424 | type: OS::Heat::ResourceGroup |
| 425 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 426 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 427 | properties: |
| 428 | count: { get_param: masters_size } |
| 429 | resource_def: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 430 | type: MCP2::SrvInstances |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 431 | properties: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 432 | metadata: { get_param: master_metadata} |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 433 | node_type: "master" |
Vasyl Saienko | def5044 | 2020-11-20 20:06:15 +0200 | [diff] [blame] | 434 | key_name: { get_attr: [keypair_name, value] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 435 | image: { get_param: image } |
| 436 | flavor: { get_param: masters_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 437 | docker_ee_url: { get_param: docker_ee_url } |
| 438 | docker_ee_release: { get_param: docker_ee_release } |
Vasyl Saienko | 84ee4fd | 2020-09-02 10:00:18 +0300 | [diff] [blame] | 439 | docker_ucp_image: { get_param: docker_ucp_image} |
Stepan Rogov | 60bc352 | 2020-12-16 17:43:25 +0300 | [diff] [blame] | 440 | docker_default_address_pool: { get_param: docker_default_address_pool } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 441 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 442 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 443 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 444 | private_floating_interface: { get_param: private_floating_interface } |
| 445 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 446 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 447 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 448 | control_network_cidr: { get_param: control_network_cidr } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 449 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 450 | functions_override: { get_param: functions_override } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 451 | hardware_metadata: { get_param: hardware_metadata} |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 452 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 453 | workers: |
| 454 | type: OS::Heat::ResourceGroup |
| 455 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 456 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 457 | properties: |
| 458 | count: { get_param: worker_size } |
| 459 | resource_def: |
Vasyl Saienko | ff5b864 | 2020-03-26 18:20:34 +0200 | [diff] [blame] | 460 | type: MCP2::SrvInstancesCephOSD |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 461 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 462 | metadata: { get_param: worker_metadata} |
| 463 | node_type: "worker" |
Vasyl Saienko | def5044 | 2020-11-20 20:06:15 +0200 | [diff] [blame] | 464 | key_name: { get_attr: [keypair_name, value] } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 465 | image: { get_param: image } |
Vasyl Saienko | 6ff0c1b | 2020-03-05 07:52:02 +0200 | [diff] [blame] | 466 | flavor: { get_param: workers_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 467 | docker_ee_url: { get_param: docker_ee_url } |
| 468 | docker_ee_release: { get_param: docker_ee_release } |
Vasyl Saienko | 84ee4fd | 2020-09-02 10:00:18 +0300 | [diff] [blame] | 469 | docker_ucp_image: { get_param: docker_ucp_image} |
Stepan Rogov | 60bc352 | 2020-12-16 17:43:25 +0300 | [diff] [blame] | 470 | docker_default_address_pool: { get_param: docker_default_address_pool } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 471 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 472 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 473 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 474 | private_floating_interface: { get_param: private_floating_interface } |
| 475 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 476 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 477 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 478 | control_network_cidr: { get_param: control_network_cidr } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 479 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 480 | functions_override: { get_param: functions_override } |
Oleh Hryhorov | 1832d23 | 2020-03-05 11:33:13 +0200 | [diff] [blame] | 481 | storage_frontend_interface: { get_param: storage_frontend_interface } |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 482 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 483 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 484 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Vasyl Saienko | ff5b864 | 2020-03-26 18:20:34 +0200 | [diff] [blame] | 485 | storage_backend_interface: { get_param: storage_backend_interface } |
| 486 | storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] } |
| 487 | storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] } |
| 488 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 489 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 490 | ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] } |
Vasyl Saienko | 4c46819 | 2020-05-19 11:51:13 +0300 | [diff] [blame] | 491 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Michael Polenchuk | 486cadf | 2020-08-24 16:25:51 +0400 | [diff] [blame] | 492 | ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr } |
| 493 | ironic_mt_enabled: { get_param: ironic_mt_enabled } |
Anton Samoylov | ea0b23e | 2020-06-26 14:17:51 +0400 | [diff] [blame] | 494 | tungstenfabric_enabled: { get_param: tungstenfabric_enabled } |
Oleh Hryhorov | e7feab4 | 2020-11-11 18:00:29 +0200 | [diff] [blame] | 495 | tun_network: { get_attr: [tun_network, tun_network_id] } |
| 496 | tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 497 | hardware_metadata: { get_param: hardware_metadata} |
Oleksii Grudev | 4e3c8b4 | 2021-03-02 19:02:45 +0200 | [diff] [blame] | 498 | lvm_loop_device_size: { get_param: cmp_lvm_loop_device_size } |
Vasyl Saienko | cd30206 | 2021-04-21 22:25:18 +0300 | [diff] [blame] | 499 | cinder_lvm_loop_device_size: { get_param: cmp_cinder_lvm_loop_device_size } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 500 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 501 | cmps: |
| 502 | type: OS::Heat::ResourceGroup |
| 503 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 504 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 505 | properties: |
| 506 | count: { get_param: cmp_size } |
| 507 | resource_def: |
Vasyl Saienko | ff5b864 | 2020-03-26 18:20:34 +0200 | [diff] [blame] | 508 | type: MCP2::SrvInstancesCephOSD |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 509 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 510 | metadata: { get_param: cmp_metadata } |
| 511 | node_type: "worker" |
Vasyl Saienko | def5044 | 2020-11-20 20:06:15 +0200 | [diff] [blame] | 512 | key_name: { get_attr: [keypair_name, value] } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 513 | image: { get_param: image } |
Vasyl Saienko | 6ff0c1b | 2020-03-05 07:52:02 +0200 | [diff] [blame] | 514 | flavor: { get_param: cmps_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 515 | docker_ee_url: { get_param: docker_ee_url } |
| 516 | docker_ee_release: { get_param: docker_ee_release } |
Vasyl Saienko | 84ee4fd | 2020-09-02 10:00:18 +0300 | [diff] [blame] | 517 | docker_ucp_image: { get_param: docker_ucp_image} |
Stepan Rogov | 60bc352 | 2020-12-16 17:43:25 +0300 | [diff] [blame] | 518 | docker_default_address_pool: { get_param: docker_default_address_pool } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 519 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 520 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 521 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 522 | private_floating_interface: { get_param: private_floating_interface } |
| 523 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 524 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 525 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 526 | control_network_cidr: { get_param: control_network_cidr } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 527 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 528 | functions_override: { get_param: functions_override } |
Oleh Hryhorov | 1832d23 | 2020-03-05 11:33:13 +0200 | [diff] [blame] | 529 | storage_frontend_interface: { get_param: storage_frontend_interface } |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 530 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 531 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 532 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Vasyl Saienko | ff5b864 | 2020-03-26 18:20:34 +0200 | [diff] [blame] | 533 | storage_backend_interface: { get_param: storage_backend_interface } |
| 534 | storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] } |
| 535 | storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] } |
| 536 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 537 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 538 | ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] } |
Vasyl Saienko | 4c46819 | 2020-05-19 11:51:13 +0300 | [diff] [blame] | 539 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Michael Polenchuk | 486cadf | 2020-08-24 16:25:51 +0400 | [diff] [blame] | 540 | ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr } |
| 541 | ironic_mt_enabled: { get_param: ironic_mt_enabled } |
Anton Samoylov | ea0b23e | 2020-06-26 14:17:51 +0400 | [diff] [blame] | 542 | tungstenfabric_enabled: { get_param: tungstenfabric_enabled } |
Oleh Hryhorov | e7feab4 | 2020-11-11 18:00:29 +0200 | [diff] [blame] | 543 | tun_network: { get_attr: [tun_network, tun_network_id] } |
| 544 | tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 545 | hardware_metadata: { get_param: hardware_metadata} |
Oleksii Grudev | 4e3c8b4 | 2021-03-02 19:02:45 +0200 | [diff] [blame] | 546 | lvm_loop_device_size: { get_param: cmp_lvm_loop_device_size } |
Vasyl Saienko | cd30206 | 2021-04-21 22:25:18 +0300 | [diff] [blame] | 547 | cinder_lvm_loop_device_size: { get_param: cmp_cinder_lvm_loop_device_size } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 548 | |
Oleksii Grudev | 6cc5ad9 | 2020-10-30 10:58:11 +0200 | [diff] [blame] | 549 | acmps: |
| 550 | type: OS::Heat::ResourceGroup |
| 551 | depends_on: |
| 552 | - ucp |
| 553 | properties: |
| 554 | count: { get_param: acmp_size } |
| 555 | resource_def: |
| 556 | type: MCP2::SrvInstancesCephOSD |
| 557 | properties: |
| 558 | metadata: { get_param: acmp_metadata } |
| 559 | node_type: "worker" |
Vasyl Saienko | def5044 | 2020-11-20 20:06:15 +0200 | [diff] [blame] | 560 | key_name: { get_attr: [keypair_name, value] } |
Oleksii Grudev | 6cc5ad9 | 2020-10-30 10:58:11 +0200 | [diff] [blame] | 561 | image: { get_param: image } |
| 562 | flavor: { get_param: acmps_flavor } |
| 563 | docker_ee_url: { get_param: docker_ee_url } |
| 564 | docker_ee_release: { get_param: docker_ee_release } |
| 565 | docker_ucp_image: { get_param: docker_ucp_image} |
Stepan Rogov | 60bc352 | 2020-12-16 17:43:25 +0300 | [diff] [blame] | 566 | docker_default_address_pool: { get_param: docker_default_address_pool } |
Oleksii Grudev | 6cc5ad9 | 2020-10-30 10:58:11 +0200 | [diff] [blame] | 567 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 568 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 569 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 570 | private_floating_interface: { get_param: private_floating_interface } |
| 571 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 572 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 573 | public_net_id: { get_param: public_net_id } |
| 574 | control_network_cidr: { get_param: control_network_cidr } |
| 575 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
| 576 | functions_override: { get_param: functions_override } |
| 577 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 578 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 579 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 580 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
| 581 | storage_backend_interface: { get_param: storage_backend_interface } |
| 582 | storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] } |
| 583 | storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] } |
| 584 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
| 585 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 586 | ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] } |
| 587 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
| 588 | ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr } |
| 589 | ironic_mt_enabled: { get_param: ironic_mt_enabled } |
| 590 | tungstenfabric_enabled: { get_param: tungstenfabric_enabled } |
Oleh Hryhorov | e7feab4 | 2020-11-11 18:00:29 +0200 | [diff] [blame] | 591 | tun_network: { get_attr: [tun_network, tun_network_id] } |
| 592 | tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] } |
Oleksii Grudev | 6cc5ad9 | 2020-10-30 10:58:11 +0200 | [diff] [blame] | 593 | hardware_metadata: { get_param: hardware_metadata} |
Mykyta Karpin | 6a153c5 | 2020-11-03 15:21:38 +0200 | [diff] [blame] | 594 | huge_pages: { get_param: huge_pages } |
Oleksii Grudev | 4e3c8b4 | 2021-03-02 19:02:45 +0200 | [diff] [blame] | 595 | lvm_loop_device_size: { get_param: acmp_lvm_loop_device_size } |
Vasyl Saienko | cd30206 | 2021-04-21 22:25:18 +0300 | [diff] [blame] | 596 | cinder_lvm_loop_device_size: { get_param: acmp_cinder_lvm_loop_device_size } |
Oleksii Grudev | 6cc5ad9 | 2020-10-30 10:58:11 +0200 | [diff] [blame] | 597 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 598 | gtws: |
| 599 | type: OS::Heat::ResourceGroup |
| 600 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 601 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 602 | properties: |
| 603 | count: { get_param: gtw_size } |
| 604 | resource_def: |
Vasyl Saienko | ff5b864 | 2020-03-26 18:20:34 +0200 | [diff] [blame] | 605 | type: MCP2::SrvInstancesCeph |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 606 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 607 | metadata: { get_param: gtw_metadata } |
| 608 | node_type: "worker" |
Vasyl Saienko | def5044 | 2020-11-20 20:06:15 +0200 | [diff] [blame] | 609 | key_name: { get_attr: [keypair_name, value] } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 610 | image: { get_param: image } |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 611 | flavor: { get_param: gtws_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 612 | docker_ee_url: { get_param: docker_ee_url } |
| 613 | docker_ee_release: { get_param: docker_ee_release } |
Vasyl Saienko | 84ee4fd | 2020-09-02 10:00:18 +0300 | [diff] [blame] | 614 | docker_ucp_image: { get_param: docker_ucp_image} |
Stepan Rogov | 60bc352 | 2020-12-16 17:43:25 +0300 | [diff] [blame] | 615 | docker_default_address_pool: { get_param: docker_default_address_pool } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 616 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 617 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 618 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 619 | private_floating_interface: { get_param: private_floating_interface } |
| 620 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 621 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 622 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 623 | control_network_cidr: { get_param: control_network_cidr } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 624 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 625 | functions_override: { get_param: functions_override } |
Vasyl Saienko | ff5b864 | 2020-03-26 18:20:34 +0200 | [diff] [blame] | 626 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 627 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 628 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 629 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 630 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 631 | ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] } |
Vasyl Saienko | 4c46819 | 2020-05-19 11:51:13 +0300 | [diff] [blame] | 632 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Michael Polenchuk | 486cadf | 2020-08-24 16:25:51 +0400 | [diff] [blame] | 633 | ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr } |
| 634 | ironic_mt_enabled: { get_param: ironic_mt_enabled } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 635 | hardware_metadata: { get_param: hardware_metadata} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 636 | |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 637 | lmas: |
| 638 | type: OS::Heat::ResourceGroup |
| 639 | depends_on: |
| 640 | - ucp |
| 641 | properties: |
| 642 | count: { get_param: lma_size } |
| 643 | resource_def: |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 644 | type: MCP2::SrvInstancesCeph |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 645 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 646 | metadata: { get_param: lma_metadata } |
| 647 | node_type: "worker" |
Vasyl Saienko | def5044 | 2020-11-20 20:06:15 +0200 | [diff] [blame] | 648 | key_name: { get_attr: [keypair_name, value] } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 649 | image: { get_param: image } |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 650 | flavor: { get_param: lmas_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 651 | docker_ee_url: { get_param: docker_ee_url } |
| 652 | docker_ee_release: { get_param: docker_ee_release } |
Vasyl Saienko | 84ee4fd | 2020-09-02 10:00:18 +0300 | [diff] [blame] | 653 | docker_ucp_image: { get_param: docker_ucp_image} |
Stepan Rogov | 60bc352 | 2020-12-16 17:43:25 +0300 | [diff] [blame] | 654 | docker_default_address_pool: { get_param: docker_default_address_pool } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 655 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 656 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 657 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 658 | private_floating_interface: { get_param: private_floating_interface } |
| 659 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 660 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 661 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 662 | control_network_cidr: { get_param: control_network_cidr } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 663 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 664 | functions_override: { get_param: functions_override } |
Oleh Hryhorov | 1832d23 | 2020-03-05 11:33:13 +0200 | [diff] [blame] | 665 | storage_frontend_interface: { get_param: storage_frontend_interface } |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 666 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 667 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 668 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Vasyl Saienko | 73d6ec6 | 2020-05-14 20:26:25 +0300 | [diff] [blame] | 669 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 670 | ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] } |
Vasyl Saienko | 4c46819 | 2020-05-19 11:51:13 +0300 | [diff] [blame] | 671 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Michael Polenchuk | 486cadf | 2020-08-24 16:25:51 +0400 | [diff] [blame] | 672 | ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr } |
| 673 | ironic_mt_enabled: { get_param: ironic_mt_enabled } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 674 | hardware_metadata: { get_param: hardware_metadata} |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 675 | |
| 676 | osds: |
| 677 | type: OS::Heat::ResourceGroup |
| 678 | depends_on: |
| 679 | - ucp |
| 680 | properties: |
| 681 | count: { get_param: osd_size } |
| 682 | resource_def: |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 683 | type: MCP2::SrvInstancesCephOSD |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 684 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 685 | metadata: { get_param: osd_metadata } |
| 686 | node_type: "worker" |
Vasyl Saienko | def5044 | 2020-11-20 20:06:15 +0200 | [diff] [blame] | 687 | key_name: { get_attr: [keypair_name, value] } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 688 | image: { get_param: image } |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 689 | flavor: { get_param: osds_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 690 | docker_ee_url: { get_param: docker_ee_url } |
| 691 | docker_ee_release: { get_param: docker_ee_release } |
Vasyl Saienko | 84ee4fd | 2020-09-02 10:00:18 +0300 | [diff] [blame] | 692 | docker_ucp_image: { get_param: docker_ucp_image} |
Stepan Rogov | 60bc352 | 2020-12-16 17:43:25 +0300 | [diff] [blame] | 693 | docker_default_address_pool: { get_param: docker_default_address_pool } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 694 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 695 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 696 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 697 | private_floating_interface: { get_param: private_floating_interface } |
| 698 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 699 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 700 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 701 | control_network_cidr: { get_param: control_network_cidr } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 702 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 703 | functions_override: { get_param: functions_override } |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 704 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 705 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 706 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 707 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
| 708 | storage_backend_interface: { get_param: storage_backend_interface } |
| 709 | storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] } |
| 710 | storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] } |
| 711 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
Vasyl Saienko | 73d6ec6 | 2020-05-14 20:26:25 +0300 | [diff] [blame] | 712 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 713 | ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] } |
Vasyl Saienko | 4c46819 | 2020-05-19 11:51:13 +0300 | [diff] [blame] | 714 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Michael Polenchuk | 486cadf | 2020-08-24 16:25:51 +0400 | [diff] [blame] | 715 | ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr } |
| 716 | ironic_mt_enabled: { get_param: ironic_mt_enabled } |
Anton Samoylov | ea0b23e | 2020-06-26 14:17:51 +0400 | [diff] [blame] | 717 | tungstenfabric_enabled: { get_param: tungstenfabric_enabled } |
Oleh Hryhorov | e7feab4 | 2020-11-11 18:00:29 +0200 | [diff] [blame] | 718 | tun_network: { get_attr: [tun_network, tun_network_id] } |
| 719 | tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 720 | hardware_metadata: { get_param: hardware_metadata} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 721 | |
Vasyl Saienko | 25bb75b | 2021-02-15 12:22:33 +0200 | [diff] [blame] | 722 | frrs: # spares for osds/cmps |
| 723 | type: OS::Heat::ResourceGroup |
| 724 | depends_on: |
| 725 | - ucp |
| 726 | properties: |
| 727 | count: { get_param: frr_size } |
| 728 | resource_def: |
| 729 | type: MCP2::SrvInstancesCephOSD |
| 730 | properties: |
| 731 | metadata: { get_param: frr_metadata } |
| 732 | node_type: "frr" |
| 733 | key_name: { get_attr: [keypair_name, value] } |
| 734 | image: { get_param: image } |
| 735 | flavor: { get_param: frrs_flavor } |
| 736 | docker_ee_url: { get_param: docker_ee_url } |
| 737 | docker_ee_release: { get_param: docker_ee_release } |
| 738 | docker_ucp_image: { get_param: docker_ucp_image} |
| 739 | docker_default_address_pool: { get_param: docker_default_address_pool } |
| 740 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 741 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 742 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 743 | private_floating_interface: { get_param: private_floating_interface } |
| 744 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 745 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 746 | public_net_id: { get_param: public_net_id } |
| 747 | control_network_cidr: { get_param: control_network_cidr } |
| 748 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
| 749 | functions_override: { get_param: functions_override } |
| 750 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 751 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 752 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 753 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
| 754 | storage_backend_interface: { get_param: storage_backend_interface } |
| 755 | storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] } |
| 756 | storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] } |
| 757 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
| 758 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 759 | ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] } |
| 760 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
| 761 | ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr } |
| 762 | ironic_mt_enabled: { get_param: ironic_mt_enabled } |
| 763 | tungstenfabric_enabled: { get_param: tungstenfabric_enabled } |
| 764 | tun_network: { get_attr: [tun_network, tun_network_id] } |
| 765 | tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] } |
| 766 | hardware_metadata: { get_param: hardware_metadata} |
Vasyl Saienko | 846c634 | 2021-02-24 17:01:36 +0200 | [diff] [blame] | 767 | frr_bgp_neighbors: { list_join: [',', {get_attr: [workers, server_tun_ip]}] } |
Vasyl Saienko | 25bb75b | 2021-02-15 12:22:33 +0200 | [diff] [blame] | 768 | |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 769 | spares: # spares for osds/cmps |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 770 | type: OS::Heat::ResourceGroup |
| 771 | depends_on: |
| 772 | - ucp |
| 773 | properties: |
| 774 | count: { get_param: spare_size } |
| 775 | resource_def: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 776 | type: MCP2::SrvInstancesCephOSD |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 777 | properties: |
| 778 | metadata: { get_param: spare_metadata } |
| 779 | node_type: "spare" |
Vasyl Saienko | def5044 | 2020-11-20 20:06:15 +0200 | [diff] [blame] | 780 | key_name: { get_attr: [keypair_name, value] } |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 781 | image: { get_param: image } |
| 782 | flavor: { get_param: spares_flavor } |
| 783 | docker_ee_url: { get_param: docker_ee_url } |
| 784 | docker_ee_release: { get_param: docker_ee_release } |
Vasyl Saienko | 84ee4fd | 2020-09-02 10:00:18 +0300 | [diff] [blame] | 785 | docker_ucp_image: { get_param: docker_ucp_image} |
Stepan Rogov | 60bc352 | 2020-12-16 17:43:25 +0300 | [diff] [blame] | 786 | docker_default_address_pool: { get_param: docker_default_address_pool } |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 787 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 788 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 789 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 790 | private_floating_interface: { get_param: private_floating_interface } |
| 791 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 792 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 793 | public_net_id: { get_param: public_net_id } |
| 794 | control_network_cidr: { get_param: control_network_cidr } |
| 795 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
| 796 | functions_override: { get_param: functions_override } |
| 797 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 798 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 799 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 800 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 801 | storage_backend_interface: { get_param: storage_backend_interface } |
| 802 | storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] } |
| 803 | storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] } |
| 804 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 805 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 806 | ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] } |
Vasyl Saienko | 4c46819 | 2020-05-19 11:51:13 +0300 | [diff] [blame] | 807 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Michael Polenchuk | 486cadf | 2020-08-24 16:25:51 +0400 | [diff] [blame] | 808 | ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr } |
| 809 | ironic_mt_enabled: { get_param: ironic_mt_enabled } |
Anton Samoylov | ea0b23e | 2020-06-26 14:17:51 +0400 | [diff] [blame] | 810 | tungstenfabric_enabled: { get_param: tungstenfabric_enabled } |
Oleh Hryhorov | e7feab4 | 2020-11-11 18:00:29 +0200 | [diff] [blame] | 811 | tun_network: { get_attr: [tun_network, tun_network_id] } |
| 812 | tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] } |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 813 | hardware_metadata: { get_param: hardware_metadata} |
| 814 | |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 815 | ntws: |
| 816 | type: OS::Heat::ResourceGroup |
| 817 | depends_on: |
| 818 | - ucp |
| 819 | properties: |
| 820 | count: { get_param: ntw_size } |
| 821 | resource_def: |
Anton Samoylov | 23f52c9 | 2021-05-12 22:22:30 +0400 | [diff] [blame] | 822 | type: MCP2::SrvInstancesCephOSD |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 823 | properties: |
| 824 | metadata: { get_param: ntw_metadata } |
| 825 | node_type: "worker" |
Vasyl Saienko | def5044 | 2020-11-20 20:06:15 +0200 | [diff] [blame] | 826 | key_name: { get_attr: [keypair_name, value] } |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 827 | image: { get_param: image } |
| 828 | flavor: { get_param: ntws_flavor } |
| 829 | docker_ee_url: { get_param: docker_ee_url } |
| 830 | docker_ee_release: { get_param: docker_ee_release } |
Vasyl Saienko | 84ee4fd | 2020-09-02 10:00:18 +0300 | [diff] [blame] | 831 | docker_ucp_image: { get_param: docker_ucp_image} |
Stepan Rogov | 60bc352 | 2020-12-16 17:43:25 +0300 | [diff] [blame] | 832 | docker_default_address_pool: { get_param: docker_default_address_pool } |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 833 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 834 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 835 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 836 | private_floating_interface: { get_param: private_floating_interface } |
| 837 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 838 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 839 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 840 | control_network_cidr: { get_param: control_network_cidr } |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 841 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
| 842 | functions_override: { get_param: functions_override } |
Vasyl Saienko | ff5b864 | 2020-03-26 18:20:34 +0200 | [diff] [blame] | 843 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 844 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 845 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 846 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Anton Samoylov | 23f52c9 | 2021-05-12 22:22:30 +0400 | [diff] [blame] | 847 | storage_backend_interface: { get_param: storage_backend_interface } |
| 848 | storage_backend_network: { get_attr: [ storage_network, storage_backend_network_id ] } |
| 849 | storage_backend_subnet_id: { get_attr: [ storage_network, storage_backend_subnet_id ] } |
| 850 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
Vasyl Saienko | 73d6ec6 | 2020-05-14 20:26:25 +0300 | [diff] [blame] | 851 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 852 | ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] } |
Vasyl Saienko | 4c46819 | 2020-05-19 11:51:13 +0300 | [diff] [blame] | 853 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Michael Polenchuk | 486cadf | 2020-08-24 16:25:51 +0400 | [diff] [blame] | 854 | ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr } |
| 855 | ironic_mt_enabled: { get_param: ironic_mt_enabled } |
Anton Samoylov | 23f52c9 | 2021-05-12 22:22:30 +0400 | [diff] [blame] | 856 | tungstenfabric_enabled: { get_param: tungstenfabric_enabled } |
| 857 | tun_network: { get_attr: [tun_network, tun_network_id] } |
| 858 | tun_subnet_id: { get_attr: [tun_network, tun_subnet_id] } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 859 | hardware_metadata: { get_param: hardware_metadata} |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 860 | |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 861 | vbmcs: |
| 862 | type: OS::Heat::ResourceGroup |
| 863 | depends_on: |
| 864 | - ucp |
| 865 | properties: |
| 866 | count: { get_param: vbmc_size } |
| 867 | resource_def: |
Michael Polenchuk | 3bfb59f | 2020-05-15 18:50:14 +0400 | [diff] [blame] | 868 | type: MCP2::SrvInstancesCeph |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 869 | properties: |
| 870 | metadata: { get_param: vbmc_metadata} |
| 871 | node_type: "worker" |
Vasyl Saienko | def5044 | 2020-11-20 20:06:15 +0200 | [diff] [blame] | 872 | key_name: { get_attr: [keypair_name, value] } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 873 | image: { get_param: image } |
| 874 | flavor: { get_param: vbmcs_flavor } |
| 875 | docker_ee_url: { get_param: docker_ee_url } |
| 876 | docker_ee_release: { get_param: docker_ee_release } |
Vasyl Saienko | 84ee4fd | 2020-09-02 10:00:18 +0300 | [diff] [blame] | 877 | docker_ucp_image: { get_param: docker_ucp_image} |
Stepan Rogov | 60bc352 | 2020-12-16 17:43:25 +0300 | [diff] [blame] | 878 | docker_default_address_pool: { get_param: docker_default_address_pool } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 879 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 880 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 881 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 882 | private_floating_interface: { get_param: private_floating_interface } |
| 883 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 884 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 885 | public_net_id: { get_param: public_net_id } |
| 886 | control_network_cidr: { get_param: control_network_cidr } |
| 887 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
| 888 | functions_override: { get_param: functions_override } |
Michael Polenchuk | 3bfb59f | 2020-05-15 18:50:14 +0400 | [diff] [blame] | 889 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 890 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 891 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 892 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Michael Polenchuk | 21493b3 | 2020-05-15 21:08:04 +0400 | [diff] [blame] | 893 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 894 | ironic_baremetal_subnet_id: { get_attr: [ironic_baremetal_network, ironic_baremetal_subnet_id] } |
Vasyl Saienko | 4c46819 | 2020-05-19 11:51:13 +0300 | [diff] [blame] | 895 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Michael Polenchuk | 486cadf | 2020-08-24 16:25:51 +0400 | [diff] [blame] | 896 | ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr } |
| 897 | ironic_mt_enabled: { get_param: ironic_mt_enabled } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 898 | hardware_metadata: { get_param: hardware_metadata} |
| 899 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 900 | outputs: |
| 901 | ucp_ips: |
| 902 | description: Private IP addresses of the deployed ucp instances |
| 903 | value: { get_attr: [ucp, server_public_ip] } |
| 904 | masters_ips: |
| 905 | description: Private IP addresses of the deployed masters instances |
| 906 | value: { get_attr: [masters, server_public_ip] } |
| 907 | workers_ips: |
| 908 | description: Private IP addresses of the deployed worker instances |
| 909 | value: { get_attr: [workers, server_public_ip] } |
| 910 | cmps_ips: |
| 911 | description: Private IP addresses of the deployed cmp instances |
| 912 | value: { get_attr: [cmps, server_public_ip] } |
Oleksii Grudev | 6cc5ad9 | 2020-10-30 10:58:11 +0200 | [diff] [blame] | 913 | acmps_ips: |
| 914 | description: Private IP addresses of the deployed cmp instances with high computing features |
| 915 | value: { get_attr: [acmps, server_public_ip] } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 916 | gtws_ips: |
| 917 | description: Private IP addresses of the deployed gtw instances |
| 918 | value: { get_attr: [gtws, server_public_ip] } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 919 | lmas_ips: |
| 920 | description: Private IP addresses of the deployed lma instances |
| 921 | value: { get_attr: [lmas, server_public_ip] } |
| 922 | osds_ips: |
| 923 | description: Private IP addresses of the deployed osd instances |
| 924 | value: { get_attr: [osds, server_public_ip] } |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 925 | spares_ips: |
| 926 | description: Private IP addresses of the deployed spare instances |
| 927 | value: { get_attr: [spares, server_public_ip] } |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 928 | ntws_ips: |
| 929 | description: Private IP addresses of the deployed contrail instances |
| 930 | value: { get_attr: [ntws, server_public_ip] } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 931 | vbmcs_ips: |
| 932 | description: Private IP addresses of the deployed virtualbmcs instances |
| 933 | value: { get_attr: [vbmcs, server_public_ip] } |
Vasyl Saienko | 4e3f463 | 2020-05-26 14:43:09 +0300 | [diff] [blame] | 934 | vbmc_ironic_baremetal_ips: |
| 935 | description: The IPs of ironic baremetal network assigned to vbmc hosts. |
| 936 | value: { get_attr: [vbmcs, server_ironic_baremetal_ip] } |
Vasyl Saienko | 25bb75b | 2021-02-15 12:22:33 +0200 | [diff] [blame] | 937 | frrs_ips: |
| 938 | description: Private IP addresses of the deployed FRR instances |
| 939 | value: { get_attr: [frrs, server_public_ip] } |
| 940 | frrs_tunnel_ips: |
| 941 | description: The tunnel IPs of FRR nodes |
Michael Polenchuk | 2a77094 | 2021-03-04 18:01:17 +0400 | [diff] [blame] | 942 | value: { get_attr: [frrs, server_tun_ip] } |
Oleh Hryhorov | 404e957 | 2020-01-21 18:57:22 +0200 | [diff] [blame] | 943 | worker_private_floating_ips: |
| 944 | description: IPs might be used as gateway |
Oleh Hryhorov | cd1a3bd | 2020-12-04 13:21:06 +0200 | [diff] [blame] | 945 | value: {if: [aio_deploy, {get_attr: [ucp, server_private_floating_ip]}, {get_attr: [workers, server_private_floating_ip]}]} |
Oleh Hryhorov | 0019f59 | 2020-01-23 11:50:12 +0200 | [diff] [blame] | 946 | private_floating_cidr: |
| 947 | value: { get_param: private_floating_network_cidr } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 948 | private_floating_network_pool_start: |
| 949 | value: { get_param: private_floating_network_pool_start } |
| 950 | private_floating_network_pool_end: |
| 951 | value: { get_param: private_floating_network_pool_end } |
| 952 | private_floating_network_gateway: |
| 953 | value: { get_param: private_floating_network_gateway } |
Vasyl Saienko | c943f43 | 2020-04-21 12:15:57 +0300 | [diff] [blame] | 954 | private_floating_network_interface: |
| 955 | value: { get_param: private_floating_network_interface } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 956 | ironic_baremetal_network_pool_start: |
| 957 | value: { get_param: ironic_baremetal_network_pool_start } |
| 958 | ironic_baremetal_network_pool_end: |
| 959 | value: { get_param: ironic_baremetal_network_pool_end } |
Mykyta Karpin | 832e9f8 | 2021-02-18 14:55:27 +0200 | [diff] [blame] | 960 | ironic_baremetal_network_gateway: |
| 961 | value: { get_param: ironic_baremetal_network_gateway } |
Vasyl Saienko | 4c46819 | 2020-05-19 11:51:13 +0300 | [diff] [blame] | 962 | ironic_baremetal_network_interface: |
| 963 | value: { get_param: ironic_baremetal_network_interface } |
Vasyl Saienko | 1233afd | 2020-05-21 14:55:21 +0300 | [diff] [blame] | 964 | ironic_baremetal_network_vbmc_interface: |
| 965 | value: { get_param: ironic_baremetal_network_vbmc_interface } |
Vasyl Saienko | 9fd0b5b | 2020-05-20 13:15:58 +0300 | [diff] [blame] | 966 | ironic_baremetal_provisioning_interface: |
| 967 | value: { get_param: ironic_baremetal_provisioning_interface } |
Michael Polenchuk | 486cadf | 2020-08-24 16:25:51 +0400 | [diff] [blame] | 968 | ironic_baremetal_pxe_interface: |
| 969 | value: { get_param: ironic_baremetal_pxe_interface } |
Oleh Hryhorov | 367e3ff | 2020-02-13 10:35:52 +0200 | [diff] [blame] | 970 | tunnel_interface: |
| 971 | value: { get_param: tunnel_interface } |
| 972 | live_migration_interface: |
| 973 | value: { get_param: live_migration_interface } |
| 974 | metallb_address_pools: |
| 975 | value: { get_param: metallb_address_pools } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 976 | ucp_wc_data: |
| 977 | description: Metadata from ucp |
| 978 | value: { get_attr: [ucp, wc_data] } |
| 979 | masters_wc_data: |
| 980 | description: Metadata from masters |
| 981 | value: { get_attr: [masters, wc_data] } |
| 982 | workers_wc_data: |
| 983 | description: Metadata from workers |
| 984 | value: { get_attr: [workers, wc_data] } |
| 985 | cmps_wc_data: |
| 986 | description: Metadata from cmps |
| 987 | value: { get_attr: [cmps, wc_data] } |
Oleksii Grudev | 6cc5ad9 | 2020-10-30 10:58:11 +0200 | [diff] [blame] | 988 | acmps_wc_data: |
| 989 | description: Metadata from cmps with high computing features |
| 990 | value: { get_attr: [acmps, wc_data] } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 991 | gtws_wc_data: |
| 992 | description: Metadata from gtws |
| 993 | value: { get_attr: [gtws, wc_data] } |
| 994 | lmas_wc_data: |
| 995 | description: Metadata from lmas |
| 996 | value: { get_attr: [lmas, wc_data] } |
| 997 | osds_wc_data: |
| 998 | description: Metadata from osds |
| 999 | value: { get_attr: [osds, wc_data] } |
| 1000 | ntws_wc_data: |
| 1001 | description: Metadata from ntws |
| 1002 | value: { get_attr: [ntws, wc_data] } |
Oleh Hryhorov | 564a120 | 2020-03-12 12:44:56 +0200 | [diff] [blame] | 1003 | storage_frontend_network_cidr: |
| 1004 | description: Storage network which is used as clientNet in Ceph CR |
| 1005 | value: { get_param: storage_frontend_network_cidr } |
| 1006 | storage_backend_network_cidr: |
| 1007 | description: Storage network which is used as clusterNet in Ceph CR |
| 1008 | value: { get_param: storage_backend_network_cidr } |
Anton Samoylov | 474029a | 2020-09-03 11:02:01 +0400 | [diff] [blame] | 1009 | tungstenfabric_enabled: |
| 1010 | value: { get_param: tungstenfabric_enabled } |
| 1011 | data_network_vsrx_ip: |
| 1012 | description: IP address of vsrx in tungsten fabric data network |
Oleksii Grudev | 6cc5ad9 | 2020-10-30 10:58:11 +0200 | [diff] [blame] | 1013 | value: { get_param: data_network_vsrx_ip } |
Mikhail Polenchuk | 3cf123d | 2021-03-12 14:23:24 +0000 | [diff] [blame] | 1014 | public_network_vsrx_ip: |
| 1015 | description: IP address of vsrx in tungsten fabric public network |
| 1016 | value: { get_attr: [private_floating_network, server_public_ip] } |