sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 1 | --- |
| 2 | |
| 3 | heat_template_version: queens |
| 4 | |
| 5 | description: MCP environment for heat-cicd-k8s-contrail41-sl |
| 6 | |
| 7 | parameters: |
| 8 | instance_domain: |
| 9 | type: string |
| 10 | default: heat-cicd-k8s-contrail41-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" |
sgudz | e844272 | 2019-05-08 10:38:04 +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" |
sgudz | e844272 | 2019-05-08 10:38:04 +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 |
sgudz | e844272 | 2019-05-08 10:38:04 +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 |
sgudz | e844272 | 2019-05-08 10:38:04 +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 | mon_flavor: |
| 55 | type: string |
| 56 | log_flavor: |
| 57 | type: string |
| 58 | mtr_flavor: |
| 59 | type: string |
| 60 | cmp_flavor: |
| 61 | type: string |
| 62 | cmn_flavor: |
| 63 | type: string |
| 64 | rgw_flavor: |
| 65 | type: string |
| 66 | osd_flavor: |
| 67 | type: string |
| 68 | foundation_flavor: |
| 69 | type: string |
| 70 | |
| 71 | net_public: |
| 72 | type: string |
| 73 | |
Dennis Dmitriev | cba8612 | 2019-05-24 13:41:46 +0300 | [diff] [blame] | 74 | foundation_image: |
| 75 | type: string |
| 76 | |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 77 | bm_availability_zone: |
| 78 | type: string |
| 79 | vm_availability_zone: |
| 80 | type: string |
| 81 | |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 82 | resources: |
| 83 | networks: |
| 84 | type: MCP::Networks |
| 85 | properties: |
| 86 | stack_name: { get_param: "OS::stack_name" } |
| 87 | env_name: { get_param: env_name } |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 88 | subnets: |
| 89 | depends_on: [networks] |
| 90 | type: MCP::Subnets |
| 91 | properties: |
| 92 | stack_name: { get_param: "OS::stack_name" } |
| 93 | env_name: { get_param: env_name } |
| 94 | management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] } |
| 95 | control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] } |
| 96 | tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] } |
| 97 | external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] } |
sgudz | c9f50d1 | 2019-05-31 14:25:34 +0300 | [diff] [blame] | 98 | control_subnet_cidr: { get_param: control_subnet_cidr } |
| 99 | tenant_subnet_cidr: { get_param: tenant_subnet_cidr } |
| 100 | external_subnet_cidr: { get_param: external_subnet_cidr } |
| 101 | management_subnet_cidr: { get_param: management_subnet_cidr } |
| 102 | management_subnet_gateway_ip: { get_param: management_subnet_gateway_ip } |
| 103 | management_subnet_pool_start: { get_param: management_subnet_pool_start } |
| 104 | management_subnet_pool_end: { get_param: management_subnet_pool_end } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 105 | |
| 106 | #flavors: |
| 107 | # type: MCP::Flavors |
| 108 | |
| 109 | cfg01_node: |
| 110 | type: MCP::MasterNode |
sgudz | 22628a3 | 2019-06-12 11:34:04 +0300 | [diff] [blame] | 111 | depends_on: [subnets] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 112 | properties: |
| 113 | env_name: { get_param: env_name } |
| 114 | mcp_version: { get_param: mcp_version } |
| 115 | cfg01_flavor: { get_param: cfg_flavor } |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 116 | availability_zone: { get_param: bm_availability_zone } |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 117 | management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] } |
| 118 | control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] } |
| 119 | tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] } |
| 120 | external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] } |
sgudz | c9f50d1 | 2019-05-31 14:25:34 +0300 | [diff] [blame] | 121 | salt_master_control_ip: { get_param: salt_master_control_ip } |
| 122 | management_subnet_cfg01_ip: { get_param: management_subnet_cfg01_ip } |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 123 | tenant_net_static_ip: |
| 124 | list_join: |
| 125 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 126 | - [ { get_attr: [subnets, tenant_net_prefix] }, '15' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 127 | external_net_static_ip: |
| 128 | list_join: |
| 129 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 130 | - [ { get_attr: [subnets, external_net_prefix] }, '15' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 131 | instance_name: cfg01 |
| 132 | instance_domain: {get_param: instance_domain} |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 133 | |
| 134 | control_cluster: |
| 135 | type: MCP::MultipleInstance |
| 136 | depends_on: [cfg01_node] |
| 137 | properties: |
| 138 | env_name: { get_param: env_name } |
| 139 | mcp_version: { get_param: mcp_version } |
| 140 | instance_domain: {get_param: instance_domain} |
| 141 | instance01_name: ctl01 |
| 142 | instance02_name: ctl02 |
| 143 | instance03_name: ctl03 |
sgudz | 917e8d9 | 2019-05-21 16:20:02 +0300 | [diff] [blame] | 144 | instance01_role: k8s_controller |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 145 | instance_flavor: {get_param: ctl_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 146 | availability_zone: { get_param: vm_availability_zone } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 147 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 148 | instance01_control_net_static_ip: |
| 149 | list_join: |
| 150 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 151 | - [ { get_attr: [subnets, control_net_prefix] }, '11' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 152 | instance02_control_net_static_ip: |
| 153 | list_join: |
| 154 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 155 | - [ { get_attr: [subnets, control_net_prefix] }, '12' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 156 | instance03_control_net_static_ip: |
| 157 | list_join: |
| 158 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 159 | - [ { get_attr: [subnets, control_net_prefix] }, '13' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 160 | instance01_tenant_net_static_ip: |
| 161 | list_join: |
| 162 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 163 | - [ { get_attr: [subnets, tenant_net_prefix] }, '11' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 164 | instance02_tenant_net_static_ip: |
| 165 | list_join: |
| 166 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 167 | - [ { get_attr: [subnets, tenant_net_prefix] }, '12' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 168 | instance03_tenant_net_static_ip: |
| 169 | list_join: |
| 170 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 171 | - [ { get_attr: [subnets, tenant_net_prefix] }, '13' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 172 | instance01_external_net_static_ip: |
| 173 | list_join: |
| 174 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 175 | - [ { get_attr: [subnets, external_net_prefix] }, '11' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 176 | instance02_external_net_static_ip: |
| 177 | list_join: |
| 178 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 179 | - [ { get_attr: [subnets, external_net_prefix] }, '12' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 180 | instance03_external_net_static_ip: |
| 181 | list_join: |
| 182 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 183 | - [ { get_attr: [subnets, external_net_prefix] }, '13' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 184 | |
| 185 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 186 | |
| 187 | fake_kvm_cluster: |
| 188 | type: MCP::MultipleInstance |
| 189 | depends_on: [cfg01_node] |
| 190 | properties: |
| 191 | env_name: { get_param: env_name } |
| 192 | mcp_version: { get_param: mcp_version } |
| 193 | instance_domain: {get_param: instance_domain} |
| 194 | instance01_name: kvm01 |
| 195 | instance02_name: kvm02 |
| 196 | instance03_name: kvm03 |
| 197 | instance_flavor: {get_param: kvm_fake_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 198 | availability_zone: { get_param: vm_availability_zone } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 199 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 200 | instance01_control_net_static_ip: |
| 201 | list_join: |
| 202 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 203 | - [ { get_attr: [subnets, control_net_prefix] }, '241' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 204 | instance02_control_net_static_ip: |
| 205 | list_join: |
| 206 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 207 | - [ { get_attr: [subnets, control_net_prefix] }, '242' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 208 | instance03_control_net_static_ip: |
| 209 | list_join: |
| 210 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 211 | - [ { get_attr: [subnets, control_net_prefix] }, '243' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 212 | instance01_tenant_net_static_ip: |
| 213 | list_join: |
| 214 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 215 | - [ { get_attr: [subnets, tenant_net_prefix] }, '241' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 216 | instance02_tenant_net_static_ip: |
| 217 | list_join: |
| 218 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 219 | - [ { get_attr: [subnets, tenant_net_prefix] }, '242' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 220 | instance03_tenant_net_static_ip: |
| 221 | list_join: |
| 222 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 223 | - [ { get_attr: [subnets, tenant_net_prefix] }, '243' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 224 | instance01_external_net_static_ip: |
| 225 | list_join: |
| 226 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 227 | - [ { get_attr: [subnets, external_net_prefix] }, '241' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 228 | instance02_external_net_static_ip: |
| 229 | list_join: |
| 230 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 231 | - [ { get_attr: [subnets, external_net_prefix] }, '242' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 232 | instance03_external_net_static_ip: |
| 233 | list_join: |
| 234 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 235 | - [ { get_attr: [subnets, external_net_prefix] }, '243' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 236 | |
| 237 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 238 | |
| 239 | cicd_cluster: |
| 240 | type: MCP::MultipleInstance |
| 241 | depends_on: [cfg01_node] |
| 242 | properties: |
| 243 | env_name: { get_param: env_name } |
| 244 | mcp_version: { get_param: mcp_version } |
| 245 | instance_domain: {get_param: instance_domain} |
| 246 | instance01_name: cid01 |
| 247 | instance02_name: cid02 |
| 248 | instance03_name: cid03 |
| 249 | instance_flavor: {get_param: cid_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 250 | availability_zone: { get_param: vm_availability_zone } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 251 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 252 | instance01_control_net_static_ip: |
| 253 | list_join: |
| 254 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 255 | - [ { get_attr: [subnets, control_net_prefix] }, '91' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 256 | instance02_control_net_static_ip: |
| 257 | list_join: |
| 258 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 259 | - [ { get_attr: [subnets, control_net_prefix] }, '92' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 260 | instance03_control_net_static_ip: |
| 261 | list_join: |
| 262 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 263 | - [ { get_attr: [subnets, control_net_prefix] }, '93' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 264 | instance01_tenant_net_static_ip: |
| 265 | list_join: |
| 266 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 267 | - [ { get_attr: [subnets, tenant_net_prefix] }, '91' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 268 | instance02_tenant_net_static_ip: |
| 269 | list_join: |
| 270 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 271 | - [ { get_attr: [subnets, tenant_net_prefix] }, '92' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 272 | instance03_tenant_net_static_ip: |
| 273 | list_join: |
| 274 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 275 | - [ { get_attr: [subnets, tenant_net_prefix] }, '93' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 276 | instance01_external_net_static_ip: |
| 277 | list_join: |
| 278 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 279 | - [ { get_attr: [subnets, external_net_prefix] }, '91' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 280 | instance02_external_net_static_ip: |
| 281 | list_join: |
| 282 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 283 | - [ { get_attr: [subnets, external_net_prefix] }, '92' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 284 | instance03_external_net_static_ip: |
| 285 | list_join: |
| 286 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 287 | - [ { get_attr: [subnets, external_net_prefix] }, '93' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 288 | |
| 289 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 290 | |
| 291 | stacklight_monitor_cluster: |
| 292 | type: MCP::MultipleInstance |
| 293 | depends_on: [openstack_message_queue_cluster] |
| 294 | properties: |
| 295 | env_name: { get_param: env_name } |
| 296 | mcp_version: { get_param: mcp_version } |
| 297 | instance_domain: {get_param: instance_domain} |
| 298 | instance01_name: mon01 |
| 299 | instance02_name: mon02 |
| 300 | instance03_name: mon03 |
| 301 | instance_flavor: {get_param: mon_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 302 | availability_zone: { get_param: vm_availability_zone } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 303 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 304 | instance01_control_net_static_ip: |
| 305 | list_join: |
| 306 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 307 | - [ { get_attr: [subnets, control_net_prefix] }, '71' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 308 | instance02_control_net_static_ip: |
| 309 | list_join: |
| 310 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 311 | - [ { get_attr: [subnets, control_net_prefix] }, '72' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 312 | instance03_control_net_static_ip: |
| 313 | list_join: |
| 314 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 315 | - [ { get_attr: [subnets, control_net_prefix] }, '73' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 316 | instance01_tenant_net_static_ip: |
| 317 | list_join: |
| 318 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 319 | - [ { get_attr: [subnets, tenant_net_prefix] }, '71' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 320 | instance02_tenant_net_static_ip: |
| 321 | list_join: |
| 322 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 323 | - [ { get_attr: [subnets, tenant_net_prefix] }, '72' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 324 | instance03_tenant_net_static_ip: |
| 325 | list_join: |
| 326 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 327 | - [ { get_attr: [subnets, tenant_net_prefix] }, '73' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 328 | instance01_external_net_static_ip: |
| 329 | list_join: |
| 330 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 331 | - [ { get_attr: [subnets, external_net_prefix] }, '71' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 332 | instance02_external_net_static_ip: |
| 333 | list_join: |
| 334 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 335 | - [ { get_attr: [subnets, external_net_prefix] }, '72' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 336 | instance03_external_net_static_ip: |
| 337 | list_join: |
| 338 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 339 | - [ { get_attr: [subnets, external_net_prefix] }, '73' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 340 | |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 341 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 342 | |
| 343 | stacklight_log_cluster: |
| 344 | type: MCP::MultipleInstance |
| 345 | depends_on: [stacklight_monitor_cluster] |
| 346 | properties: |
| 347 | env_name: { get_param: env_name } |
| 348 | mcp_version: { get_param: mcp_version } |
| 349 | instance_domain: {get_param: instance_domain} |
| 350 | instance01_name: log01 |
| 351 | instance02_name: log02 |
| 352 | instance03_name: log03 |
| 353 | instance_flavor: {get_param: log_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 354 | availability_zone: { get_param: vm_availability_zone } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 355 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 356 | instance01_control_net_static_ip: |
| 357 | list_join: |
| 358 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 359 | - [ { get_attr: [subnets, control_net_prefix] }, '61' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 360 | instance02_control_net_static_ip: |
| 361 | list_join: |
| 362 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 363 | - [ { get_attr: [subnets, control_net_prefix] }, '62' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 364 | instance03_control_net_static_ip: |
| 365 | list_join: |
| 366 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 367 | - [ { get_attr: [subnets, control_net_prefix] }, '63' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 368 | instance01_tenant_net_static_ip: |
| 369 | list_join: |
| 370 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 371 | - [ { get_attr: [subnets, tenant_net_prefix] }, '61' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 372 | instance02_tenant_net_static_ip: |
| 373 | list_join: |
| 374 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 375 | - [ { get_attr: [subnets, tenant_net_prefix] }, '62' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 376 | instance03_tenant_net_static_ip: |
| 377 | list_join: |
| 378 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 379 | - [ { get_attr: [subnets, tenant_net_prefix] }, '63' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 380 | instance01_external_net_static_ip: |
| 381 | list_join: |
| 382 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 383 | - [ { get_attr: [subnets, external_net_prefix] }, '61' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 384 | instance02_external_net_static_ip: |
| 385 | list_join: |
| 386 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 387 | - [ { get_attr: [subnets, external_net_prefix] }, '62' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 388 | instance03_external_net_static_ip: |
| 389 | list_join: |
| 390 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 391 | - [ { get_attr: [subnets, external_net_prefix] }, '63' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 392 | |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 393 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 394 | |
| 395 | stacklight_mtr_cluster: |
| 396 | type: MCP::MultipleInstance |
| 397 | depends_on: [stacklight_log_cluster] |
| 398 | properties: |
| 399 | env_name: { get_param: env_name } |
| 400 | mcp_version: { get_param: mcp_version } |
| 401 | instance_domain: {get_param: instance_domain} |
| 402 | instance01_name: mtr01 |
| 403 | instance02_name: mtr02 |
| 404 | instance03_name: mtr03 |
| 405 | instance_flavor: {get_param: mtr_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 406 | availability_zone: { get_param: vm_availability_zone } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 407 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 408 | instance01_control_net_static_ip: |
| 409 | list_join: |
| 410 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 411 | - [ { get_attr: [subnets, control_net_prefix] }, '86' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 412 | instance02_control_net_static_ip: |
| 413 | list_join: |
| 414 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 415 | - [ { get_attr: [subnets, control_net_prefix] }, '87' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 416 | instance03_control_net_static_ip: |
| 417 | list_join: |
| 418 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 419 | - [ { get_attr: [subnets, control_net_prefix] }, '88' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 420 | instance01_tenant_net_static_ip: |
| 421 | list_join: |
| 422 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 423 | - [ { get_attr: [subnets, tenant_net_prefix] }, '86' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 424 | instance02_tenant_net_static_ip: |
| 425 | list_join: |
| 426 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 427 | - [ { get_attr: [subnets, tenant_net_prefix] }, '87' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 428 | instance03_tenant_net_static_ip: |
| 429 | list_join: |
| 430 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 431 | - [ { get_attr: [subnets, tenant_net_prefix] }, '88' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 432 | instance01_external_net_static_ip: |
| 433 | list_join: |
| 434 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 435 | - [ { get_attr: [subnets, external_net_prefix] }, '86' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 436 | instance02_external_net_static_ip: |
| 437 | list_join: |
| 438 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 439 | - [ { get_attr: [subnets, external_net_prefix] }, '87' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 440 | instance03_external_net_static_ip: |
| 441 | list_join: |
| 442 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 443 | - [ { get_attr: [subnets, external_net_prefix] }, '88' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 444 | |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 445 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 446 | |
| 447 | ceph_cmn_cluster: |
| 448 | type: MCP::MultipleInstance |
| 449 | depends_on: [cfg01_node] |
| 450 | properties: |
| 451 | env_name: { get_param: env_name } |
| 452 | mcp_version: { get_param: mcp_version } |
| 453 | instance_domain: {get_param: instance_domain} |
| 454 | instance01_name: cmn01 |
| 455 | instance02_name: cmn02 |
| 456 | instance03_name: cmn03 |
| 457 | instance_flavor: {get_param: cmn_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 458 | availability_zone: { get_param: vm_availability_zone } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 459 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 460 | instance01_control_net_static_ip: |
| 461 | list_join: |
| 462 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 463 | - [ { get_attr: [subnets, control_net_prefix] }, '66' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 464 | instance02_control_net_static_ip: |
| 465 | list_join: |
| 466 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 467 | - [ { get_attr: [subnets, control_net_prefix] }, '67' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 468 | instance03_control_net_static_ip: |
| 469 | list_join: |
| 470 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 471 | - [ { get_attr: [subnets, control_net_prefix] }, '68' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 472 | instance01_tenant_net_static_ip: |
| 473 | list_join: |
| 474 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 475 | - [ { get_attr: [subnets, tenant_net_prefix] }, '66' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 476 | instance02_tenant_net_static_ip: |
| 477 | list_join: |
| 478 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 479 | - [ { get_attr: [subnets, tenant_net_prefix] }, '67' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 480 | instance03_tenant_net_static_ip: |
| 481 | list_join: |
| 482 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 483 | - [ { get_attr: [subnets, tenant_net_prefix] }, '68' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 484 | instance01_external_net_static_ip: |
| 485 | list_join: |
| 486 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 487 | - [ { get_attr: [subnets, external_net_prefix] }, '66' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 488 | instance02_external_net_static_ip: |
| 489 | list_join: |
| 490 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 491 | - [ { get_attr: [subnets, external_net_prefix] }, '67' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 492 | instance03_external_net_static_ip: |
| 493 | list_join: |
| 494 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 495 | - [ { get_attr: [subnets, external_net_prefix] }, '68' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 496 | |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 497 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 498 | |
| 499 | ceph_rgw_cluster: |
| 500 | type: MCP::MultipleInstance |
| 501 | depends_on: [cfg01_node] |
| 502 | properties: |
| 503 | env_name: { get_param: env_name } |
| 504 | mcp_version: { get_param: mcp_version } |
| 505 | instance_domain: {get_param: instance_domain} |
| 506 | instance01_name: rgw01 |
| 507 | instance02_name: rgw02 |
| 508 | instance03_name: rgw03 |
| 509 | instance_flavor: {get_param: rgw_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 510 | availability_zone: { get_param: vm_availability_zone } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 511 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 512 | instance01_control_net_static_ip: |
| 513 | list_join: |
| 514 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 515 | - [ { get_attr: [subnets, control_net_prefix] }, '76' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 516 | instance02_control_net_static_ip: |
| 517 | list_join: |
| 518 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 519 | - [ { get_attr: [subnets, control_net_prefix] }, '77' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 520 | instance03_control_net_static_ip: |
| 521 | list_join: |
| 522 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 523 | - [ { get_attr: [subnets, control_net_prefix] }, '78' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 524 | instance01_tenant_net_static_ip: |
| 525 | list_join: |
| 526 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 527 | - [ { get_attr: [subnets, tenant_net_prefix] }, '76' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 528 | instance02_tenant_net_static_ip: |
| 529 | list_join: |
| 530 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 531 | - [ { get_attr: [subnets, tenant_net_prefix] }, '77' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 532 | instance03_tenant_net_static_ip: |
| 533 | list_join: |
| 534 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 535 | - [ { get_attr: [subnets, tenant_net_prefix] }, '78' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 536 | instance01_external_net_static_ip: |
| 537 | list_join: |
| 538 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 539 | - [ { get_attr: [subnets, external_net_prefix] }, '76' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 540 | instance02_external_net_static_ip: |
| 541 | list_join: |
| 542 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 543 | - [ { get_attr: [subnets, external_net_prefix] }, '77' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 544 | instance03_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] }, '78' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 548 | |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 549 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 550 | |
| 551 | ceph_osd_cluster: |
| 552 | type: MCP::MultipleInstance |
| 553 | depends_on: [cfg01_node] |
| 554 | properties: |
| 555 | env_name: { get_param: env_name } |
| 556 | mcp_version: { get_param: mcp_version } |
| 557 | instance_domain: {get_param: instance_domain} |
| 558 | instance01_name: osd001 |
| 559 | instance02_name: osd002 |
| 560 | instance03_name: osd003 |
| 561 | instance_flavor: {get_param: osd_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 562 | availability_zone: { get_param: vm_availability_zone } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 563 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 564 | instance01_control_net_static_ip: |
| 565 | list_join: |
| 566 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 567 | - [ { get_attr: [subnets, control_net_prefix] }, '201' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 568 | instance02_control_net_static_ip: |
| 569 | list_join: |
| 570 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 571 | - [ { get_attr: [subnets, control_net_prefix] }, '202' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 572 | instance03_control_net_static_ip: |
| 573 | list_join: |
| 574 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 575 | - [ { get_attr: [subnets, control_net_prefix] }, '203' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 576 | instance01_tenant_net_static_ip: |
| 577 | list_join: |
| 578 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 579 | - [ { get_attr: [subnets, tenant_net_prefix] }, '201' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 580 | instance02_tenant_net_static_ip: |
| 581 | list_join: |
| 582 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 583 | - [ { get_attr: [subnets, tenant_net_prefix] }, '202' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 584 | instance03_tenant_net_static_ip: |
| 585 | list_join: |
| 586 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 587 | - [ { get_attr: [subnets, tenant_net_prefix] }, '203' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 588 | instance01_external_net_static_ip: |
| 589 | list_join: |
| 590 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 591 | - [ { get_attr: [subnets, external_net_prefix] }, '201' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 592 | instance02_external_net_static_ip: |
| 593 | list_join: |
| 594 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 595 | - [ { get_attr: [subnets, external_net_prefix] }, '202' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 596 | instance03_external_net_static_ip: |
| 597 | list_join: |
| 598 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 599 | - [ { get_attr: [subnets, external_net_prefix] }, '203' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 600 | |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 601 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 602 | |
| 603 | prx01_virtual: |
| 604 | type: MCP::SingleInstance |
| 605 | depends_on: [control_cluster] |
| 606 | properties: |
| 607 | env_name: { get_param: env_name } |
| 608 | mcp_version: { get_param: mcp_version } |
| 609 | instance_domain: {get_param: instance_domain} |
| 610 | instance_name: prx01 |
| 611 | instance_flavor: {get_param: cid_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 612 | availability_zone: { get_param: vm_availability_zone } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 613 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 614 | control_net_static_ip: |
| 615 | list_join: |
| 616 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 617 | - [ { get_attr: [subnets, control_net_prefix] }, '221' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 618 | tenant_net_static_ip: |
| 619 | list_join: |
| 620 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 621 | - [ { get_attr: [subnets, tenant_net_prefix] }, '221' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 622 | external_net_static_ip: |
| 623 | list_join: |
| 624 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 625 | - [ { get_attr: [subnets, external_net_prefix] }, '221' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 626 | |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 627 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 628 | |
| 629 | prx02_virtual: |
| 630 | type: MCP::SingleInstance |
| 631 | depends_on: [control_cluster] |
| 632 | properties: |
| 633 | env_name: { get_param: env_name } |
| 634 | mcp_version: { get_param: mcp_version } |
| 635 | instance_domain: {get_param: instance_domain} |
| 636 | instance_name: prx02 |
| 637 | instance_flavor: {get_param: cid_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 638 | availability_zone: { get_param: vm_availability_zone } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 639 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 640 | control_net_static_ip: |
| 641 | list_join: |
| 642 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 643 | - [ { get_attr: [subnets, control_net_prefix] }, '222' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 644 | tenant_net_static_ip: |
| 645 | list_join: |
| 646 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 647 | - [ { get_attr: [subnets, tenant_net_prefix] }, '222' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 648 | external_net_static_ip: |
| 649 | list_join: |
| 650 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 651 | - [ { get_attr: [subnets, external_net_prefix] }, '222' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 652 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 653 | |
| 654 | cmp001_virtual: |
| 655 | type: MCP::Compute |
| 656 | depends_on: [cfg01_node] |
| 657 | properties: |
| 658 | env_name: { get_param: env_name } |
| 659 | mcp_version: { get_param: mcp_version } |
| 660 | instance_domain: {get_param: instance_domain} |
| 661 | instance_name: cmp001 |
| 662 | instance_flavor: {get_param: cmp_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 663 | availability_zone: { get_param: vm_availability_zone } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 664 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 665 | control_net_static_ip: |
| 666 | list_join: |
| 667 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 668 | - [ { get_attr: [subnets, control_net_prefix] }, '101' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 669 | tenant_net_static_ip: |
| 670 | list_join: |
| 671 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 672 | - [ { get_attr: [subnets, tenant_net_prefix] }, '101' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 673 | external_net_static_ip: |
| 674 | list_join: |
| 675 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 676 | - [ { get_attr: [subnets, external_net_prefix] }, '101' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 677 | |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 678 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 679 | |
| 680 | cmp002_virtual: |
| 681 | type: MCP::Compute |
| 682 | depends_on: [cfg01_node] |
| 683 | properties: |
| 684 | env_name: { get_param: env_name } |
| 685 | mcp_version: { get_param: mcp_version } |
| 686 | instance_domain: {get_param: instance_domain} |
| 687 | instance_name: cmp002 |
| 688 | instance_flavor: {get_param: cmp_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 689 | availability_zone: { get_param: vm_availability_zone } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 690 | underlay_userdata: { get_file: ./underlay-userdata.yaml } |
| 691 | control_net_static_ip: |
| 692 | list_join: |
| 693 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 694 | - [ { get_attr: [subnets, control_net_prefix] }, '102' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 695 | tenant_net_static_ip: |
| 696 | list_join: |
| 697 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 698 | - [ { get_attr: [subnets, tenant_net_prefix] }, '102' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 699 | external_net_static_ip: |
| 700 | list_join: |
| 701 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 702 | - [ { get_attr: [subnets, external_net_prefix] }, '102' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 703 | |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 704 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 705 | |
| 706 | foundation_node: |
| 707 | type: MCP::FoundationNode |
sgudz | 22628a3 | 2019-06-12 11:34:04 +0300 | [diff] [blame] | 708 | depends_on: [subnets] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 709 | properties: |
| 710 | env_name: { get_param: env_name } |
| 711 | mcp_version: { get_param: mcp_version } |
| 712 | instance_domain: {get_param: instance_domain} |
| 713 | instance_name: foundation |
Dennis Dmitriev | cba8612 | 2019-05-24 13:41:46 +0300 | [diff] [blame] | 714 | instance_image: { get_param: foundation_image } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 715 | instance_flavor: {get_param: foundation_flavor} |
Dennis Dmitriev | 1e0a06f | 2019-05-31 13:24:13 +0300 | [diff] [blame] | 716 | availability_zone: { get_param: bm_availability_zone } |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 717 | management_net: { list_join: ['-', [ 'management_net', { get_param: env_name } ]] } |
| 718 | control_net: { list_join: ['-', [ 'control_net', { get_param: env_name } ]] } |
| 719 | tenant_net: { list_join: ['-', [ 'tenant_net', { get_param: env_name } ]] } |
| 720 | external_net: { list_join: ['-', [ 'external_net', { get_param: env_name } ]] } |
sgudz | c9f50d1 | 2019-05-31 14:25:34 +0300 | [diff] [blame] | 721 | management_subnet_gateway_ip: { get_param: management_subnet_gateway_ip } |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 722 | underlay_userdata: { get_file: ./underlay--user-data-foundation.yaml } |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 723 | management_net_static_ip: |
| 724 | list_join: |
| 725 | - '.' |
| 726 | - [ { get_attr: [subnets, management_net_prefix] }, '5' ] |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 727 | 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] }, '5' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 731 | tenant_net_static_ip: |
| 732 | list_join: |
| 733 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 734 | - [ { get_attr: [subnets, tenant_net_prefix] }, '5' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 735 | external_net_static_ip: |
| 736 | list_join: |
| 737 | - '.' |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 738 | - [ { get_attr: [subnets, external_net_prefix] }, '5' ] |
sgudz | e6bff76 | 2019-05-23 18:15:49 +0300 | [diff] [blame] | 739 | |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 740 | instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| 741 | |
| 742 | outputs: |
Andrew Baraniuk | 67c04ec | 2019-05-27 13:46:10 +0300 | [diff] [blame] | 743 | foundation_public_ip: |
sgudz | e844272 | 2019-05-08 10:38:04 +0300 | [diff] [blame] | 744 | description: foundation node IP address (floating) from external network |
| 745 | value: |
| 746 | get_attr: |
| 747 | - foundation_node |
| 748 | - instance_floating_address |
| 749 | ... |