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