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 | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 13 | control_network_cidr: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 14 | type: string |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 15 | description: The CIDR of control network, used to detect control interface. |
| 16 | default: '10.10.0.0/24' |
Sergey Matov | 0709c76 | 2020-04-02 14:30:50 +0400 | [diff] [blame] | 17 | control_network_vsrx_peering_ip: |
| 18 | type: string |
| 19 | description: IP address of vsrx for tungsten fabric peering |
| 20 | default: '' |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 21 | masters_size: |
| 22 | type: number |
| 23 | description: Number of masters instances to deploy |
| 24 | default: 2 |
| 25 | worker_size: |
| 26 | type: number |
| 27 | description: Number of workers to deploy |
| 28 | default: 5 |
| 29 | cmp_size: |
| 30 | type: number |
| 31 | description: Number of cmp workers to deploy |
| 32 | default: 0 |
| 33 | gtw_size: |
| 34 | type: number |
| 35 | description: Number of gtw workers to deploy |
| 36 | default: 0 |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 37 | lma_size: |
| 38 | type: number |
| 39 | description: Number of gtw workers to deploy |
| 40 | default: 0 |
| 41 | osd_size: |
| 42 | type: number |
| 43 | description: Number of gtw workers to deploy |
| 44 | default: 0 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 45 | spare_size: |
| 46 | type: number |
| 47 | description: Number of gtw workers to deploy |
| 48 | default: 0 |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 49 | ntw_size: |
| 50 | type: number |
| 51 | description: Number of contrail nodes to deploy |
| 52 | default: 0 |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 53 | vbmc_size: |
| 54 | type: number |
| 55 | description: Number of nodes for virtualbmc BM node simulator |
| 56 | default: 0 |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 57 | ucp_boot_timeout: |
| 58 | type: number |
| 59 | description: Boot timeout for UCP instance |
Vasyl Saienko | f36f39c | 2020-03-10 00:21:42 +0200 | [diff] [blame] | 60 | default: 3600 |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 61 | cluster_public_key: |
| 62 | type: string |
Oleh Hryhorov | 0019f59 | 2020-01-23 11:50:12 +0200 | [diff] [blame] | 63 | private_floating_network_cidr: |
| 64 | type: string |
| 65 | default: '10.11.12.0/24' |
Oleh Hryhorov | 2a7b3d7 | 2020-02-27 17:04:24 +0200 | [diff] [blame] | 66 | private_floating_network_ipam_pool_start: |
| 67 | type: string |
| 68 | description: pool start which is used as pool for IPAM and assigned to instances port |
| 69 | default: '10.11.12.2' |
| 70 | private_floating_network_ipam_pool_end: |
| 71 | type: string |
| 72 | description: pool end which is used as pool for IPAM and assigned to instances port |
| 73 | default: '10.11.12.99' |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 74 | private_floating_network_pool_start: |
| 75 | type: string |
| 76 | default: '10.11.12.100' |
| 77 | private_floating_network_pool_end: |
| 78 | type: string |
| 79 | default: '10.11.12.200' |
| 80 | private_floating_network_gateway: |
| 81 | type: string |
Oleh Hryhorov | d3a3024 | 2020-02-11 15:24:01 +0200 | [diff] [blame] | 82 | default: '' |
Vasyl Saienko | c943f43 | 2020-04-21 12:15:57 +0300 | [diff] [blame] | 83 | private_floating_network_interface: |
| 84 | type: string |
| 85 | default: 'veth-phy' |
| 86 | 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] | 87 | private_floating_interface: |
| 88 | description: Interface which carries floating network for child OpenStack. |
| 89 | type: string |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 90 | storage_frontend_network_cidr: |
| 91 | type: string |
| 92 | default: '10.12.0.0/24' |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 93 | storage_frontend_interface: |
| 94 | type: string |
| 95 | default: 'ens5' |
| 96 | storage_backend_network_cidr: |
| 97 | type: string |
| 98 | default: '10.11.0.0/24' |
| 99 | storage_backend_interface: |
| 100 | type: string |
| 101 | default: 'ens6' |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 102 | ironic_baremetal_network_cidr: |
| 103 | type: string |
| 104 | default: '10.13.0.0/24' |
| 105 | ironic_baremetal_network_ipam_pool_start: |
| 106 | type: string |
| 107 | default: '10.13.0.2' |
| 108 | ironic_baremetal_network_ipam_pool_end: |
| 109 | type: string |
| 110 | default: '10.13.0.99' |
| 111 | ironic_baremetal_network_pool_start: |
| 112 | type: string |
| 113 | default: '10.13.0.100' |
| 114 | ironic_baremetal_network_pool_end: |
| 115 | type: string |
| 116 | default: '10.13.0.200' |
| 117 | ironic_baremetal_network_gateway: |
| 118 | type: string |
| 119 | default: '' |
Vasyl Saienko | 4c46819 | 2020-05-19 11:51:13 +0300 | [diff] [blame^] | 120 | ironic_baremetal_network_interface: |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 121 | type: string |
Vasyl Saienko | 4c46819 | 2020-05-19 11:51:13 +0300 | [diff] [blame^] | 122 | default: 'veth-bm' |
| 123 | description: 'The name of interface that should be added to ovs bridge with taps from vbms VMs.' |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 124 | ucp_metadata: |
| 125 | type: json |
| 126 | default: {"role":"ucp"} |
| 127 | master_metadata: |
| 128 | type: json |
| 129 | default: {"role":"master"} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 130 | worker_metadata: |
| 131 | type: json |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 132 | default: {} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 133 | cmp_metadata: |
| 134 | type: json |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 135 | default: {} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 136 | gtw_metadata: |
| 137 | type: json |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 138 | default: {} |
| 139 | lma_metadata: |
| 140 | type: json |
| 141 | default: {} |
| 142 | osd_metadata: |
| 143 | type: json |
| 144 | default: {} |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 145 | spare_metadata: |
| 146 | type: json |
| 147 | default: {} |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 148 | ntw_metadata: |
| 149 | type: json |
| 150 | default: {} |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 151 | vbmc_metadata: |
| 152 | type: json |
| 153 | default: {} |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 154 | ucp_flavor: |
| 155 | type: string |
Vasyl Saienko | 230242f | 2020-04-07 12:46:05 +0300 | [diff] [blame] | 156 | default: 'system.compact.openstack.proxy' |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 157 | masters_flavor: |
| 158 | type: string |
Vasyl Saienko | 230242f | 2020-04-07 12:46:05 +0300 | [diff] [blame] | 159 | default: 'system.compact.openstack.proxy' |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 160 | workers_flavor: |
| 161 | type: string |
| 162 | default: 'system.compact.openstack.control' |
| 163 | cmps_flavor: |
| 164 | type: string |
| 165 | default: 'system.compact.openstack.control' |
| 166 | gtws_flavor: |
| 167 | type: string |
| 168 | default: 'system.compact.openstack.control' |
| 169 | lmas_flavor: |
| 170 | type: string |
| 171 | default: 'system.compact.openstack.control' |
| 172 | osds_flavor: |
| 173 | type: string |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 174 | default: 'system.virtual.ceph.osd' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 175 | spares_flavor: |
| 176 | type: string |
| 177 | default: 'system.compact.openstack.control' |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 178 | ntws_flavor: |
| 179 | type: string |
| 180 | default: 'system.compact.openstack.control' |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 181 | vbmcs_flavor: |
| 182 | type: string |
| 183 | default: 'system.compact.openstack.control' |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 184 | functions_override: |
| 185 | type: string |
Vasyl Saienko | 9b68899 | 2020-02-13 13:50:53 +0200 | [diff] [blame] | 186 | default: '' |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 187 | docker_ee_url: |
| 188 | type: string |
Vasyl Saienko | 1785c35 | 2020-03-11 11:39:40 +0200 | [diff] [blame] | 189 | default: 'http://mirror-us.mcp.mirantis.net/.snapshots/docker-ee-bionic-latest' |
| 190 | # default: 'https://s3-us-west-2.amazonaws.com/internal-docker-ee-builds/docker-ee-linux/ubuntu' |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 191 | docker_ee_release: |
| 192 | type: string |
| 193 | default: 'stable-19.03' |
Oleh Hryhorov | 367e3ff | 2020-02-13 10:35:52 +0200 | [diff] [blame] | 194 | tunnel_interface: |
| 195 | type: string |
| 196 | default: '' |
| 197 | live_migration_interface: |
| 198 | type: string |
| 199 | default: '' |
| 200 | metallb_address_pools: |
| 201 | type: comma_delimited_list |
| 202 | default: '' |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 203 | hardware_metadata: |
| 204 | description: The content of lab metadata. |
| 205 | default: '' |
| 206 | type: string |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 207 | |
| 208 | resources: |
| 209 | key_pair: |
| 210 | type: OS::Nova::KeyPair |
| 211 | properties: |
| 212 | name: { get_param: "OS::stack_name" } |
| 213 | public_key: { get_param: cluster_public_key} |
| 214 | save_private_key: false |
| 215 | |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 216 | accessible_network: |
| 217 | type: MCP2::NetworkAcc |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 218 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 219 | public_net_id: { get_param: public_net_id } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 220 | |
| 221 | private_floating_network: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 222 | type: MCP2::NetworkPrvFl |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 223 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 224 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
Oleh Hryhorov | 2a7b3d7 | 2020-02-27 17:04:24 +0200 | [diff] [blame] | 225 | 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] | 226 | 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] | 227 | private_floating_network_gateway: {get_param: private_floating_network_gateway} |
| 228 | control_network_vsrx_peering_ip: {get_param: control_network_vsrx_peering_ip} |
| 229 | accessible_network: { get_attr: [accessible_network, public_network]} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 230 | |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 231 | storage_network: |
| 232 | type: MCP2::NetworkAccStorage |
| 233 | properties: |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 234 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 235 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 236 | |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 237 | ironic_baremetal_network: |
| 238 | type: MCP2::NetworkIronicFlat |
| 239 | properties: |
| 240 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
| 241 | ironic_baremetal_network_ipam_pool_start: { get_param: ironic_baremetal_network_ipam_pool_start } |
| 242 | ironic_baremetal_network_ipam_pool_end: { get_param: ironic_baremetal_network_ipam_pool_end } |
| 243 | ironic_baremetal_network_gateway: {get_param: ironic_baremetal_network_gateway} |
| 244 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 245 | ucp: |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 246 | depends_on: |
| 247 | - accessible_network |
| 248 | - storage_network |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 249 | type: MCP2::SrvInstances |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 250 | properties: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 251 | metadata: { get_param: ucp_metadata} |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 252 | docker_ee_url: { get_param: docker_ee_url } |
| 253 | docker_ee_release: { get_param: docker_ee_release } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 254 | node_type: "ucp" |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 255 | key_name: { get_param: "OS::stack_name" } |
| 256 | image: { get_param: image } |
| 257 | flavor: { get_param: ucp_flavor } |
| 258 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 259 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 260 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 261 | private_floating_interface: { get_param: private_floating_interface } |
| 262 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 263 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 264 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 265 | control_network_cidr: { get_param: control_network_cidr } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 266 | functions_override: { get_param: functions_override } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 267 | hardware_metadata: { get_param: hardware_metadata} |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 268 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 269 | masters: |
| 270 | type: OS::Heat::ResourceGroup |
| 271 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 272 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 273 | properties: |
| 274 | count: { get_param: masters_size } |
| 275 | resource_def: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 276 | type: MCP2::SrvInstances |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 277 | properties: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 278 | metadata: { get_param: master_metadata} |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 279 | node_type: "master" |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 280 | key_name: { get_param: "OS::stack_name" } |
| 281 | image: { get_param: image } |
| 282 | flavor: { get_param: masters_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 283 | docker_ee_url: { get_param: docker_ee_url } |
| 284 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 285 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 286 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 287 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 288 | private_floating_interface: { get_param: private_floating_interface } |
| 289 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 290 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 291 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 292 | control_network_cidr: { get_param: control_network_cidr } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 293 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 294 | functions_override: { get_param: functions_override } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 295 | hardware_metadata: { get_param: hardware_metadata} |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 296 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 297 | workers: |
| 298 | type: OS::Heat::ResourceGroup |
| 299 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 300 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 301 | properties: |
| 302 | count: { get_param: worker_size } |
| 303 | resource_def: |
Vasyl Saienko | ff5b864 | 2020-03-26 18:20:34 +0200 | [diff] [blame] | 304 | type: MCP2::SrvInstancesCephOSD |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 305 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 306 | metadata: { get_param: worker_metadata} |
| 307 | node_type: "worker" |
| 308 | key_name: { get_param: "OS::stack_name" } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 309 | image: { get_param: image } |
Vasyl Saienko | 6ff0c1b | 2020-03-05 07:52:02 +0200 | [diff] [blame] | 310 | flavor: { get_param: workers_flavor } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 311 | key_name: { get_param: "OS::stack_name" } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 312 | docker_ee_url: { get_param: docker_ee_url } |
| 313 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 314 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 315 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 316 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 317 | private_floating_interface: { get_param: private_floating_interface } |
| 318 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 319 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 320 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 321 | control_network_cidr: { get_param: control_network_cidr } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 322 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 323 | functions_override: { get_param: functions_override } |
Oleh Hryhorov | 1832d23 | 2020-03-05 11:33:13 +0200 | [diff] [blame] | 324 | storage_frontend_interface: { get_param: storage_frontend_interface } |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 325 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 326 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 327 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Vasyl Saienko | ff5b864 | 2020-03-26 18:20:34 +0200 | [diff] [blame] | 328 | storage_backend_interface: { get_param: storage_backend_interface } |
| 329 | storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] } |
| 330 | storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] } |
| 331 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 332 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 333 | 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^] | 334 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 335 | hardware_metadata: { get_param: hardware_metadata} |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 336 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 337 | cmps: |
| 338 | type: OS::Heat::ResourceGroup |
| 339 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 340 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 341 | properties: |
| 342 | count: { get_param: cmp_size } |
| 343 | resource_def: |
Vasyl Saienko | ff5b864 | 2020-03-26 18:20:34 +0200 | [diff] [blame] | 344 | type: MCP2::SrvInstancesCephOSD |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 345 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 346 | metadata: { get_param: cmp_metadata } |
| 347 | node_type: "worker" |
| 348 | key_name: { get_param: "OS::stack_name" } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 349 | image: { get_param: image } |
Vasyl Saienko | 6ff0c1b | 2020-03-05 07:52:02 +0200 | [diff] [blame] | 350 | flavor: { get_param: cmps_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 351 | docker_ee_url: { get_param: docker_ee_url } |
| 352 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 353 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 354 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 355 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 356 | private_floating_interface: { get_param: private_floating_interface } |
| 357 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 358 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 359 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 360 | control_network_cidr: { get_param: control_network_cidr } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 361 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 362 | functions_override: { get_param: functions_override } |
Oleh Hryhorov | 1832d23 | 2020-03-05 11:33:13 +0200 | [diff] [blame] | 363 | storage_frontend_interface: { get_param: storage_frontend_interface } |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 364 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 365 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 366 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Vasyl Saienko | ff5b864 | 2020-03-26 18:20:34 +0200 | [diff] [blame] | 367 | storage_backend_interface: { get_param: storage_backend_interface } |
| 368 | storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] } |
| 369 | storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] } |
| 370 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 371 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 372 | 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^] | 373 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 374 | hardware_metadata: { get_param: hardware_metadata} |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 375 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 376 | gtws: |
| 377 | type: OS::Heat::ResourceGroup |
| 378 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 379 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 380 | properties: |
| 381 | count: { get_param: gtw_size } |
| 382 | resource_def: |
Vasyl Saienko | ff5b864 | 2020-03-26 18:20:34 +0200 | [diff] [blame] | 383 | type: MCP2::SrvInstancesCeph |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 384 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 385 | metadata: { get_param: gtw_metadata } |
| 386 | node_type: "worker" |
| 387 | key_name: { get_param: "OS::stack_name" } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 388 | image: { get_param: image } |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 389 | flavor: { get_param: gtws_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 390 | docker_ee_url: { get_param: docker_ee_url } |
| 391 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 392 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 393 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 394 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 395 | private_floating_interface: { get_param: private_floating_interface } |
| 396 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 397 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 398 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 399 | control_network_cidr: { get_param: control_network_cidr } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 400 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 401 | functions_override: { get_param: functions_override } |
Vasyl Saienko | ff5b864 | 2020-03-26 18:20:34 +0200 | [diff] [blame] | 402 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 403 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 404 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 405 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 406 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 407 | 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^] | 408 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 409 | hardware_metadata: { get_param: hardware_metadata} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 410 | |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 411 | lmas: |
| 412 | type: OS::Heat::ResourceGroup |
| 413 | depends_on: |
| 414 | - ucp |
| 415 | properties: |
| 416 | count: { get_param: lma_size } |
| 417 | resource_def: |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 418 | type: MCP2::SrvInstancesCeph |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 419 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 420 | metadata: { get_param: lma_metadata } |
| 421 | node_type: "worker" |
| 422 | key_name: { get_param: "OS::stack_name" } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 423 | image: { get_param: image } |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 424 | flavor: { get_param: lmas_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 425 | docker_ee_url: { get_param: docker_ee_url } |
| 426 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 427 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 428 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 429 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 430 | private_floating_interface: { get_param: private_floating_interface } |
| 431 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 432 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 433 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 434 | control_network_cidr: { get_param: control_network_cidr } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 435 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 436 | functions_override: { get_param: functions_override } |
Oleh Hryhorov | 1832d23 | 2020-03-05 11:33:13 +0200 | [diff] [blame] | 437 | storage_frontend_interface: { get_param: storage_frontend_interface } |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 438 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 439 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 440 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Vasyl Saienko | 73d6ec6 | 2020-05-14 20:26:25 +0300 | [diff] [blame] | 441 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 442 | 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^] | 443 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 444 | hardware_metadata: { get_param: hardware_metadata} |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 445 | |
| 446 | osds: |
| 447 | type: OS::Heat::ResourceGroup |
| 448 | depends_on: |
| 449 | - ucp |
| 450 | properties: |
| 451 | count: { get_param: osd_size } |
| 452 | resource_def: |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 453 | type: MCP2::SrvInstancesCephOSD |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 454 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 455 | metadata: { get_param: osd_metadata } |
| 456 | node_type: "worker" |
| 457 | key_name: { get_param: "OS::stack_name" } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 458 | image: { get_param: image } |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 459 | flavor: { get_param: osds_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 460 | docker_ee_url: { get_param: docker_ee_url } |
| 461 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 462 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 463 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 464 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 465 | private_floating_interface: { get_param: private_floating_interface } |
| 466 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 467 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 468 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 469 | control_network_cidr: { get_param: control_network_cidr } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 470 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 471 | functions_override: { get_param: functions_override } |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 472 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 473 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 474 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 475 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
| 476 | storage_backend_interface: { get_param: storage_backend_interface } |
| 477 | storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] } |
| 478 | storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] } |
| 479 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
Vasyl Saienko | 73d6ec6 | 2020-05-14 20:26:25 +0300 | [diff] [blame] | 480 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 481 | 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^] | 482 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 483 | hardware_metadata: { get_param: hardware_metadata} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 484 | |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 485 | spares: # spares for osds/cmps |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 486 | type: OS::Heat::ResourceGroup |
| 487 | depends_on: |
| 488 | - ucp |
| 489 | properties: |
| 490 | count: { get_param: spare_size } |
| 491 | resource_def: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 492 | type: MCP2::SrvInstancesCephOSD |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 493 | properties: |
| 494 | metadata: { get_param: spare_metadata } |
| 495 | node_type: "spare" |
| 496 | key_name: { get_param: "OS::stack_name" } |
| 497 | image: { get_param: image } |
| 498 | flavor: { get_param: spares_flavor } |
| 499 | docker_ee_url: { get_param: docker_ee_url } |
| 500 | docker_ee_release: { get_param: docker_ee_release } |
| 501 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 502 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 503 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 504 | private_floating_interface: { get_param: private_floating_interface } |
| 505 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 506 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 507 | public_net_id: { get_param: public_net_id } |
| 508 | control_network_cidr: { get_param: control_network_cidr } |
| 509 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
| 510 | functions_override: { get_param: functions_override } |
| 511 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 512 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 513 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 514 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 515 | storage_backend_interface: { get_param: storage_backend_interface } |
| 516 | storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] } |
| 517 | storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] } |
| 518 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 519 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 520 | 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^] | 521 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 522 | hardware_metadata: { get_param: hardware_metadata} |
| 523 | |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 524 | ntws: |
| 525 | type: OS::Heat::ResourceGroup |
| 526 | depends_on: |
| 527 | - ucp |
| 528 | properties: |
| 529 | count: { get_param: ntw_size } |
| 530 | resource_def: |
Vasyl Saienko | ff5b864 | 2020-03-26 18:20:34 +0200 | [diff] [blame] | 531 | type: MCP2::SrvInstancesCeph |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 532 | properties: |
| 533 | metadata: { get_param: ntw_metadata } |
| 534 | node_type: "worker" |
| 535 | key_name: { get_param: "OS::stack_name" } |
| 536 | image: { get_param: image } |
| 537 | flavor: { get_param: ntws_flavor } |
| 538 | docker_ee_url: { get_param: docker_ee_url } |
| 539 | docker_ee_release: { get_param: docker_ee_release } |
| 540 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 541 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 542 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 543 | private_floating_interface: { get_param: private_floating_interface } |
| 544 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 545 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 546 | public_net_id: { get_param: public_net_id } |
Vasyl Saienko | 0fa6f19 | 2020-03-06 16:08:51 +0200 | [diff] [blame] | 547 | control_network_cidr: { get_param: control_network_cidr } |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 548 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
| 549 | functions_override: { get_param: functions_override } |
Vasyl Saienko | ff5b864 | 2020-03-26 18:20:34 +0200 | [diff] [blame] | 550 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 551 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 552 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 553 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Vasyl Saienko | 73d6ec6 | 2020-05-14 20:26:25 +0300 | [diff] [blame] | 554 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 555 | 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^] | 556 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 557 | hardware_metadata: { get_param: hardware_metadata} |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 558 | |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 559 | vbmcs: |
| 560 | type: OS::Heat::ResourceGroup |
| 561 | depends_on: |
| 562 | - ucp |
| 563 | properties: |
| 564 | count: { get_param: vbmc_size } |
| 565 | resource_def: |
Michael Polenchuk | 3bfb59f | 2020-05-15 18:50:14 +0400 | [diff] [blame] | 566 | type: MCP2::SrvInstancesCeph |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 567 | properties: |
| 568 | metadata: { get_param: vbmc_metadata} |
| 569 | node_type: "worker" |
| 570 | key_name: { get_param: "OS::stack_name" } |
| 571 | image: { get_param: image } |
| 572 | flavor: { get_param: vbmcs_flavor } |
| 573 | docker_ee_url: { get_param: docker_ee_url } |
| 574 | docker_ee_release: { get_param: docker_ee_release } |
| 575 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 576 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 577 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 578 | private_floating_interface: { get_param: private_floating_interface } |
| 579 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 580 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 581 | public_net_id: { get_param: public_net_id } |
| 582 | control_network_cidr: { get_param: control_network_cidr } |
| 583 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
| 584 | functions_override: { get_param: functions_override } |
Michael Polenchuk | 3bfb59f | 2020-05-15 18:50:14 +0400 | [diff] [blame] | 585 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 586 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 587 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 588 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Michael Polenchuk | 21493b3 | 2020-05-15 21:08:04 +0400 | [diff] [blame] | 589 | ironic_baremetal_network: { get_attr: [ironic_baremetal_network, ironic_baremetal_network_id] } |
| 590 | 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^] | 591 | ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 592 | hardware_metadata: { get_param: hardware_metadata} |
| 593 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 594 | outputs: |
| 595 | ucp_ips: |
| 596 | description: Private IP addresses of the deployed ucp instances |
| 597 | value: { get_attr: [ucp, server_public_ip] } |
| 598 | masters_ips: |
| 599 | description: Private IP addresses of the deployed masters instances |
| 600 | value: { get_attr: [masters, server_public_ip] } |
| 601 | workers_ips: |
| 602 | description: Private IP addresses of the deployed worker instances |
| 603 | value: { get_attr: [workers, server_public_ip] } |
| 604 | cmps_ips: |
| 605 | description: Private IP addresses of the deployed cmp instances |
| 606 | value: { get_attr: [cmps, server_public_ip] } |
| 607 | gtws_ips: |
| 608 | description: Private IP addresses of the deployed gtw instances |
| 609 | value: { get_attr: [gtws, server_public_ip] } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 610 | lmas_ips: |
| 611 | description: Private IP addresses of the deployed lma instances |
| 612 | value: { get_attr: [lmas, server_public_ip] } |
| 613 | osds_ips: |
| 614 | description: Private IP addresses of the deployed osd instances |
| 615 | value: { get_attr: [osds, server_public_ip] } |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 616 | spares_ips: |
| 617 | description: Private IP addresses of the deployed spare instances |
| 618 | value: { get_attr: [spares, server_public_ip] } |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 619 | ntws_ips: |
| 620 | description: Private IP addresses of the deployed contrail instances |
| 621 | value: { get_attr: [ntws, server_public_ip] } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 622 | vbmcs_ips: |
| 623 | description: Private IP addresses of the deployed virtualbmcs instances |
| 624 | value: { get_attr: [vbmcs, server_public_ip] } |
Oleh Hryhorov | 404e957 | 2020-01-21 18:57:22 +0200 | [diff] [blame] | 625 | worker_private_floating_ips: |
| 626 | description: IPs might be used as gateway |
| 627 | value: { get_attr: [workers, server_private_floating_ip] } |
Oleh Hryhorov | 0019f59 | 2020-01-23 11:50:12 +0200 | [diff] [blame] | 628 | private_floating_cidr: |
| 629 | value: { get_param: private_floating_network_cidr } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 630 | private_floating_network_pool_start: |
| 631 | value: { get_param: private_floating_network_pool_start } |
| 632 | private_floating_network_pool_end: |
| 633 | value: { get_param: private_floating_network_pool_end } |
| 634 | private_floating_network_gateway: |
| 635 | value: { get_param: private_floating_network_gateway } |
Vasyl Saienko | c943f43 | 2020-04-21 12:15:57 +0300 | [diff] [blame] | 636 | private_floating_network_interface: |
| 637 | value: { get_param: private_floating_network_interface } |
Vasyl Saienko | 36f2edf | 2020-05-14 10:44:52 +0300 | [diff] [blame] | 638 | ironic_baremetal_network_pool_start: |
| 639 | value: { get_param: ironic_baremetal_network_pool_start } |
| 640 | ironic_baremetal_network_pool_end: |
| 641 | value: { get_param: ironic_baremetal_network_pool_end } |
Vasyl Saienko | 4c46819 | 2020-05-19 11:51:13 +0300 | [diff] [blame^] | 642 | ironic_baremetal_network_interface: |
| 643 | value: { get_param: ironic_baremetal_network_interface } |
Oleh Hryhorov | 367e3ff | 2020-02-13 10:35:52 +0200 | [diff] [blame] | 644 | tunnel_interface: |
| 645 | value: { get_param: tunnel_interface } |
| 646 | live_migration_interface: |
| 647 | value: { get_param: live_migration_interface } |
| 648 | metallb_address_pools: |
| 649 | value: { get_param: metallb_address_pools } |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 650 | ucp_wc_data: |
| 651 | description: Metadata from ucp |
| 652 | value: { get_attr: [ucp, wc_data] } |
| 653 | masters_wc_data: |
| 654 | description: Metadata from masters |
| 655 | value: { get_attr: [masters, wc_data] } |
| 656 | workers_wc_data: |
| 657 | description: Metadata from workers |
| 658 | value: { get_attr: [workers, wc_data] } |
| 659 | cmps_wc_data: |
| 660 | description: Metadata from cmps |
| 661 | value: { get_attr: [cmps, wc_data] } |
| 662 | gtws_wc_data: |
| 663 | description: Metadata from gtws |
| 664 | value: { get_attr: [gtws, wc_data] } |
| 665 | lmas_wc_data: |
| 666 | description: Metadata from lmas |
| 667 | value: { get_attr: [lmas, wc_data] } |
| 668 | osds_wc_data: |
| 669 | description: Metadata from osds |
| 670 | value: { get_attr: [osds, wc_data] } |
| 671 | ntws_wc_data: |
| 672 | description: Metadata from ntws |
| 673 | value: { get_attr: [ntws, wc_data] } |
Oleh Hryhorov | 564a120 | 2020-03-12 12:44:56 +0200 | [diff] [blame] | 674 | storage_frontend_network_cidr: |
| 675 | description: Storage network which is used as clientNet in Ceph CR |
| 676 | value: { get_param: storage_frontend_network_cidr } |
| 677 | storage_backend_network_cidr: |
| 678 | description: Storage network which is used as clusterNet in Ceph CR |
| 679 | value: { get_param: storage_backend_network_cidr } |