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