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 |
| 13 | host_interface: |
| 14 | type: string |
| 15 | description: Interface which connects server with public network (world accessible network). |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 16 | masters_size: |
| 17 | type: number |
| 18 | description: Number of masters instances to deploy |
| 19 | default: 2 |
| 20 | worker_size: |
| 21 | type: number |
| 22 | description: Number of workers to deploy |
| 23 | default: 5 |
| 24 | cmp_size: |
| 25 | type: number |
| 26 | description: Number of cmp workers to deploy |
| 27 | default: 0 |
| 28 | gtw_size: |
| 29 | type: number |
| 30 | description: Number of gtw workers to deploy |
| 31 | default: 0 |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 32 | lma_size: |
| 33 | type: number |
| 34 | description: Number of gtw workers to deploy |
| 35 | default: 0 |
| 36 | osd_size: |
| 37 | type: number |
| 38 | description: Number of gtw workers to deploy |
| 39 | default: 0 |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 40 | ntw_size: |
| 41 | type: number |
| 42 | description: Number of contrail nodes to deploy |
| 43 | default: 0 |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 44 | ucp_boot_timeout: |
| 45 | type: number |
| 46 | description: Boot timeout for UCP instance |
| 47 | default: 1200 |
| 48 | cluster_public_key: |
| 49 | type: string |
Oleh Hryhorov | 0019f59 | 2020-01-23 11:50:12 +0200 | [diff] [blame] | 50 | private_floating_network_cidr: |
| 51 | type: string |
| 52 | default: '10.11.12.0/24' |
Oleh Hryhorov | 2a7b3d7 | 2020-02-27 17:04:24 +0200 | [diff] [blame] | 53 | private_floating_network_ipam_pool_start: |
| 54 | type: string |
| 55 | description: pool start which is used as pool for IPAM and assigned to instances port |
| 56 | default: '10.11.12.2' |
| 57 | private_floating_network_ipam_pool_end: |
| 58 | type: string |
| 59 | description: pool end which is used as pool for IPAM and assigned to instances port |
| 60 | default: '10.11.12.99' |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 61 | private_floating_network_pool_start: |
| 62 | type: string |
| 63 | default: '10.11.12.100' |
| 64 | private_floating_network_pool_end: |
| 65 | type: string |
| 66 | default: '10.11.12.200' |
| 67 | private_floating_network_gateway: |
| 68 | type: string |
Oleh Hryhorov | d3a3024 | 2020-02-11 15:24:01 +0200 | [diff] [blame] | 69 | default: '' |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 70 | private_floating_interface: |
| 71 | description: Interface which carries floating network for child OpenStack. |
| 72 | type: string |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 73 | storage_frontend_network_cidr: |
| 74 | type: string |
| 75 | default: '10.12.0.0/24' |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 76 | storage_frontend_interface: |
| 77 | type: string |
| 78 | default: 'ens5' |
| 79 | storage_backend_network_cidr: |
| 80 | type: string |
| 81 | default: '10.11.0.0/24' |
| 82 | storage_backend_interface: |
| 83 | type: string |
| 84 | default: 'ens6' |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 85 | worker_metadata: |
| 86 | type: json |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 87 | default: {} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 88 | cmp_metadata: |
| 89 | type: json |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 90 | default: {} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 91 | gtw_metadata: |
| 92 | type: json |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 93 | default: {} |
| 94 | lma_metadata: |
| 95 | type: json |
| 96 | default: {} |
| 97 | osd_metadata: |
| 98 | type: json |
| 99 | default: {} |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 100 | ntw_metadata: |
| 101 | type: json |
| 102 | default: {} |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 103 | ucp_flavor: |
| 104 | type: string |
| 105 | default: 'system.compact.openstack.control' |
| 106 | masters_flavor: |
| 107 | type: string |
| 108 | default: 'system.compact.openstack.control' |
| 109 | workers_flavor: |
| 110 | type: string |
| 111 | default: 'system.compact.openstack.control' |
| 112 | cmps_flavor: |
| 113 | type: string |
| 114 | default: 'system.compact.openstack.control' |
| 115 | gtws_flavor: |
| 116 | type: string |
| 117 | default: 'system.compact.openstack.control' |
| 118 | lmas_flavor: |
| 119 | type: string |
| 120 | default: 'system.compact.openstack.control' |
| 121 | osds_flavor: |
| 122 | type: string |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 123 | default: 'system.virtual.ceph.osd' |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 124 | ntws_flavor: |
| 125 | type: string |
| 126 | default: 'system.compact.openstack.control' |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 127 | functions_override: |
| 128 | type: string |
Vasyl Saienko | 9b68899 | 2020-02-13 13:50:53 +0200 | [diff] [blame] | 129 | default: '' |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 130 | docker_ee_url: |
| 131 | type: string |
| 132 | default: 'https://s3-us-west-2.amazonaws.com/internal-docker-ee-builds/docker-ee-linux' |
| 133 | docker_ee_release: |
| 134 | type: string |
| 135 | default: 'stable-19.03' |
Oleh Hryhorov | 367e3ff | 2020-02-13 10:35:52 +0200 | [diff] [blame] | 136 | tunnel_interface: |
| 137 | type: string |
| 138 | default: '' |
| 139 | live_migration_interface: |
| 140 | type: string |
| 141 | default: '' |
| 142 | metallb_address_pools: |
| 143 | type: comma_delimited_list |
| 144 | default: '' |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 145 | |
| 146 | resources: |
| 147 | key_pair: |
| 148 | type: OS::Nova::KeyPair |
| 149 | properties: |
| 150 | name: { get_param: "OS::stack_name" } |
| 151 | public_key: { get_param: cluster_public_key} |
| 152 | save_private_key: false |
| 153 | |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 154 | accessible_network: |
| 155 | type: MCP2::NetworkAcc |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 156 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 157 | public_net_id: { get_param: public_net_id } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 158 | |
| 159 | private_floating_network: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 160 | type: MCP2::NetworkPrvFl |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 161 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 162 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
Oleh Hryhorov | 2a7b3d7 | 2020-02-27 17:04:24 +0200 | [diff] [blame] | 163 | 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] | 164 | private_floating_network_ipam_pool_end: { get_param: private_floating_network_ipam_pool_end } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 165 | |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 166 | storage_network: |
| 167 | type: MCP2::NetworkAccStorage |
| 168 | properties: |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 169 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 170 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 171 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 172 | ucp: |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 173 | depends_on: |
| 174 | - accessible_network |
| 175 | - storage_network |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 176 | type: MCP2::SrvInstances |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 177 | properties: |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 178 | metadata: {"role":"ucp"} |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 179 | docker_ee_url: { get_param: docker_ee_url } |
| 180 | docker_ee_release: { get_param: docker_ee_release } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 181 | node_type: "ucp" |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 182 | key_name: { get_param: "OS::stack_name" } |
| 183 | image: { get_param: image } |
| 184 | flavor: { get_param: ucp_flavor } |
| 185 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 186 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 187 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 188 | private_floating_interface: { get_param: private_floating_interface } |
| 189 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 190 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 191 | public_net_id: { get_param: public_net_id } |
| 192 | host_interface: { get_param: host_interface } |
| 193 | functions_override: { get_param: functions_override } |
| 194 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 195 | masters: |
| 196 | type: OS::Heat::ResourceGroup |
| 197 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 198 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 199 | properties: |
| 200 | count: { get_param: masters_size } |
| 201 | resource_def: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 202 | type: MCP2::SrvInstances |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 203 | properties: |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 204 | metadata: {"role":"master"} |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 205 | node_type: "master" |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 206 | key_name: { get_param: "OS::stack_name" } |
| 207 | image: { get_param: image } |
| 208 | flavor: { get_param: masters_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 209 | docker_ee_url: { get_param: docker_ee_url } |
| 210 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 211 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 212 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 213 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 214 | private_floating_interface: { get_param: private_floating_interface } |
| 215 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 216 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 217 | public_net_id: { get_param: public_net_id } |
| 218 | host_interface: { get_param: host_interface } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 219 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 220 | functions_override: { get_param: functions_override } |
| 221 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 222 | workers: |
| 223 | type: OS::Heat::ResourceGroup |
| 224 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 225 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 226 | properties: |
| 227 | count: { get_param: worker_size } |
| 228 | resource_def: |
Vasyl Saienko | 6ff0c1b | 2020-03-05 07:52:02 +0200 | [diff] [blame^] | 229 | type: MCP2::SrvInstancesCeph |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 230 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 231 | metadata: { get_param: worker_metadata} |
| 232 | node_type: "worker" |
| 233 | key_name: { get_param: "OS::stack_name" } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 234 | image: { get_param: image } |
Vasyl Saienko | 6ff0c1b | 2020-03-05 07:52:02 +0200 | [diff] [blame^] | 235 | flavor: { get_param: workers_flavor } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 236 | key_name: { get_param: "OS::stack_name" } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 237 | docker_ee_url: { get_param: docker_ee_url } |
| 238 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 239 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 240 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 241 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 242 | private_floating_interface: { get_param: private_floating_interface } |
| 243 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 244 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 245 | public_net_id: { get_param: public_net_id } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 246 | host_interface: { get_param: host_interface } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 247 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 248 | functions_override: { get_param: functions_override } |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 249 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 250 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 251 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 252 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
| 253 | storage_backend_interface: { get_param: storage_backend_interface } |
| 254 | storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] } |
| 255 | storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] } |
| 256 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 257 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 258 | cmps: |
| 259 | type: OS::Heat::ResourceGroup |
| 260 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 261 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 262 | properties: |
| 263 | count: { get_param: cmp_size } |
| 264 | resource_def: |
Vasyl Saienko | 6ff0c1b | 2020-03-05 07:52:02 +0200 | [diff] [blame^] | 265 | type: MCP2::SrvInstancesCeph |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 266 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 267 | metadata: { get_param: cmp_metadata } |
| 268 | node_type: "worker" |
| 269 | key_name: { get_param: "OS::stack_name" } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 270 | image: { get_param: image } |
Vasyl Saienko | 6ff0c1b | 2020-03-05 07:52:02 +0200 | [diff] [blame^] | 271 | flavor: { get_param: cmps_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 272 | docker_ee_url: { get_param: docker_ee_url } |
| 273 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 274 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 275 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 276 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 277 | private_floating_interface: { get_param: private_floating_interface } |
| 278 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 279 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 280 | public_net_id: { get_param: public_net_id } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 281 | host_interface: { get_param: host_interface } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 282 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 283 | functions_override: { get_param: functions_override } |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 284 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 285 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 286 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 287 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
| 288 | storage_backend_interface: { get_param: storage_backend_interface } |
| 289 | storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] } |
| 290 | storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] } |
| 291 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 292 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 293 | gtws: |
| 294 | type: OS::Heat::ResourceGroup |
| 295 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 296 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 297 | properties: |
| 298 | count: { get_param: gtw_size } |
| 299 | resource_def: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 300 | type: MCP2::SrvInstances |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 301 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 302 | metadata: { get_param: gtw_metadata } |
| 303 | node_type: "worker" |
| 304 | key_name: { get_param: "OS::stack_name" } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 305 | image: { get_param: image } |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 306 | flavor: { get_param: gtws_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 307 | docker_ee_url: { get_param: docker_ee_url } |
| 308 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 309 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 310 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 311 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 312 | private_floating_interface: { get_param: private_floating_interface } |
| 313 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 314 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 315 | public_net_id: { get_param: public_net_id } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 316 | host_interface: { get_param: host_interface } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 317 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 318 | functions_override: { get_param: functions_override } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 319 | |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 320 | lmas: |
| 321 | type: OS::Heat::ResourceGroup |
| 322 | depends_on: |
| 323 | - ucp |
| 324 | properties: |
| 325 | count: { get_param: lma_size } |
| 326 | resource_def: |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 327 | type: MCP2::SrvInstancesCeph |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 328 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 329 | metadata: { get_param: lma_metadata } |
| 330 | node_type: "worker" |
| 331 | key_name: { get_param: "OS::stack_name" } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 332 | image: { get_param: image } |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 333 | flavor: { get_param: lmas_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 334 | docker_ee_url: { get_param: docker_ee_url } |
| 335 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 336 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 337 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 338 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 339 | private_floating_interface: { get_param: private_floating_interface } |
| 340 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 341 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 342 | public_net_id: { get_param: public_net_id } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 343 | host_interface: { get_param: host_interface } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 344 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 345 | functions_override: { get_param: functions_override } |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 346 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 347 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 348 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 349 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 350 | |
| 351 | osds: |
| 352 | type: OS::Heat::ResourceGroup |
| 353 | depends_on: |
| 354 | - ucp |
| 355 | properties: |
| 356 | count: { get_param: osd_size } |
| 357 | resource_def: |
Mateusz Los | e2ad077 | 2020-02-27 21:41:54 +0100 | [diff] [blame] | 358 | type: MCP2::SrvInstancesCephOSD |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 359 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 360 | metadata: { get_param: osd_metadata } |
| 361 | node_type: "worker" |
| 362 | key_name: { get_param: "OS::stack_name" } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 363 | image: { get_param: image } |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 364 | flavor: { get_param: osds_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 365 | docker_ee_url: { get_param: docker_ee_url } |
| 366 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 367 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 368 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 369 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 370 | private_floating_interface: { get_param: private_floating_interface } |
| 371 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 372 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 373 | public_net_id: { get_param: public_net_id } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 374 | host_interface: { get_param: host_interface } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 375 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 376 | functions_override: { get_param: functions_override } |
Oleh Hryhorov | dccb1cd | 2020-03-04 15:52:55 +0200 | [diff] [blame] | 377 | storage_frontend_interface: { get_param: storage_frontend_interface } |
| 378 | storage_frontend_network: { get_attr: [storage_network, storage_frontend_network_id] } |
| 379 | storage_frontend_subnet_id: { get_attr: [storage_network, storage_frontend_subnet_id] } |
| 380 | storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr } |
| 381 | storage_backend_interface: { get_param: storage_backend_interface } |
| 382 | storage_backend_network: { get_attr: [storage_network, storage_backend_network_id] } |
| 383 | storage_backend_subnet_id: { get_attr: [storage_network, storage_backend_subnet_id] } |
| 384 | storage_backend_network_cidr: { get_param: storage_backend_network_cidr } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 385 | |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 386 | ntws: |
| 387 | type: OS::Heat::ResourceGroup |
| 388 | depends_on: |
| 389 | - ucp |
| 390 | properties: |
| 391 | count: { get_param: ntw_size } |
| 392 | resource_def: |
| 393 | type: MCP2::SrvInstances |
| 394 | properties: |
| 395 | metadata: { get_param: ntw_metadata } |
| 396 | node_type: "worker" |
| 397 | key_name: { get_param: "OS::stack_name" } |
| 398 | image: { get_param: image } |
| 399 | flavor: { get_param: ntws_flavor } |
| 400 | docker_ee_url: { get_param: docker_ee_url } |
| 401 | docker_ee_release: { get_param: docker_ee_release } |
| 402 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 403 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 404 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 405 | private_floating_interface: { get_param: private_floating_interface } |
| 406 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 407 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 408 | public_net_id: { get_param: public_net_id } |
| 409 | host_interface: { get_param: host_interface } |
| 410 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
| 411 | functions_override: { get_param: functions_override } |
| 412 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 413 | outputs: |
| 414 | ucp_ips: |
| 415 | description: Private IP addresses of the deployed ucp instances |
| 416 | value: { get_attr: [ucp, server_public_ip] } |
| 417 | masters_ips: |
| 418 | description: Private IP addresses of the deployed masters instances |
| 419 | value: { get_attr: [masters, server_public_ip] } |
| 420 | workers_ips: |
| 421 | description: Private IP addresses of the deployed worker instances |
| 422 | value: { get_attr: [workers, server_public_ip] } |
| 423 | cmps_ips: |
| 424 | description: Private IP addresses of the deployed cmp instances |
| 425 | value: { get_attr: [cmps, server_public_ip] } |
| 426 | gtws_ips: |
| 427 | description: Private IP addresses of the deployed gtw instances |
| 428 | value: { get_attr: [gtws, server_public_ip] } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 429 | lmas_ips: |
| 430 | description: Private IP addresses of the deployed lma instances |
| 431 | value: { get_attr: [lmas, server_public_ip] } |
| 432 | osds_ips: |
| 433 | description: Private IP addresses of the deployed osd instances |
| 434 | value: { get_attr: [osds, server_public_ip] } |
sgudz | 43eb82b | 2020-02-11 16:36:48 +0200 | [diff] [blame] | 435 | ntws_ips: |
| 436 | description: Private IP addresses of the deployed contrail instances |
| 437 | value: { get_attr: [ntws, server_public_ip] } |
Oleh Hryhorov | 404e957 | 2020-01-21 18:57:22 +0200 | [diff] [blame] | 438 | worker_private_floating_ips: |
| 439 | description: IPs might be used as gateway |
| 440 | value: { get_attr: [workers, server_private_floating_ip] } |
Oleh Hryhorov | 0019f59 | 2020-01-23 11:50:12 +0200 | [diff] [blame] | 441 | private_floating_cidr: |
| 442 | value: { get_param: private_floating_network_cidr } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 443 | private_floating_network_pool_start: |
| 444 | value: { get_param: private_floating_network_pool_start } |
| 445 | private_floating_network_pool_end: |
| 446 | value: { get_param: private_floating_network_pool_end } |
| 447 | private_floating_network_gateway: |
| 448 | value: { get_param: private_floating_network_gateway } |
Oleh Hryhorov | 367e3ff | 2020-02-13 10:35:52 +0200 | [diff] [blame] | 449 | tunnel_interface: |
| 450 | value: { get_param: tunnel_interface } |
| 451 | live_migration_interface: |
| 452 | value: { get_param: live_migration_interface } |
| 453 | metallb_address_pools: |
| 454 | value: { get_param: metallb_address_pools } |