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