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 |
| 10 | default: heat-cicd-queens-dvr-sl.local |
| 11 | mcp_version: |
| 12 | type: string |
| 13 | env_name: |
| 14 | type: string |
| 15 | control_subnet_cidr: |
| 16 | type: string |
| 17 | management_subnet_cidr: |
| 18 | type: string |
| 19 | management_subnet_pool_start: |
| 20 | type: string |
| 21 | management_subnet_pool_end: |
| 22 | type: string |
| 23 | management_subnet_cfg01_ip: |
| 24 | type: string |
| 25 | management_subnet_gateway_ip: |
| 26 | type: string |
| 27 | |
| 28 | key_pair: |
| 29 | type: string |
| 30 | |
| 31 | ctl_flavor: |
| 32 | type: string |
| 33 | cfg_flavor: |
| 34 | type: string |
| 35 | cid_flavor: |
| 36 | type: string |
| 37 | kvm_fake_flavor: |
| 38 | type: string |
| 39 | dbs_flavor: |
| 40 | type: string |
| 41 | msg_flavor: |
| 42 | type: string |
| 43 | mon_flavor: |
| 44 | type: string |
| 45 | log_flavor: |
| 46 | type: string |
| 47 | mtr_flavor: |
| 48 | type: string |
| 49 | cmp_flavor: |
| 50 | type: string |
| 51 | foundation_flavor: |
| 52 | type: string |
| 53 | cmn_flavor: |
| 54 | type: string |
| 55 | rgw_flavor: |
| 56 | type: string |
| 57 | osd_flavor: |
| 58 | type: string |
| 59 | gtw_flavor: |
| 60 | type: string |
| 61 | dns_flavor: |
| 62 | type: string |
| 63 | kmn_flavor: |
| 64 | type: string |
| 65 | prx_flavor: |
| 66 | type: string |
| 67 | |
| 68 | net_public: |
| 69 | type: string |
| 70 | |
Dennis Dmitriev | cba8612 | 2019-05-24 13:41:46 +0300 | [diff] [blame^] | 71 | foundation_image: |
| 72 | type: string |
| 73 | |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 74 | resources: |
| 75 | networks: |
| 76 | type: MCP::Networks |
| 77 | properties: |
| 78 | stack_name: { get_param: "OS::stack_name" } |
| 79 | env_name: { get_param: env_name } |
| 80 | |
| 81 | #flavors: |
| 82 | # type: MCP::Flavors |
| 83 | |
| 84 | cfg01_node: |
| 85 | type: MCP::MasterNode |
| 86 | depends_on: [networks] |
| 87 | properties: |
| 88 | env_name: { get_param: env_name } |
| 89 | mcp_version: { get_param: mcp_version } |
| 90 | cfg01_flavor: { get_param: cfg_flavor } |
| 91 | instance_name: cfg01 |
| 92 | instance_domain: {get_param: instance_domain} |
| 93 | network: { get_attr: [networks, network] } |
| 94 | |
| 95 | control_cluster: |
| 96 | type: MCP::MultipleInstance |
| 97 | depends_on: [cfg01_node] |
| 98 | properties: |
| 99 | env_name: { get_param: env_name } |
| 100 | mcp_version: { get_param: mcp_version } |
| 101 | instance_domain: {get_param: instance_domain} |
| 102 | instance01_name: ctl01 |
| 103 | instance02_name: ctl02 |
| 104 | instance03_name: ctl03 |
| 105 | instance_flavor: {get_param: ctl_flavor} |
| 106 | network: { get_attr: [networks, network] } |
| 107 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 108 | instance01_control_net_static_ip: |
| 109 | list_join: |
| 110 | - '.' |
| 111 | - [ { get_attr: [networks, control_net_prefix] }, '11' ] |
| 112 | instance02_control_net_static_ip: |
| 113 | list_join: |
| 114 | - '.' |
| 115 | - [ { get_attr: [networks, control_net_prefix] }, '12' ] |
| 116 | instance03_control_net_static_ip: |
| 117 | list_join: |
| 118 | - '.' |
| 119 | - [ { get_attr: [networks, control_net_prefix] }, '13' ] |
| 120 | |
| 121 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 122 | |
| 123 | openstack_database_cluster: |
| 124 | type: MCP::MultipleInstance |
| 125 | depends_on: [control_cluster] |
| 126 | properties: |
| 127 | env_name: { get_param: env_name } |
| 128 | mcp_version: { get_param: mcp_version } |
| 129 | instance_domain: {get_param: instance_domain} |
| 130 | instance01_name: dbs01 |
| 131 | instance02_name: dbs02 |
| 132 | instance03_name: dbs03 |
| 133 | instance_flavor: {get_param: dbs_flavor} |
| 134 | network: { get_attr: [networks, network] } |
| 135 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 136 | instance01_control_net_static_ip: |
| 137 | list_join: |
| 138 | - '.' |
| 139 | - [ { get_attr: [networks, control_net_prefix] }, '51' ] |
| 140 | instance02_control_net_static_ip: |
| 141 | list_join: |
| 142 | - '.' |
| 143 | - [ { get_attr: [networks, control_net_prefix] }, '52' ] |
| 144 | instance03_control_net_static_ip: |
| 145 | list_join: |
| 146 | - '.' |
| 147 | - [ { get_attr: [networks, control_net_prefix] }, '53' ] |
| 148 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 149 | |
| 150 | fake_kvm_cluster: |
| 151 | type: MCP::MultipleInstance |
| 152 | depends_on: [cfg01_node] |
| 153 | properties: |
| 154 | env_name: { get_param: env_name } |
| 155 | mcp_version: { get_param: mcp_version } |
| 156 | instance_domain: {get_param: instance_domain} |
| 157 | instance01_name: kvm01 |
| 158 | instance02_name: kvm02 |
| 159 | instance03_name: kvm03 |
| 160 | instance_flavor: {get_param: kvm_fake_flavor} |
| 161 | network: { get_attr: [networks, network] } |
| 162 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 163 | instance01_control_net_static_ip: |
| 164 | list_join: |
| 165 | - '.' |
| 166 | - [ { get_attr: [networks, control_net_prefix] }, '241' ] |
| 167 | instance02_control_net_static_ip: |
| 168 | list_join: |
| 169 | - '.' |
| 170 | - [ { get_attr: [networks, control_net_prefix] }, '242' ] |
| 171 | instance03_control_net_static_ip: |
| 172 | list_join: |
| 173 | - '.' |
| 174 | - [ { get_attr: [networks, control_net_prefix] }, '243' ] |
| 175 | |
| 176 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 177 | |
| 178 | openstack_message_queue_cluster: |
| 179 | type: MCP::MultipleInstance |
| 180 | depends_on: [openstack_database_cluster] |
| 181 | properties: |
| 182 | env_name: { get_param: env_name } |
| 183 | mcp_version: { get_param: mcp_version } |
| 184 | instance_domain: {get_param: instance_domain} |
| 185 | instance01_name: msg01 |
| 186 | instance02_name: msg02 |
| 187 | instance03_name: msg03 |
| 188 | instance_flavor: {get_param: msg_flavor} |
| 189 | network: { get_attr: [networks, network] } |
| 190 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 191 | instance01_control_net_static_ip: |
| 192 | list_join: |
| 193 | - '.' |
| 194 | - [ { get_attr: [networks, control_net_prefix] }, '41' ] |
| 195 | instance02_control_net_static_ip: |
| 196 | list_join: |
| 197 | - '.' |
| 198 | - [ { get_attr: [networks, control_net_prefix] }, '42' ] |
| 199 | instance03_control_net_static_ip: |
| 200 | list_join: |
| 201 | - '.' |
| 202 | - [ { get_attr: [networks, control_net_prefix] }, '43' ] |
| 203 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 204 | |
| 205 | cicd_cluster: |
| 206 | type: MCP::MultipleInstance |
| 207 | depends_on: [cfg01_node] |
| 208 | properties: |
| 209 | env_name: { get_param: env_name } |
| 210 | mcp_version: { get_param: mcp_version } |
| 211 | instance_domain: {get_param: instance_domain} |
| 212 | instance01_name: cid01 |
| 213 | instance02_name: cid02 |
| 214 | instance03_name: cid03 |
| 215 | instance_flavor: {get_param: cid_flavor} |
| 216 | network: { get_attr: [networks, network] } |
| 217 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 218 | instance01_control_net_static_ip: |
| 219 | list_join: |
| 220 | - '.' |
| 221 | - [ { get_attr: [networks, control_net_prefix] }, '91' ] |
| 222 | instance02_control_net_static_ip: |
| 223 | list_join: |
| 224 | - '.' |
| 225 | - [ { get_attr: [networks, control_net_prefix] }, '92' ] |
| 226 | instance03_control_net_static_ip: |
| 227 | list_join: |
| 228 | - '.' |
| 229 | - [ { get_attr: [networks, control_net_prefix] }, '93' ] |
| 230 | |
| 231 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 232 | |
| 233 | stacklight_monitor_cluster: |
| 234 | type: MCP::MultipleInstance |
| 235 | depends_on: [openstack_message_queue_cluster] |
| 236 | properties: |
| 237 | env_name: { get_param: env_name } |
| 238 | mcp_version: { get_param: mcp_version } |
| 239 | instance_domain: {get_param: instance_domain} |
| 240 | instance01_name: mon01 |
| 241 | instance02_name: mon02 |
| 242 | instance03_name: mon03 |
| 243 | instance_flavor: {get_param: mon_flavor} |
| 244 | network: { get_attr: [networks, network] } |
| 245 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 246 | instance01_control_net_static_ip: |
| 247 | list_join: |
| 248 | - '.' |
| 249 | - [ { get_attr: [networks, control_net_prefix] }, '71' ] |
| 250 | instance02_control_net_static_ip: |
| 251 | list_join: |
| 252 | - '.' |
| 253 | - [ { get_attr: [networks, control_net_prefix] }, '72' ] |
| 254 | instance03_control_net_static_ip: |
| 255 | list_join: |
| 256 | - '.' |
| 257 | - [ { get_attr: [networks, control_net_prefix] }, '73' ] |
| 258 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 259 | |
| 260 | stacklight_log_cluster: |
| 261 | type: MCP::MultipleInstance |
| 262 | depends_on: [stacklight_monitor_cluster] |
| 263 | properties: |
| 264 | env_name: { get_param: env_name } |
| 265 | mcp_version: { get_param: mcp_version } |
| 266 | instance_domain: {get_param: instance_domain} |
| 267 | instance01_name: log01 |
| 268 | instance02_name: log02 |
| 269 | instance03_name: log03 |
| 270 | instance_flavor: {get_param: log_flavor} |
| 271 | network: { get_attr: [networks, network] } |
| 272 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 273 | instance01_control_net_static_ip: |
| 274 | list_join: |
| 275 | - '.' |
| 276 | - [ { get_attr: [networks, control_net_prefix] }, '61' ] |
| 277 | instance02_control_net_static_ip: |
| 278 | list_join: |
| 279 | - '.' |
| 280 | - [ { get_attr: [networks, control_net_prefix] }, '62' ] |
| 281 | instance03_control_net_static_ip: |
| 282 | list_join: |
| 283 | - '.' |
| 284 | - [ { get_attr: [networks, control_net_prefix] }, '63' ] |
| 285 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 286 | |
| 287 | stacklight_mtr_cluster: |
| 288 | type: MCP::MultipleInstance |
| 289 | depends_on: [stacklight_log_cluster] |
| 290 | properties: |
| 291 | env_name: { get_param: env_name } |
| 292 | mcp_version: { get_param: mcp_version } |
| 293 | instance_domain: {get_param: instance_domain} |
| 294 | instance01_name: mtr01 |
| 295 | instance02_name: mtr02 |
| 296 | instance03_name: mtr03 |
| 297 | instance_flavor: {get_param: mtr_flavor} |
| 298 | network: { get_attr: [networks, network] } |
| 299 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 300 | instance01_control_net_static_ip: |
| 301 | list_join: |
| 302 | - '.' |
| 303 | - [ { get_attr: [networks, control_net_prefix] }, '97' ] |
| 304 | instance02_control_net_static_ip: |
| 305 | list_join: |
| 306 | - '.' |
| 307 | - [ { get_attr: [networks, control_net_prefix] }, '98' ] |
| 308 | instance03_control_net_static_ip: |
| 309 | list_join: |
| 310 | - '.' |
| 311 | - [ { get_attr: [networks, control_net_prefix] }, '99' ] |
| 312 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 313 | |
| 314 | prx01_virtual: |
| 315 | type: MCP::SingleInstance |
| 316 | depends_on: [control_cluster] |
| 317 | properties: |
| 318 | env_name: { get_param: env_name } |
| 319 | mcp_version: { get_param: mcp_version } |
| 320 | instance_domain: {get_param: instance_domain} |
| 321 | instance_name: prx01 |
| 322 | instance_flavor: {get_param: prx_flavor} |
| 323 | network: { get_attr: [networks, network] } |
| 324 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 325 | control_net_static_ip: |
| 326 | list_join: |
| 327 | - '.' |
| 328 | - [ { get_attr: [networks, control_net_prefix] }, '81' ] |
| 329 | |
| 330 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 331 | |
| 332 | prx02_virtual: |
| 333 | type: MCP::SingleInstance |
| 334 | depends_on: [control_cluster] |
| 335 | properties: |
| 336 | env_name: { get_param: env_name } |
| 337 | mcp_version: { get_param: mcp_version } |
| 338 | instance_domain: {get_param: instance_domain} |
| 339 | instance_name: prx02 |
| 340 | instance_flavor: {get_param: prx_flavor} |
| 341 | network: { get_attr: [networks, network] } |
| 342 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 343 | control_net_static_ip: |
| 344 | list_join: |
| 345 | - '.' |
| 346 | - [ { get_attr: [networks, control_net_prefix] }, '82' ] |
| 347 | |
| 348 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 349 | |
| 350 | cmp001_virtual: |
| 351 | type: MCP::Compute |
| 352 | depends_on: [cfg01_node] |
| 353 | properties: |
| 354 | env_name: { get_param: env_name } |
| 355 | mcp_version: { get_param: mcp_version } |
| 356 | instance_domain: {get_param: instance_domain} |
| 357 | instance_name: cmp001 |
| 358 | instance_flavor: {get_param: cmp_flavor} |
| 359 | network: { get_attr: [networks, network] } |
| 360 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 361 | control_net_static_ip: |
| 362 | list_join: |
| 363 | - '.' |
| 364 | - [ { get_attr: [networks, control_net_prefix] }, '101' ] |
| 365 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 366 | |
| 367 | cmp002_virtual: |
| 368 | type: MCP::Compute |
| 369 | depends_on: [cfg01_node] |
| 370 | properties: |
| 371 | env_name: { get_param: env_name } |
| 372 | mcp_version: { get_param: mcp_version } |
| 373 | instance_domain: {get_param: instance_domain} |
| 374 | instance_name: cmp002 |
| 375 | instance_flavor: {get_param: cmp_flavor} |
| 376 | network: { get_attr: [networks, network] } |
| 377 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 378 | control_net_static_ip: |
| 379 | list_join: |
| 380 | - '.' |
| 381 | - [ { get_attr: [networks, control_net_prefix] }, '102' ] |
| 382 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 383 | |
| 384 | foundation_node: |
| 385 | type: MCP::FoundationNode |
| 386 | depends_on: [networks] |
| 387 | properties: |
| 388 | env_name: { get_param: env_name } |
| 389 | mcp_version: { get_param: mcp_version } |
| 390 | instance_domain: {get_param: instance_domain} |
| 391 | instance_name: foundation |
Dennis Dmitriev | cba8612 | 2019-05-24 13:41:46 +0300 | [diff] [blame^] | 392 | instance_image: { get_param: foundation_image } |
Tatyana Leontovich | 1e063f0 | 2019-05-08 15:06:33 +0300 | [diff] [blame] | 393 | instance_flavor: {get_param: foundation_flavor} |
| 394 | network: { get_attr: [networks, network] } |
| 395 | underlay_userdata: { get_file: ./underlay--user-data-foundation.yaml } |
| 396 | control_net_static_ip: |
| 397 | list_join: |
| 398 | - '.' |
| 399 | - [ { get_attr: [networks, control_net_prefix] }, '5' ] |
| 400 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 401 | |
| 402 | ceph_cmn_cluster: |
| 403 | type: MCP::MultipleInstance |
| 404 | depends_on: [cfg01_node] |
| 405 | properties: |
| 406 | env_name: { get_param: env_name } |
| 407 | mcp_version: { get_param: mcp_version } |
| 408 | instance_domain: {get_param: instance_domain} |
| 409 | instance01_name: cmn01 |
| 410 | instance02_name: cmn02 |
| 411 | instance03_name: cmn03 |
| 412 | instance_flavor: {get_param: cmn_flavor} |
| 413 | network: { get_attr: [networks, network] } |
| 414 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 415 | instance01_control_net_static_ip: |
| 416 | list_join: |
| 417 | - '.' |
| 418 | - [ { get_attr: [networks, control_net_prefix] }, '66' ] |
| 419 | instance02_control_net_static_ip: |
| 420 | list_join: |
| 421 | - '.' |
| 422 | - [ { get_attr: [networks, control_net_prefix] }, '67' ] |
| 423 | instance03_control_net_static_ip: |
| 424 | list_join: |
| 425 | - '.' |
| 426 | - [ { get_attr: [networks, control_net_prefix] }, '68' ] |
| 427 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 428 | |
| 429 | ceph_rgw_cluster: |
| 430 | type: MCP::MultipleInstance |
| 431 | depends_on: [cfg01_node] |
| 432 | properties: |
| 433 | env_name: { get_param: env_name } |
| 434 | mcp_version: { get_param: mcp_version } |
| 435 | instance_domain: {get_param: instance_domain} |
| 436 | instance01_name: rgw01 |
| 437 | instance02_name: rgw02 |
| 438 | instance03_name: rgw03 |
| 439 | instance_flavor: {get_param: rgw_flavor} |
| 440 | network: { get_attr: [networks, network] } |
| 441 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 442 | instance01_control_net_static_ip: |
| 443 | list_join: |
| 444 | - '.' |
| 445 | - [ { get_attr: [networks, control_net_prefix] }, '76' ] |
| 446 | instance02_control_net_static_ip: |
| 447 | list_join: |
| 448 | - '.' |
| 449 | - [ { get_attr: [networks, control_net_prefix] }, '77' ] |
| 450 | instance03_control_net_static_ip: |
| 451 | list_join: |
| 452 | - '.' |
| 453 | - [ { get_attr: [networks, control_net_prefix] }, '78' ] |
| 454 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 455 | |
| 456 | ceph_osd_cluster: |
| 457 | type: MCP::MultipleInstance |
| 458 | depends_on: [cfg01_node] |
| 459 | properties: |
| 460 | env_name: { get_param: env_name } |
| 461 | mcp_version: { get_param: mcp_version } |
| 462 | instance_domain: {get_param: instance_domain} |
| 463 | instance01_name: osd001 |
| 464 | instance02_name: osd002 |
| 465 | instance03_name: osd003 |
| 466 | instance_flavor: {get_param: osd_flavor} |
| 467 | network: { get_attr: [networks, network] } |
| 468 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 469 | instance01_control_net_static_ip: |
| 470 | list_join: |
| 471 | - '.' |
| 472 | - [ { get_attr: [networks, control_net_prefix] }, '201' ] |
| 473 | instance02_control_net_static_ip: |
| 474 | list_join: |
| 475 | - '.' |
| 476 | - [ { get_attr: [networks, control_net_prefix] }, '202' ] |
| 477 | instance03_control_net_static_ip: |
| 478 | list_join: |
| 479 | - '.' |
| 480 | - [ { get_attr: [networks, control_net_prefix] }, '203' ] |
| 481 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 482 | |
| 483 | openstack_gtw_cluster: |
| 484 | type: MCP::MultipleInstance |
| 485 | depends_on: [cfg01_node] |
| 486 | properties: |
| 487 | env_name: { get_param: env_name } |
| 488 | mcp_version: { get_param: mcp_version } |
| 489 | instance_domain: {get_param: instance_domain} |
| 490 | instance01_name: gtw01 |
| 491 | instance02_name: gtw02 |
| 492 | instance03_name: gtw03 |
| 493 | instance_flavor: {get_param: gtw_flavor} |
| 494 | network: { get_attr: [networks, network] } |
| 495 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 496 | instance01_control_net_static_ip: |
| 497 | list_join: |
| 498 | - '.' |
| 499 | - [ { get_attr: [networks, control_net_prefix] }, '224' ] |
| 500 | instance02_control_net_static_ip: |
| 501 | list_join: |
| 502 | - '.' |
| 503 | - [ { get_attr: [networks, control_net_prefix] }, '225' ] |
| 504 | instance03_control_net_static_ip: |
| 505 | list_join: |
| 506 | - '.' |
| 507 | - [ { get_attr: [networks, control_net_prefix] }, '226' ] |
| 508 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 509 | |
| 510 | openstack_barbican_cluster: |
| 511 | type: MCP::MultipleInstance |
| 512 | depends_on: [control_cluster] |
| 513 | properties: |
| 514 | env_name: { get_param: env_name } |
| 515 | mcp_version: { get_param: mcp_version } |
| 516 | instance_domain: {get_param: instance_domain} |
| 517 | instance01_name: kmn01 |
| 518 | instance02_name: kmn02 |
| 519 | instance03_name: kmn03 |
| 520 | instance_flavor: {get_param: kmn_flavor} |
| 521 | network: { get_attr: [networks, network] } |
| 522 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 523 | instance01_control_net_static_ip: |
| 524 | list_join: |
| 525 | - '.' |
| 526 | - [ { get_attr: [networks, control_net_prefix] }, '45' ] |
| 527 | instance02_control_net_static_ip: |
| 528 | list_join: |
| 529 | - '.' |
| 530 | - [ { get_attr: [networks, control_net_prefix] }, '46' ] |
| 531 | instance03_control_net_static_ip: |
| 532 | list_join: |
| 533 | - '.' |
| 534 | - [ { get_attr: [networks, control_net_prefix] }, '47' ] |
| 535 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 536 | |
| 537 | dns01_virtual: |
| 538 | type: MCP::SingleInstance |
| 539 | depends_on: [control_cluster] |
| 540 | properties: |
| 541 | env_name: { get_param: env_name } |
| 542 | mcp_version: { get_param: mcp_version } |
| 543 | instance_domain: {get_param: instance_domain} |
| 544 | instance_name: dns01 |
| 545 | instance_flavor: {get_param: dns_flavor} |
| 546 | network: { get_attr: [networks, network] } |
| 547 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 548 | control_net_static_ip: |
| 549 | list_join: |
| 550 | - '.' |
| 551 | - [ { get_attr: [networks, control_net_prefix] }, '113' ] |
| 552 | |
| 553 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 554 | |
| 555 | dns02_virtual: |
| 556 | type: MCP::SingleInstance |
| 557 | depends_on: [control_cluster] |
| 558 | properties: |
| 559 | env_name: { get_param: env_name } |
| 560 | mcp_version: { get_param: mcp_version } |
| 561 | instance_domain: {get_param: instance_domain} |
| 562 | instance_name: dns02 |
| 563 | instance_flavor: {get_param: dns_flavor} |
| 564 | network: { get_attr: [networks, network] } |
| 565 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 566 | control_net_static_ip: |
| 567 | list_join: |
| 568 | - '.' |
| 569 | - [ { get_attr: [networks, control_net_prefix] }, '114' ] |
| 570 | |
| 571 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 572 | |
| 573 | outputs: |
| 574 | |
| 575 | control_subnet_cidr: |
| 576 | description: Control network CIDR |
| 577 | value: { get_param: control_subnet_cidr } |
| 578 | |
| 579 | management_subnet_cidr: |
| 580 | description: Admin network CIDR |
| 581 | value: { get_param: management_subnet_cidr } |
| 582 | |
| 583 | foundation_floating: |
| 584 | description: foundation node IP address (floating) from external network |
| 585 | value: |
| 586 | get_attr: |
| 587 | - foundation_node |
| 588 | - instance_floating_address |
| 589 | ... |