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