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