7c1599a413
Now that we do all node configurations using config-download, this interface is not useful anymore. Change-Id: Ifffaff6f044e334491b8f00cc6c6c8779d7bf7e5
51 lines
1.2 KiB
YAML
51 lines
1.2 KiB
YAML
heat_template_version: rocky
|
|
|
|
parameters:
|
|
RoleCounts:
|
|
type: json
|
|
default: {}
|
|
VipMap:
|
|
type: json
|
|
default: {}
|
|
DeployedServerPortMap:
|
|
type: json
|
|
default: {}
|
|
DefaultRouteIp:
|
|
type: string
|
|
default: 192.168.24.1
|
|
|
|
resources:
|
|
|
|
DeployedServerPortMapParameter:
|
|
type: OS::Heat::Value
|
|
properties:
|
|
type: json
|
|
value:
|
|
DeployedServerPortMap:
|
|
map_merge:
|
|
- {get_param: DeployedServerPortMap}
|
|
- control_virtual_ip:
|
|
fixed_ips:
|
|
- ip_address: {get_param: [VipMap, ctlplane]}
|
|
- redis_virtual_ip:
|
|
fixed_ips:
|
|
- ip_address: {get_param: [VipMap, redis]}
|
|
|
|
DeployedServerEnvironment:
|
|
type: OS::Heat::Value
|
|
properties:
|
|
type: json
|
|
value:
|
|
parameter_defaults:
|
|
map_merge:
|
|
- {get_attr: [DeployedServerPortMapParameter, value]}
|
|
- ControlPlaneDefaultRoute: {get_param: DefaultRouteIp}
|
|
- {get_param: RoleCounts}
|
|
|
|
outputs:
|
|
deployed_server_environment:
|
|
description:
|
|
Environment data that can be used as input into the services stack when
|
|
using split-stack.
|
|
value: {get_attr: [DeployedServerEnvironment, value]}
|