| --- |
| |
| heat_template_version: queens |
| |
| description: MCP environment for heat-bm-cicd-queens-contrail-sl |
| |
| parameters: |
| instance_domain: |
| type: string |
| default: heat-bm-cicd-queens-contrail-sl.local |
| mcp_version: |
| type: string |
| env_name: |
| type: string |
| key_pair: |
| type: string |
| cfg_flavor: |
| type: string |
| vsrx_flavor: |
| type: string |
| foundation_image: |
| type: string |
| foundation_flavor: |
| type: string |
| bm_availability_zone: |
| type: string |
| |
| resources: |
| subnets: |
| type: MCP::Subnets |
| properties: |
| stack_name: { get_param: "OS::stack_name" } |
| env_name: { get_param: env_name } |
| management_net: 'system-phys-2421' |
| control_net: 'system-phys-2422' |
| tenant_net: 'system-phys-2423' |
| external_net: 'system-phys-2424' |
| |
| #flavors: |
| # type: MCP::Flavors |
| |
| cfg01_node: |
| type: MCP::MasterNode |
| depends_on: [subnets] |
| properties: |
| env_name: { get_param: env_name } |
| mcp_version: { get_param: mcp_version } |
| cfg01_flavor: { get_param: cfg_flavor } |
| availability_zone: { get_param: bm_availability_zone } |
| management_net: 'system-phys-2421' |
| control_net: 'system-phys-2422' |
| tenant_net: 'system-phys-2423' |
| external_net: 'system-phys-2424' |
| tenant_net_static_ip: |
| list_join: |
| - '.' |
| - [ { get_attr: [subnets, tenant_net_prefix] }, '15' ] |
| external_net_static_ip: |
| list_join: |
| - '.' |
| - [ { get_attr: [subnets, external_net_prefix] }, '15' ] |
| instance_name: cfg01 |
| instance_domain: {get_param: instance_domain} |
| |
| foundation_node: |
| type: MCP::FoundationNode |
| depends_on: [subnets] |
| properties: |
| env_name: { get_param: env_name } |
| mcp_version: { get_param: mcp_version } |
| instance_domain: {get_param: instance_domain} |
| instance_name: foundation |
| availability_zone: { get_param: bm_availability_zone } |
| management_net: 'system-phys-2421' |
| control_net: 'system-phys-2422' |
| tenant_net: 'system-phys-2423' |
| external_net: 'system-phys-2424' |
| instance_image: { get_param: foundation_image } |
| instance_flavor: {get_param: foundation_flavor} |
| underlay_userdata: { get_file: ./underlay--user-data-foundation.yaml } |
| management_net_static_ip: |
| list_join: |
| - '.' |
| - [ { get_attr: [subnets, management_net_prefix] }, '125' ] |
| control_net_static_ip: |
| list_join: |
| - '.' |
| - [ { get_attr: [subnets, control_net_prefix] }, '5' ] |
| tenant_net_static_ip: |
| list_join: |
| - '.' |
| - [ { get_attr: [subnets, tenant_net_prefix] }, '5' ] |
| external_net_static_ip: |
| list_join: |
| - '.' |
| - [ { get_attr: [subnets, external_net_prefix] }, '5' ] |
| instance_config_host: { get_attr: [cfg01_node, instance_address] } |
| outputs: |
| foundation_public_ip: |
| description: foundation node IP address (management) |
| value: |
| get_attr: |
| - foundation_node |
| - instance_address |
| ... |