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