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