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