Add workaround for nova vif plugging timeout error
[apex-tripleo-heat-templates.git] / deployed-server / deployed-server-environment-output.yaml
1 heat_template_version: pike
2
3 parameters:
4   RoleCounts:
5     type: json
6     default: {}
7   VipMap:
8     type: json
9     default: {}
10   DeployedServerPortMap:
11     type: json
12     default: {}
13   DeployedServerDeploymentSwiftDataMap:
14     type: json
15     default: {}
16   DefaultRouteIp:
17     type: string
18     default: 192.168.24.1
19
20 resources:
21
22   DeployedServerPortMapParameter:
23     type: OS::Heat::Value
24     properties:
25       type: json
26       value:
27         DeployedServerPortMap:
28           map_merge:
29             - {get_param: DeployedServerPortMap}
30             - control_virtual_ip:
31                 fixed_ips:
32                   - ip_address: {get_param: [VipMap, ctlplane]}
33             - redis_virtual_ip:
34                 fixed_ips:
35                   - ip_address: {get_param: [VipMap, redis]}
36
37   DeployedServerEnvironment:
38     type: OS::Heat::Value
39     properties:
40       type: json
41       value:
42         parameter_defaults:
43           map_merge:
44             - {get_attr: [DeployedServerPortMapParameter, value]}
45             - DeploymentSwiftDataMap: {get_param: DeployedServerDeploymentSwiftDataMap}
46             - EC2MetadataIp: {get_param: DefaultRouteIp}
47             - ControlPlaneDefaultRoute: {get_param: DefaultRouteIp}
48             - {get_param: RoleCounts}
49
50 outputs:
51   deployed_server_environment:
52     description:
53       Environment data that can be used as input into the services stack when
54       using split-stack.
55     value: {get_attr: [DeployedServerEnvironment, value]}