Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 1 | --- |
| 2 | |
| 3 | heat_template_version: queens |
| 4 | |
| 5 | description: MCP environment for heat-cicd-queens-dvr-sl |
| 6 | |
| 7 | parameters: |
| 8 | instance_domain: |
| 9 | type: string |
Hanna Arhipova | 67383da | 2021-02-12 13:45:52 +0200 | [diff] [blame] | 10 | default: heat-cicd-queens-dvr-sl.local |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 11 | mcp_version: |
| 12 | type: string |
| 13 | env_name: |
| 14 | type: string |
| 15 | control_subnet_cidr: |
| 16 | type: string |
sgudz | c9f50d1 | 2019-05-31 14:25:34 +0300 | [diff] [blame] | 17 | default: "10.6.0.0/24" |
| 18 | tenant_subnet_cidr: |
| 19 | type: string |
| 20 | default: "10.8.0.0/24" |
| 21 | external_subnet_cidr: |
| 22 | type: string |
sgudz | fb854cf | 2019-06-05 15:10:41 +0300 | [diff] [blame] | 23 | default: "10.9.0.0/16" |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 24 | management_subnet_cidr: |
| 25 | type: string |
sgudz | c9f50d1 | 2019-05-31 14:25:34 +0300 | [diff] [blame] | 26 | default: "10.7.0.0/24" |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 27 | management_subnet_cfg01_ip: |
| 28 | type: string |
sgudz | c9f50d1 | 2019-05-31 14:25:34 +0300 | [diff] [blame] | 29 | default: 10.7.0.15 |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 30 | management_subnet_gateway_ip: |
| 31 | type: string |
sgudz | c9f50d1 | 2019-05-31 14:25:34 +0300 | [diff] [blame] | 32 | default: 10.7.0.1 |
| 33 | management_subnet_pool_start: |
| 34 | type: string |
| 35 | default: 10.7.0.20 |
| 36 | management_subnet_pool_end: |
| 37 | type: string |
| 38 | default: 10.7.0.90 |
| 39 | salt_master_control_ip: |
| 40 | type: string |
| 41 | default: 10.6.0.15 |
Hanna Arhipova | 31cb1d8 | 2021-01-27 09:41:11 +0200 | [diff] [blame] | 42 | deploy_empty_node: |
| 43 | type: boolean |
| 44 | default: False |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 45 | |
| 46 | key_pair: |
| 47 | type: string |
| 48 | |
| 49 | ctl_flavor: |
| 50 | type: string |
| 51 | cfg_flavor: |
| 52 | type: string |
| 53 | cid_flavor: |
| 54 | type: string |
| 55 | kvm_fake_flavor: |
| 56 | type: string |
| 57 | dbs_flavor: |
| 58 | type: string |
| 59 | msg_flavor: |
| 60 | type: string |
| 61 | mon_flavor: |
| 62 | type: string |
| 63 | log_flavor: |
| 64 | type: string |
| 65 | mtr_flavor: |
| 66 | type: string |
| 67 | cmp_flavor: |
| 68 | type: string |
| 69 | foundation_flavor: |
| 70 | type: string |
| 71 | cmn_flavor: |
| 72 | type: string |
| 73 | rgw_flavor: |
| 74 | type: string |
| 75 | osd_flavor: |
| 76 | type: string |
| 77 | gtw_flavor: |
| 78 | type: string |
| 79 | dns_flavor: |
| 80 | type: string |
| 81 | kmn_flavor: |
| 82 | type: string |
| 83 | prx_flavor: |
| 84 | type: string |
Tatyana Leontovich | a0c3e73 | 2019-05-27 17:23:55 +0300 | [diff] [blame] | 85 | mdb_flavor: |
| 86 | type: string |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 87 | |
| 88 | net_public: |
| 89 | type: string |
| 90 | |
Dennis Dmitriev | cba8612 | 2019-05-24 13:41:46 +0300 | [diff] [blame] | 91 | foundation_image: |
| 92 | type: string |
| 93 | |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 94 | bm_availability_zone: |
| 95 | type: string |
| 96 | vm_availability_zone: |
| 97 | type: string |
| 98 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 99 | resources: |
| 100 | networks: |
| 101 | type: MCP::Networks |
| 102 | properties: |
| 103 | stack_name: { get_param: "OS::stack_name" } |
| 104 | env_name: { get_param: env_name } |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 105 | subnets: |
| 106 | depends_on: [networks] |
Hanna Arhipova | 609c991 | 2020-11-18 15:04:41 +0200 | [diff] [blame] | 107 | type: MCP::SubnetsWithFloating |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 108 | properties: |
| 109 | stack_name: { get_param: "OS::stack_name" } |
| 110 | env_name: { get_param: env_name } |
| 111 | management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] } |
| 112 | control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] } |
| 113 | tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] } |
| 114 | external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] } |
sgudz | c9f50d1 | 2019-05-31 14:25:34 +0300 | [diff] [blame] | 115 | control_subnet_cidr: { get_param: control_subnet_cidr } |
| 116 | tenant_subnet_cidr: { get_param: tenant_subnet_cidr } |
| 117 | external_subnet_cidr: { get_param: external_subnet_cidr } |
| 118 | management_subnet_cidr: { get_param: management_subnet_cidr } |
| 119 | management_subnet_gateway_ip: { get_param: management_subnet_gateway_ip } |
| 120 | management_subnet_pool_start: { get_param: management_subnet_pool_start } |
| 121 | management_subnet_pool_end: { get_param: management_subnet_pool_end } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 122 | |
| 123 | #flavors: |
| 124 | # type: MCP::Flavors |
| 125 | |
| 126 | cfg01_node: |
| 127 | type: MCP::MasterNode |
sgudz | 22628a3 | 2019-06-12 11:34:04 +0300 | [diff] [blame] | 128 | depends_on: [subnets] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 129 | properties: |
| 130 | env_name: { get_param: env_name } |
| 131 | mcp_version: { get_param: mcp_version } |
| 132 | cfg01_flavor: { get_param: cfg_flavor } |
PGlazov | 88c96b1 | 2021-09-21 13:11:21 +0400 | [diff] [blame] | 133 | availability_zone: { get_param: vm_availability_zone } |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 134 | management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] } |
| 135 | control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] } |
| 136 | tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] } |
| 137 | external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] } |
sgudz | c9f50d1 | 2019-05-31 14:25:34 +0300 | [diff] [blame] | 138 | salt_master_control_ip: { get_param: salt_master_control_ip } |
| 139 | management_subnet_cfg01_ip: { get_param: management_subnet_cfg01_ip } |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 140 | tenant_net_static_ip: |
| 141 | list_join: |
| 142 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 143 | - [ { get_attr: [subnets, tenant_net_prefix] }, '15' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 144 | external_net_static_ip: |
| 145 | list_join: |
| 146 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 147 | - [ { get_attr: [subnets, external_net_prefix] }, '15' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 148 | instance_name: cfg01 |
| 149 | instance_domain: {get_param: instance_domain} |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 150 | |
| 151 | control_cluster: |
| 152 | type: MCP::MultipleInstance |
| 153 | depends_on: [cfg01_node] |
| 154 | properties: |
| 155 | env_name: { get_param: env_name } |
| 156 | mcp_version: { get_param: mcp_version } |
| 157 | instance_domain: {get_param: instance_domain} |
| 158 | instance01_name: ctl01 |
| 159 | instance02_name: ctl02 |
| 160 | instance03_name: ctl03 |
| 161 | instance_flavor: {get_param: ctl_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 162 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 163 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 164 | instance01_control_net_static_ip: |
| 165 | list_join: |
| 166 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 167 | - [ { get_attr: [subnets, control_net_prefix] }, '11' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 168 | instance02_control_net_static_ip: |
| 169 | list_join: |
| 170 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 171 | - [ { get_attr: [subnets, control_net_prefix] }, '12' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 172 | instance03_control_net_static_ip: |
| 173 | list_join: |
| 174 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 175 | - [ { get_attr: [subnets, control_net_prefix] }, '13' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 176 | instance01_tenant_net_static_ip: |
| 177 | list_join: |
| 178 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 179 | - [ { get_attr: [subnets, tenant_net_prefix] }, '11' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 180 | instance02_tenant_net_static_ip: |
| 181 | list_join: |
| 182 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 183 | - [ { get_attr: [subnets, tenant_net_prefix] }, '12' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 184 | instance03_tenant_net_static_ip: |
| 185 | list_join: |
| 186 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 187 | - [ { get_attr: [subnets, tenant_net_prefix] }, '13' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 188 | instance01_external_net_static_ip: |
| 189 | list_join: |
| 190 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 191 | - [ { get_attr: [subnets, external_net_prefix] }, '11' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 192 | instance02_external_net_static_ip: |
| 193 | list_join: |
| 194 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 195 | - [ { get_attr: [subnets, external_net_prefix] }, '12' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 196 | instance03_external_net_static_ip: |
| 197 | list_join: |
| 198 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 199 | - [ { get_attr: [subnets, external_net_prefix] }, '13' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 200 | |
| 201 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 202 | |
| 203 | openstack_database_cluster: |
| 204 | type: MCP::MultipleInstance |
| 205 | depends_on: [control_cluster] |
| 206 | properties: |
| 207 | env_name: { get_param: env_name } |
| 208 | mcp_version: { get_param: mcp_version } |
| 209 | instance_domain: {get_param: instance_domain} |
| 210 | instance01_name: dbs01 |
| 211 | instance02_name: dbs02 |
| 212 | instance03_name: dbs03 |
| 213 | instance_flavor: {get_param: dbs_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 214 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 215 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 216 | instance01_control_net_static_ip: |
| 217 | list_join: |
| 218 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 219 | - [ { get_attr: [subnets, control_net_prefix] }, '51' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 220 | instance02_control_net_static_ip: |
| 221 | list_join: |
| 222 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 223 | - [ { get_attr: [subnets, control_net_prefix] }, '52' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 224 | instance03_control_net_static_ip: |
| 225 | list_join: |
| 226 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 227 | - [ { get_attr: [subnets, control_net_prefix] }, '53' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 228 | instance01_tenant_net_static_ip: |
| 229 | list_join: |
| 230 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 231 | - [ { get_attr: [subnets, tenant_net_prefix] }, '51' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 232 | instance02_tenant_net_static_ip: |
| 233 | list_join: |
| 234 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 235 | - [ { get_attr: [subnets, tenant_net_prefix] }, '52' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 236 | instance03_tenant_net_static_ip: |
| 237 | list_join: |
| 238 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 239 | - [ { get_attr: [subnets, tenant_net_prefix] }, '53' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 240 | instance01_external_net_static_ip: |
| 241 | list_join: |
| 242 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 243 | - [ { get_attr: [subnets, external_net_prefix] }, '51' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 244 | instance02_external_net_static_ip: |
| 245 | list_join: |
| 246 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 247 | - [ { get_attr: [subnets, external_net_prefix] }, '52' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 248 | instance03_external_net_static_ip: |
| 249 | list_join: |
| 250 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 251 | - [ { get_attr: [subnets, external_net_prefix] }, '53' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 252 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 253 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 254 | |
| 255 | fake_kvm_cluster: |
| 256 | type: MCP::MultipleInstance |
| 257 | depends_on: [cfg01_node] |
| 258 | properties: |
| 259 | env_name: { get_param: env_name } |
| 260 | mcp_version: { get_param: mcp_version } |
| 261 | instance_domain: {get_param: instance_domain} |
| 262 | instance01_name: kvm01 |
| 263 | instance02_name: kvm02 |
| 264 | instance03_name: kvm03 |
| 265 | instance_flavor: {get_param: kvm_fake_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 266 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 267 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 268 | instance01_control_net_static_ip: |
| 269 | list_join: |
| 270 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 271 | - [ { get_attr: [subnets, control_net_prefix] }, '241' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 272 | instance02_control_net_static_ip: |
| 273 | list_join: |
| 274 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 275 | - [ { get_attr: [subnets, control_net_prefix] }, '242' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 276 | instance03_control_net_static_ip: |
| 277 | list_join: |
| 278 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 279 | - [ { get_attr: [subnets, control_net_prefix] }, '243' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 280 | instance01_tenant_net_static_ip: |
| 281 | list_join: |
| 282 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 283 | - [ { get_attr: [subnets, tenant_net_prefix] }, '241' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 284 | instance02_tenant_net_static_ip: |
| 285 | list_join: |
| 286 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 287 | - [ { get_attr: [subnets, tenant_net_prefix] }, '242' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 288 | instance03_tenant_net_static_ip: |
| 289 | list_join: |
| 290 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 291 | - [ { get_attr: [subnets, tenant_net_prefix] }, '243' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 292 | instance01_external_net_static_ip: |
| 293 | list_join: |
| 294 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 295 | - [ { get_attr: [subnets, external_net_prefix] }, '241' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 296 | instance02_external_net_static_ip: |
| 297 | list_join: |
| 298 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 299 | - [ { get_attr: [subnets, external_net_prefix] }, '242' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 300 | instance03_external_net_static_ip: |
| 301 | list_join: |
| 302 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 303 | - [ { get_attr: [subnets, external_net_prefix] }, '243' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 304 | |
| 305 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 306 | |
| 307 | openstack_message_queue_cluster: |
| 308 | type: MCP::MultipleInstance |
| 309 | depends_on: [openstack_database_cluster] |
| 310 | properties: |
| 311 | env_name: { get_param: env_name } |
| 312 | mcp_version: { get_param: mcp_version } |
| 313 | instance_domain: {get_param: instance_domain} |
| 314 | instance01_name: msg01 |
| 315 | instance02_name: msg02 |
| 316 | instance03_name: msg03 |
| 317 | instance_flavor: {get_param: msg_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 318 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 319 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 320 | instance01_control_net_static_ip: |
| 321 | list_join: |
| 322 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 323 | - [ { get_attr: [subnets, control_net_prefix] }, '41' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 324 | instance02_control_net_static_ip: |
| 325 | list_join: |
| 326 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 327 | - [ { get_attr: [subnets, control_net_prefix] }, '42' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 328 | instance03_control_net_static_ip: |
| 329 | list_join: |
| 330 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 331 | - [ { get_attr: [subnets, control_net_prefix] }, '43' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 332 | instance01_tenant_net_static_ip: |
| 333 | list_join: |
| 334 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 335 | - [ { get_attr: [subnets, tenant_net_prefix] }, '41' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 336 | instance02_tenant_net_static_ip: |
| 337 | list_join: |
| 338 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 339 | - [ { get_attr: [subnets, tenant_net_prefix] }, '42' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 340 | instance03_tenant_net_static_ip: |
| 341 | list_join: |
| 342 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 343 | - [ { get_attr: [subnets, tenant_net_prefix] }, '43' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 344 | instance01_external_net_static_ip: |
| 345 | list_join: |
| 346 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 347 | - [ { get_attr: [subnets, external_net_prefix] }, '41' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 348 | instance02_external_net_static_ip: |
| 349 | list_join: |
| 350 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 351 | - [ { get_attr: [subnets, external_net_prefix] }, '42' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 352 | instance03_external_net_static_ip: |
| 353 | list_join: |
| 354 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 355 | - [ { get_attr: [subnets, external_net_prefix] }, '43' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 356 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 357 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 358 | |
| 359 | cicd_cluster: |
| 360 | type: MCP::MultipleInstance |
| 361 | depends_on: [cfg01_node] |
| 362 | properties: |
| 363 | env_name: { get_param: env_name } |
| 364 | mcp_version: { get_param: mcp_version } |
| 365 | instance_domain: {get_param: instance_domain} |
| 366 | instance01_name: cid01 |
| 367 | instance02_name: cid02 |
| 368 | instance03_name: cid03 |
| 369 | instance_flavor: {get_param: cid_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 370 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 371 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 372 | instance01_control_net_static_ip: |
| 373 | list_join: |
| 374 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 375 | - [ { get_attr: [subnets, control_net_prefix] }, '91' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 376 | instance02_control_net_static_ip: |
| 377 | list_join: |
| 378 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 379 | - [ { get_attr: [subnets, control_net_prefix] }, '92' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 380 | instance03_control_net_static_ip: |
| 381 | list_join: |
| 382 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 383 | - [ { get_attr: [subnets, control_net_prefix] }, '93' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 384 | instance01_tenant_net_static_ip: |
| 385 | list_join: |
| 386 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 387 | - [ { get_attr: [subnets, tenant_net_prefix] }, '91' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 388 | instance02_tenant_net_static_ip: |
| 389 | list_join: |
| 390 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 391 | - [ { get_attr: [subnets, tenant_net_prefix] }, '92' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 392 | instance03_tenant_net_static_ip: |
| 393 | list_join: |
| 394 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 395 | - [ { get_attr: [subnets, tenant_net_prefix] }, '93' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 396 | instance01_external_net_static_ip: |
| 397 | list_join: |
| 398 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 399 | - [ { get_attr: [subnets, external_net_prefix] }, '91' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 400 | instance02_external_net_static_ip: |
| 401 | list_join: |
| 402 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 403 | - [ { get_attr: [subnets, external_net_prefix] }, '92' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 404 | instance03_external_net_static_ip: |
| 405 | list_join: |
| 406 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 407 | - [ { get_attr: [subnets, external_net_prefix] }, '93' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 408 | |
| 409 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 410 | |
| 411 | stacklight_monitor_cluster: |
| 412 | type: MCP::MultipleInstance |
| 413 | depends_on: [openstack_message_queue_cluster] |
| 414 | properties: |
| 415 | env_name: { get_param: env_name } |
| 416 | mcp_version: { get_param: mcp_version } |
| 417 | instance_domain: {get_param: instance_domain} |
| 418 | instance01_name: mon01 |
| 419 | instance02_name: mon02 |
| 420 | instance03_name: mon03 |
| 421 | instance_flavor: {get_param: mon_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 422 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 423 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 424 | instance01_control_net_static_ip: |
| 425 | list_join: |
| 426 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 427 | - [ { get_attr: [subnets, control_net_prefix] }, '71' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 428 | instance02_control_net_static_ip: |
| 429 | list_join: |
| 430 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 431 | - [ { get_attr: [subnets, control_net_prefix] }, '72' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 432 | instance03_control_net_static_ip: |
| 433 | list_join: |
| 434 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 435 | - [ { get_attr: [subnets, control_net_prefix] }, '73' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 436 | instance01_tenant_net_static_ip: |
| 437 | list_join: |
| 438 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 439 | - [ { get_attr: [subnets, tenant_net_prefix] }, '71' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 440 | instance02_tenant_net_static_ip: |
| 441 | list_join: |
| 442 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 443 | - [ { get_attr: [subnets, tenant_net_prefix] }, '72' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 444 | instance03_tenant_net_static_ip: |
| 445 | list_join: |
| 446 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 447 | - [ { get_attr: [subnets, tenant_net_prefix] }, '73' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 448 | instance01_external_net_static_ip: |
| 449 | list_join: |
| 450 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 451 | - [ { get_attr: [subnets, external_net_prefix] }, '71' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 452 | instance02_external_net_static_ip: |
| 453 | list_join: |
| 454 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 455 | - [ { get_attr: [subnets, external_net_prefix] }, '72' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 456 | instance03_external_net_static_ip: |
| 457 | list_join: |
| 458 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 459 | - [ { get_attr: [subnets, external_net_prefix] }, '73' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 460 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 461 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 462 | |
| 463 | stacklight_log_cluster: |
| 464 | type: MCP::MultipleInstance |
| 465 | depends_on: [stacklight_monitor_cluster] |
| 466 | properties: |
| 467 | env_name: { get_param: env_name } |
| 468 | mcp_version: { get_param: mcp_version } |
| 469 | instance_domain: {get_param: instance_domain} |
| 470 | instance01_name: log01 |
| 471 | instance02_name: log02 |
| 472 | instance03_name: log03 |
| 473 | instance_flavor: {get_param: log_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 474 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 475 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 476 | instance01_control_net_static_ip: |
| 477 | list_join: |
| 478 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 479 | - [ { get_attr: [subnets, control_net_prefix] }, '61' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 480 | instance02_control_net_static_ip: |
| 481 | list_join: |
| 482 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 483 | - [ { get_attr: [subnets, control_net_prefix] }, '62' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 484 | instance03_control_net_static_ip: |
| 485 | list_join: |
| 486 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 487 | - [ { get_attr: [subnets, control_net_prefix] }, '63' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 488 | instance01_tenant_net_static_ip: |
| 489 | list_join: |
| 490 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 491 | - [ { get_attr: [subnets, tenant_net_prefix] }, '61' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 492 | instance02_tenant_net_static_ip: |
| 493 | list_join: |
| 494 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 495 | - [ { get_attr: [subnets, tenant_net_prefix] }, '62' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 496 | instance03_tenant_net_static_ip: |
| 497 | list_join: |
| 498 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 499 | - [ { get_attr: [subnets, tenant_net_prefix] }, '63' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 500 | instance01_external_net_static_ip: |
| 501 | list_join: |
| 502 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 503 | - [ { get_attr: [subnets, external_net_prefix] }, '61' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 504 | instance02_external_net_static_ip: |
| 505 | list_join: |
| 506 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 507 | - [ { get_attr: [subnets, external_net_prefix] }, '62' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 508 | instance03_external_net_static_ip: |
| 509 | list_join: |
| 510 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 511 | - [ { get_attr: [subnets, external_net_prefix] }, '63' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 512 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 513 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 514 | |
| 515 | stacklight_mtr_cluster: |
| 516 | type: MCP::MultipleInstance |
| 517 | depends_on: [stacklight_log_cluster] |
| 518 | properties: |
| 519 | env_name: { get_param: env_name } |
| 520 | mcp_version: { get_param: mcp_version } |
| 521 | instance_domain: {get_param: instance_domain} |
| 522 | instance01_name: mtr01 |
| 523 | instance02_name: mtr02 |
| 524 | instance03_name: mtr03 |
| 525 | instance_flavor: {get_param: mtr_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 526 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 527 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 528 | instance01_control_net_static_ip: |
| 529 | list_join: |
| 530 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 531 | - [ { get_attr: [subnets, control_net_prefix] }, '97' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 532 | instance02_control_net_static_ip: |
| 533 | list_join: |
| 534 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 535 | - [ { get_attr: [subnets, control_net_prefix] }, '98' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 536 | instance03_control_net_static_ip: |
| 537 | list_join: |
| 538 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 539 | - [ { get_attr: [subnets, control_net_prefix] }, '99' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 540 | instance01_tenant_net_static_ip: |
| 541 | list_join: |
| 542 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 543 | - [ { get_attr: [subnets, tenant_net_prefix] }, '97' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 544 | instance02_tenant_net_static_ip: |
| 545 | list_join: |
| 546 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 547 | - [ { get_attr: [subnets, tenant_net_prefix] }, '98' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 548 | instance03_tenant_net_static_ip: |
| 549 | list_join: |
| 550 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 551 | - [ { get_attr: [subnets, tenant_net_prefix] }, '99' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 552 | instance01_external_net_static_ip: |
| 553 | list_join: |
| 554 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 555 | - [ { get_attr: [subnets, external_net_prefix] }, '97' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 556 | instance02_external_net_static_ip: |
| 557 | list_join: |
| 558 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 559 | - [ { get_attr: [subnets, external_net_prefix] }, '98' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 560 | instance03_external_net_static_ip: |
| 561 | list_join: |
| 562 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 563 | - [ { get_attr: [subnets, external_net_prefix] }, '99' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 564 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 565 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 566 | |
| 567 | prx01_virtual: |
| 568 | type: MCP::SingleInstance |
| 569 | depends_on: [control_cluster] |
| 570 | properties: |
| 571 | env_name: { get_param: env_name } |
| 572 | mcp_version: { get_param: mcp_version } |
| 573 | instance_domain: {get_param: instance_domain} |
| 574 | instance_name: prx01 |
| 575 | instance_flavor: {get_param: prx_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 576 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 577 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 578 | control_net_static_ip: |
| 579 | list_join: |
| 580 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 581 | - [ { get_attr: [subnets, control_net_prefix] }, '81' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 582 | tenant_net_static_ip: |
| 583 | list_join: |
| 584 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 585 | - [ { get_attr: [subnets, tenant_net_prefix] }, '81' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 586 | external_net_static_ip: |
| 587 | list_join: |
| 588 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 589 | - [ { get_attr: [subnets, external_net_prefix] }, '81' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 590 | |
| 591 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 592 | |
| 593 | prx02_virtual: |
| 594 | type: MCP::SingleInstance |
| 595 | depends_on: [control_cluster] |
| 596 | properties: |
| 597 | env_name: { get_param: env_name } |
| 598 | mcp_version: { get_param: mcp_version } |
| 599 | instance_domain: {get_param: instance_domain} |
| 600 | instance_name: prx02 |
| 601 | instance_flavor: {get_param: prx_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 602 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 603 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 604 | control_net_static_ip: |
| 605 | list_join: |
| 606 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 607 | - [ { get_attr: [subnets, control_net_prefix] }, '82' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 608 | tenant_net_static_ip: |
| 609 | list_join: |
| 610 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 611 | - [ { get_attr: [subnets, tenant_net_prefix] }, '82' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 612 | external_net_static_ip: |
| 613 | list_join: |
| 614 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 615 | - [ { get_attr: [subnets, external_net_prefix] }, '82' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 616 | |
| 617 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 618 | |
| 619 | cmp001_virtual: |
| 620 | type: MCP::Compute |
| 621 | depends_on: [cfg01_node] |
| 622 | properties: |
| 623 | env_name: { get_param: env_name } |
| 624 | mcp_version: { get_param: mcp_version } |
| 625 | instance_domain: {get_param: instance_domain} |
| 626 | instance_name: cmp001 |
| 627 | instance_flavor: {get_param: cmp_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 628 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 629 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 630 | control_net_static_ip: |
| 631 | list_join: |
| 632 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 633 | - [ { get_attr: [subnets, control_net_prefix] }, '101' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 634 | tenant_net_static_ip: |
| 635 | list_join: |
| 636 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 637 | - [ { get_attr: [subnets, tenant_net_prefix] }, '101' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 638 | external_net_static_ip: |
| 639 | list_join: |
| 640 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 641 | - [ { get_attr: [subnets, external_net_prefix] }, '101' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 642 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 643 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 644 | |
| 645 | cmp002_virtual: |
| 646 | type: MCP::Compute |
| 647 | depends_on: [cfg01_node] |
| 648 | properties: |
| 649 | env_name: { get_param: env_name } |
| 650 | mcp_version: { get_param: mcp_version } |
| 651 | instance_domain: {get_param: instance_domain} |
| 652 | instance_name: cmp002 |
| 653 | instance_flavor: {get_param: cmp_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 654 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 655 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 656 | control_net_static_ip: |
| 657 | list_join: |
| 658 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 659 | - [ { get_attr: [subnets, control_net_prefix] }, '102' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 660 | tenant_net_static_ip: |
| 661 | list_join: |
| 662 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 663 | - [ { get_attr: [subnets, tenant_net_prefix] }, '102' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 664 | external_net_static_ip: |
| 665 | list_join: |
| 666 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 667 | - [ { get_attr: [subnets, external_net_prefix] }, '102' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 668 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 669 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 670 | |
| 671 | foundation_node: |
Hanna Arhipova | 609c991 | 2020-11-18 15:04:41 +0200 | [diff] [blame] | 672 | type: MCP::FoundationNodeWithFloating |
sgudz | 22628a3 | 2019-06-12 11:34:04 +0300 | [diff] [blame] | 673 | depends_on: [subnets] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 674 | properties: |
| 675 | env_name: { get_param: env_name } |
| 676 | mcp_version: { get_param: mcp_version } |
| 677 | instance_domain: {get_param: instance_domain} |
| 678 | instance_name: foundation |
Dennis Dmitriev | cba8612 | 2019-05-24 13:41:46 +0300 | [diff] [blame] | 679 | instance_image: { get_param: foundation_image } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 680 | instance_flavor: {get_param: foundation_flavor} |
PGlazov | 88c96b1 | 2021-09-21 13:11:21 +0400 | [diff] [blame] | 681 | availability_zone: { get_param: vm_availability_zone } |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 682 | management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] } |
| 683 | control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] } |
| 684 | tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] } |
| 685 | external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] } |
sgudz | c9f50d1 | 2019-05-31 14:25:34 +0300 | [diff] [blame] | 686 | management_subnet_gateway_ip: { get_param: management_subnet_gateway_ip } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 687 | underlay_userdata: { get_file: ./underlay--user-data-foundation.yaml } |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 688 | management_net_static_ip: |
| 689 | list_join: |
| 690 | - '.' |
| 691 | - [ { get_attr: [subnets, management_net_prefix] }, '5' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 692 | control_net_static_ip: |
| 693 | list_join: |
| 694 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 695 | - [ { get_attr: [subnets, control_net_prefix] }, '5' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 696 | tenant_net_static_ip: |
| 697 | list_join: |
| 698 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 699 | - [ { get_attr: [subnets, tenant_net_prefix] }, '5' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 700 | external_net_static_ip: |
| 701 | list_join: |
| 702 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 703 | - [ { get_attr: [subnets, external_net_prefix] }, '5' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 704 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 705 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 706 | |
| 707 | ceph_cmn_cluster: |
| 708 | type: MCP::MultipleInstance |
| 709 | depends_on: [cfg01_node] |
| 710 | properties: |
| 711 | env_name: { get_param: env_name } |
| 712 | mcp_version: { get_param: mcp_version } |
| 713 | instance_domain: {get_param: instance_domain} |
| 714 | instance01_name: cmn01 |
| 715 | instance02_name: cmn02 |
| 716 | instance03_name: cmn03 |
| 717 | instance_flavor: {get_param: cmn_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 718 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 719 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 720 | instance01_control_net_static_ip: |
| 721 | list_join: |
| 722 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 723 | - [ { get_attr: [subnets, control_net_prefix] }, '66' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 724 | instance02_control_net_static_ip: |
| 725 | list_join: |
| 726 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 727 | - [ { get_attr: [subnets, control_net_prefix] }, '67' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 728 | instance03_control_net_static_ip: |
| 729 | list_join: |
| 730 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 731 | - [ { get_attr: [subnets, control_net_prefix] }, '68' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 732 | instance01_tenant_net_static_ip: |
| 733 | list_join: |
| 734 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 735 | - [ { get_attr: [subnets, tenant_net_prefix] }, '66' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 736 | instance02_tenant_net_static_ip: |
| 737 | list_join: |
| 738 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 739 | - [ { get_attr: [subnets, tenant_net_prefix] }, '67' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 740 | instance03_tenant_net_static_ip: |
| 741 | list_join: |
| 742 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 743 | - [ { get_attr: [subnets, tenant_net_prefix] }, '68' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 744 | instance01_external_net_static_ip: |
| 745 | list_join: |
| 746 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 747 | - [ { get_attr: [subnets, external_net_prefix] }, '66' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 748 | instance02_external_net_static_ip: |
| 749 | list_join: |
| 750 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 751 | - [ { get_attr: [subnets, external_net_prefix] }, '67' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 752 | instance03_external_net_static_ip: |
| 753 | list_join: |
| 754 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 755 | - [ { get_attr: [subnets, external_net_prefix] }, '68' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 756 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 757 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 758 | |
| 759 | ceph_rgw_cluster: |
| 760 | type: MCP::MultipleInstance |
| 761 | depends_on: [cfg01_node] |
| 762 | properties: |
| 763 | env_name: { get_param: env_name } |
| 764 | mcp_version: { get_param: mcp_version } |
| 765 | instance_domain: {get_param: instance_domain} |
| 766 | instance01_name: rgw01 |
| 767 | instance02_name: rgw02 |
| 768 | instance03_name: rgw03 |
| 769 | instance_flavor: {get_param: rgw_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 770 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 771 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 772 | instance01_control_net_static_ip: |
| 773 | list_join: |
| 774 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 775 | - [ { get_attr: [subnets, control_net_prefix] }, '76' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 776 | instance02_control_net_static_ip: |
| 777 | list_join: |
| 778 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 779 | - [ { get_attr: [subnets, control_net_prefix] }, '77' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 780 | instance03_control_net_static_ip: |
| 781 | list_join: |
| 782 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 783 | - [ { get_attr: [subnets, control_net_prefix] }, '78' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 784 | instance01_tenant_net_static_ip: |
| 785 | list_join: |
| 786 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 787 | - [ { get_attr: [subnets, tenant_net_prefix] }, '76' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 788 | instance02_tenant_net_static_ip: |
| 789 | list_join: |
| 790 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 791 | - [ { get_attr: [subnets, tenant_net_prefix] }, '77' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 792 | instance03_tenant_net_static_ip: |
| 793 | list_join: |
| 794 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 795 | - [ { get_attr: [subnets, tenant_net_prefix] }, '78' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 796 | instance01_external_net_static_ip: |
| 797 | list_join: |
| 798 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 799 | - [ { get_attr: [subnets, external_net_prefix] }, '76' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 800 | instance02_external_net_static_ip: |
| 801 | list_join: |
| 802 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 803 | - [ { get_attr: [subnets, external_net_prefix] }, '77' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 804 | instance03_external_net_static_ip: |
| 805 | list_join: |
| 806 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 807 | - [ { get_attr: [subnets, external_net_prefix] }, '78' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 808 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 809 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 810 | |
| 811 | ceph_osd_cluster: |
dtsapikov | f030925 | 2020-04-09 23:15:34 +0400 | [diff] [blame] | 812 | type: MCP::MultipleInstance2Volumes |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 813 | depends_on: [cfg01_node] |
| 814 | properties: |
| 815 | env_name: { get_param: env_name } |
| 816 | mcp_version: { get_param: mcp_version } |
| 817 | instance_domain: {get_param: instance_domain} |
| 818 | instance01_name: osd001 |
| 819 | instance02_name: osd002 |
| 820 | instance03_name: osd003 |
| 821 | instance_flavor: {get_param: osd_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 822 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 823 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 824 | instance01_control_net_static_ip: |
| 825 | list_join: |
| 826 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 827 | - [ { get_attr: [subnets, control_net_prefix] }, '201' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 828 | instance02_control_net_static_ip: |
| 829 | list_join: |
| 830 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 831 | - [ { get_attr: [subnets, control_net_prefix] }, '202' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 832 | instance03_control_net_static_ip: |
| 833 | list_join: |
| 834 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 835 | - [ { get_attr: [subnets, control_net_prefix] }, '203' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 836 | instance01_tenant_net_static_ip: |
| 837 | list_join: |
| 838 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 839 | - [ { get_attr: [subnets, tenant_net_prefix] }, '201' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 840 | instance02_tenant_net_static_ip: |
| 841 | list_join: |
| 842 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 843 | - [ { get_attr: [subnets, tenant_net_prefix] }, '202' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 844 | instance03_tenant_net_static_ip: |
| 845 | list_join: |
| 846 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 847 | - [ { get_attr: [subnets, tenant_net_prefix] }, '203' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 848 | instance01_external_net_static_ip: |
| 849 | list_join: |
| 850 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 851 | - [ { get_attr: [subnets, external_net_prefix] }, '201' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 852 | instance02_external_net_static_ip: |
| 853 | list_join: |
| 854 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 855 | - [ { get_attr: [subnets, external_net_prefix] }, '202' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 856 | instance03_external_net_static_ip: |
| 857 | list_join: |
| 858 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 859 | - [ { get_attr: [subnets, external_net_prefix] }, '203' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 860 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 861 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 862 | |
| 863 | openstack_gtw_cluster: |
| 864 | type: MCP::MultipleInstance |
| 865 | depends_on: [cfg01_node] |
| 866 | properties: |
| 867 | env_name: { get_param: env_name } |
| 868 | mcp_version: { get_param: mcp_version } |
| 869 | instance_domain: {get_param: instance_domain} |
| 870 | instance01_name: gtw01 |
| 871 | instance02_name: gtw02 |
| 872 | instance03_name: gtw03 |
| 873 | instance_flavor: {get_param: gtw_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 874 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 875 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 876 | instance01_control_net_static_ip: |
| 877 | list_join: |
| 878 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 879 | - [ { get_attr: [subnets, control_net_prefix] }, '224' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 880 | instance02_control_net_static_ip: |
| 881 | list_join: |
| 882 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 883 | - [ { get_attr: [subnets, control_net_prefix] }, '225' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 884 | instance03_control_net_static_ip: |
| 885 | list_join: |
| 886 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 887 | - [ { get_attr: [subnets, control_net_prefix] }, '226' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 888 | instance01_tenant_net_static_ip: |
| 889 | list_join: |
| 890 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 891 | - [ { get_attr: [subnets, tenant_net_prefix] }, '224' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 892 | instance02_tenant_net_static_ip: |
| 893 | list_join: |
| 894 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 895 | - [ { get_attr: [subnets, tenant_net_prefix] }, '225' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 896 | instance03_tenant_net_static_ip: |
| 897 | list_join: |
| 898 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 899 | - [ { get_attr: [subnets, tenant_net_prefix] }, '226' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 900 | instance01_external_net_static_ip: |
| 901 | list_join: |
| 902 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 903 | - [ { get_attr: [subnets, external_net_prefix] }, '224' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 904 | instance02_external_net_static_ip: |
| 905 | list_join: |
| 906 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 907 | - [ { get_attr: [subnets, external_net_prefix] }, '225' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 908 | instance03_external_net_static_ip: |
| 909 | list_join: |
| 910 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 911 | - [ { get_attr: [subnets, external_net_prefix] }, '226' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 912 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 913 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 914 | |
| 915 | openstack_barbican_cluster: |
| 916 | type: MCP::MultipleInstance |
| 917 | depends_on: [control_cluster] |
| 918 | properties: |
| 919 | env_name: { get_param: env_name } |
| 920 | mcp_version: { get_param: mcp_version } |
| 921 | instance_domain: {get_param: instance_domain} |
| 922 | instance01_name: kmn01 |
| 923 | instance02_name: kmn02 |
| 924 | instance03_name: kmn03 |
| 925 | instance_flavor: {get_param: kmn_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 926 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 927 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 928 | instance01_control_net_static_ip: |
| 929 | list_join: |
| 930 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 931 | - [ { get_attr: [subnets, control_net_prefix] }, '45' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 932 | instance02_control_net_static_ip: |
| 933 | list_join: |
| 934 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 935 | - [ { get_attr: [subnets, control_net_prefix] }, '46' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 936 | instance03_control_net_static_ip: |
| 937 | list_join: |
| 938 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 939 | - [ { get_attr: [subnets, control_net_prefix] }, '47' ] |
sgudz | 37bf816 | 2019-05-27 18:04:07 +0300 | [diff] [blame] | 940 | instance01_tenant_net_static_ip: |
| 941 | list_join: |
| 942 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 943 | - [ { get_attr: [subnets, tenant_net_prefix] }, '45' ] |
sgudz | 37bf816 | 2019-05-27 18:04:07 +0300 | [diff] [blame] | 944 | instance02_tenant_net_static_ip: |
| 945 | list_join: |
| 946 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 947 | - [ { get_attr: [subnets, tenant_net_prefix] }, '46' ] |
sgudz | 37bf816 | 2019-05-27 18:04:07 +0300 | [diff] [blame] | 948 | instance03_tenant_net_static_ip: |
| 949 | list_join: |
| 950 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 951 | - [ { get_attr: [subnets, tenant_net_prefix] }, '47' ] |
sgudz | 37bf816 | 2019-05-27 18:04:07 +0300 | [diff] [blame] | 952 | instance01_external_net_static_ip: |
| 953 | list_join: |
| 954 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 955 | - [ { get_attr: [subnets, external_net_prefix] }, '45' ] |
sgudz | 37bf816 | 2019-05-27 18:04:07 +0300 | [diff] [blame] | 956 | instance02_external_net_static_ip: |
| 957 | list_join: |
| 958 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 959 | - [ { get_attr: [subnets, external_net_prefix] }, '46' ] |
sgudz | 37bf816 | 2019-05-27 18:04:07 +0300 | [diff] [blame] | 960 | instance03_external_net_static_ip: |
| 961 | list_join: |
| 962 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 963 | - [ { get_attr: [subnets, external_net_prefix] }, '47' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 964 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 965 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 966 | |
| 967 | dns01_virtual: |
| 968 | type: MCP::SingleInstance |
| 969 | depends_on: [control_cluster] |
| 970 | properties: |
| 971 | env_name: { get_param: env_name } |
| 972 | mcp_version: { get_param: mcp_version } |
| 973 | instance_domain: {get_param: instance_domain} |
| 974 | instance_name: dns01 |
| 975 | instance_flavor: {get_param: dns_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 976 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 977 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 978 | control_net_static_ip: |
| 979 | list_join: |
| 980 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 981 | - [ { get_attr: [subnets, control_net_prefix] }, '113' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 982 | tenant_net_static_ip: |
| 983 | list_join: |
| 984 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 985 | - [ { get_attr: [subnets, tenant_net_prefix] }, '113' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 986 | external_net_static_ip: |
| 987 | list_join: |
| 988 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 989 | - [ { get_attr: [subnets, external_net_prefix] }, '113' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 990 | |
| 991 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 992 | |
| 993 | dns02_virtual: |
| 994 | type: MCP::SingleInstance |
| 995 | depends_on: [control_cluster] |
| 996 | properties: |
| 997 | env_name: { get_param: env_name } |
| 998 | mcp_version: { get_param: mcp_version } |
| 999 | instance_domain: {get_param: instance_domain} |
| 1000 | instance_name: dns02 |
| 1001 | instance_flavor: {get_param: dns_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 1002 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 1003 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 1004 | control_net_static_ip: |
| 1005 | list_join: |
| 1006 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 1007 | - [ { get_attr: [subnets, control_net_prefix] }, '114' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 1008 | tenant_net_static_ip: |
| 1009 | list_join: |
| 1010 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 1011 | - [ { get_attr: [subnets, tenant_net_prefix] }, '114' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 1012 | external_net_static_ip: |
| 1013 | list_join: |
| 1014 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 1015 | - [ { get_attr: [subnets, external_net_prefix] }, '114' ] |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 1016 | |
| 1017 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 1018 | |
Tatyana Leontovich | a0c3e73 | 2019-05-27 17:23:55 +0300 | [diff] [blame] | 1019 | openstack_telemetry_cluster: |
| 1020 | type: MCP::MultipleInstance |
| 1021 | depends_on: [control_cluster] |
| 1022 | properties: |
| 1023 | env_name: { get_param: env_name } |
| 1024 | mcp_version: { get_param: mcp_version } |
| 1025 | instance_domain: {get_param: instance_domain} |
| 1026 | instance01_name: mdb01 |
| 1027 | instance02_name: mdb02 |
| 1028 | instance03_name: mdb03 |
| 1029 | instance_flavor: {get_param: mdb_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 1030 | availability_zone: { get_param: vm_availability_zone } |
Tatyana Leontovich | a0c3e73 | 2019-05-27 17:23:55 +0300 | [diff] [blame] | 1031 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 1032 | instance01_control_net_static_ip: |
| 1033 | list_join: |
| 1034 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 1035 | - [ { get_attr: [subnets, control_net_prefix] }, '84' ] |
Tatyana Leontovich | a0c3e73 | 2019-05-27 17:23:55 +0300 | [diff] [blame] | 1036 | instance02_control_net_static_ip: |
| 1037 | list_join: |
| 1038 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 1039 | - [ { get_attr: [subnets, control_net_prefix] }, '85' ] |
Tatyana Leontovich | a0c3e73 | 2019-05-27 17:23:55 +0300 | [diff] [blame] | 1040 | instance03_control_net_static_ip: |
| 1041 | list_join: |
| 1042 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 1043 | - [ { get_attr: [subnets, control_net_prefix] }, '86' ] |
Tatyana Leontovich | a0c3e73 | 2019-05-27 17:23:55 +0300 | [diff] [blame] | 1044 | instance01_tenant_net_static_ip: |
| 1045 | list_join: |
| 1046 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 1047 | - [ { get_attr: [subnets, tenant_net_prefix] }, '84' ] |
Tatyana Leontovich | a0c3e73 | 2019-05-27 17:23:55 +0300 | [diff] [blame] | 1048 | instance02_tenant_net_static_ip: |
| 1049 | list_join: |
| 1050 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 1051 | - [ { get_attr: [subnets, tenant_net_prefix] }, '85' ] |
Tatyana Leontovich | a0c3e73 | 2019-05-27 17:23:55 +0300 | [diff] [blame] | 1052 | instance03_tenant_net_static_ip: |
| 1053 | list_join: |
| 1054 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 1055 | - [ { get_attr: [subnets, tenant_net_prefix] }, '86' ] |
Tatyana Leontovich | a0c3e73 | 2019-05-27 17:23:55 +0300 | [diff] [blame] | 1056 | instance01_external_net_static_ip: |
| 1057 | list_join: |
| 1058 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 1059 | - [ { get_attr: [subnets, external_net_prefix] }, '84' ] |
Tatyana Leontovich | a0c3e73 | 2019-05-27 17:23:55 +0300 | [diff] [blame] | 1060 | instance02_external_net_static_ip: |
| 1061 | list_join: |
| 1062 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 1063 | - [ { get_attr: [subnets, external_net_prefix] }, '85' ] |
Tatyana Leontovich | a0c3e73 | 2019-05-27 17:23:55 +0300 | [diff] [blame] | 1064 | instance03_external_net_static_ip: |
| 1065 | list_join: |
| 1066 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 1067 | - [ { get_attr: [subnets, external_net_prefix] }, '86' ] |
Tatyana Leontovich | a0c3e73 | 2019-05-27 17:23:55 +0300 | [diff] [blame] | 1068 | |
| 1069 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 1070 | |
Hanna Arhipova | 1fc3173 | 2020-10-19 17:19:07 +0300 | [diff] [blame] | 1071 | empty_node: |
| 1072 | type: MCP::SingleInstance2Volumes |
| 1073 | depends_on: [cfg01_node] |
Hanna Arhipova | 31cb1d8 | 2021-01-27 09:41:11 +0200 | [diff] [blame] | 1074 | condition: { get_param: deploy_empty_node } |
Hanna Arhipova | 1fc3173 | 2020-10-19 17:19:07 +0300 | [diff] [blame] | 1075 | properties: |
| 1076 | env_name: { get_param: env_name } |
| 1077 | mcp_version: { get_param: mcp_version } |
| 1078 | instance_domain: {get_param: instance_domain} |
| 1079 | instance_name: xtra |
| 1080 | role: none |
| 1081 | instance_flavor: {get_param: osd_flavor} |
| 1082 | availability_zone: { get_param: vm_availability_zone } |
| 1083 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 1084 | control_net_static_ip: |
| 1085 | list_join: |
| 1086 | - '.' |
| 1087 | - [ { get_attr: [subnets, control_net_prefix] }, '205' ] |
| 1088 | tenant_net_static_ip: |
| 1089 | list_join: |
| 1090 | - '.' |
| 1091 | - [ { get_attr: [subnets, tenant_net_prefix] }, '205' ] |
| 1092 | external_net_static_ip: |
| 1093 | list_join: |
| 1094 | - '.' |
| 1095 | - [ { get_attr: [subnets, external_net_prefix] }, '205' ] |
| 1096 | |
| 1097 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 1098 | |
| 1099 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 1100 | outputs: |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 1101 | foundation_public_ip: |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 1102 | description: foundation node IP address (floating) from external network |
| 1103 | value: |
| 1104 | get_attr: |
| 1105 | - foundation_node |
| 1106 | - instance_floating_address |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 1107 | ... |