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