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