2018-03-05 19:28:35 +01:00
|
|
|
heat_template_version: rocky
|
2015-09-11 16:55:24 -04:00
|
|
|
parameters:
|
|
|
|
image:
|
|
|
|
type: string
|
|
|
|
default: unused
|
|
|
|
flavor:
|
|
|
|
type: string
|
|
|
|
default: unused
|
|
|
|
key_name:
|
|
|
|
type: string
|
|
|
|
default: unused
|
2017-06-27 11:07:52 -05:00
|
|
|
description: Name of keypair to assign to servers
|
2015-09-11 16:55:24 -04:00
|
|
|
security_groups:
|
|
|
|
type: json
|
|
|
|
default: []
|
|
|
|
# Require this so we can validate the parent passes the
|
|
|
|
# correct value
|
|
|
|
user_data_format:
|
|
|
|
type: string
|
|
|
|
user_data:
|
|
|
|
type: string
|
|
|
|
default: ''
|
|
|
|
name:
|
|
|
|
type: string
|
2016-12-05 16:19:55 -05:00
|
|
|
default: 'deployed-server'
|
2015-09-11 16:55:24 -04:00
|
|
|
image_update_policy:
|
|
|
|
type: string
|
|
|
|
default: ''
|
|
|
|
networks:
|
|
|
|
type: comma_delimited_list
|
|
|
|
default: ''
|
|
|
|
metadata:
|
|
|
|
type: json
|
|
|
|
default: {}
|
|
|
|
software_config_transport:
|
|
|
|
default: POLL_SERVER_CFN
|
|
|
|
type: string
|
|
|
|
scheduler_hints:
|
|
|
|
type: json
|
|
|
|
description: Optional scheduler hints to pass to nova
|
|
|
|
default: {}
|
2017-01-08 11:07:13 -05:00
|
|
|
UpgradeInitCommand:
|
|
|
|
type: string
|
|
|
|
description: |
|
|
|
|
Command or script snippet to run on all overcloud nodes to
|
|
|
|
initialize the upgrade process. E.g. a repository switch.
|
|
|
|
default: ''
|
2018-06-12 14:25:14 +02:00
|
|
|
UpgradeInitCommonCommand:
|
|
|
|
type: string
|
|
|
|
description: |
|
|
|
|
Common commands required by the upgrades process. This should not
|
|
|
|
normally be modified by the operator and is set and unset in the
|
|
|
|
major-upgrade-composable-steps.yaml and major-upgrade-converge.yaml
|
|
|
|
environment files.
|
|
|
|
default: ''
|
2017-06-13 14:34:17 +02:00
|
|
|
ControlPlaneSubnet:
|
|
|
|
default: ctlplane-subnet
|
|
|
|
description: The name of the undercloud Neutron control plane subnet
|
|
|
|
type: string
|
2015-09-11 16:55:24 -04:00
|
|
|
|
|
|
|
resources:
|
|
|
|
deployed-server:
|
2016-12-05 16:19:55 -05:00
|
|
|
type: OS::Heat::DeployedServer
|
2015-09-11 16:55:24 -04:00
|
|
|
properties:
|
2016-12-05 16:19:55 -05:00
|
|
|
name: {get_param: name}
|
|
|
|
software_config_transport: {get_param: software_config_transport}
|
2015-09-11 16:55:24 -04:00
|
|
|
|
2017-01-09 14:40:27 -05:00
|
|
|
ControlPlanePort:
|
2016-08-06 11:08:05 -04:00
|
|
|
type: OS::TripleO::DeployedServer::ControlPlanePort
|
2015-09-11 16:55:24 -04:00
|
|
|
properties:
|
2016-12-11 08:16:36 -05:00
|
|
|
network: ctlplane
|
2017-06-13 14:34:17 +02:00
|
|
|
fixed_ips: [{subnet: {get_param: ControlPlaneSubnet}}]
|
2016-12-11 08:16:36 -05:00
|
|
|
name:
|
|
|
|
list_join:
|
|
|
|
- '-'
|
2019-05-14 15:02:15 -04:00
|
|
|
- - {get_param: name}
|
2016-12-11 08:16:36 -05:00
|
|
|
- ctlplane
|
|
|
|
replacement_policy: AUTO
|
2015-09-11 16:55:24 -04:00
|
|
|
|
|
|
|
outputs:
|
|
|
|
OS::stack_id:
|
2016-12-05 16:19:55 -05:00
|
|
|
value: {get_resource: deployed-server}
|
2015-09-11 16:55:24 -04:00
|
|
|
networks:
|
|
|
|
value:
|
|
|
|
ctlplane:
|
2017-01-09 14:40:27 -05:00
|
|
|
- {get_attr: [ControlPlanePort, fixed_ips, 0, ip_address]}
|
2018-05-18 18:11:38 +02:00
|
|
|
addresses:
|
|
|
|
value:
|
|
|
|
ctlplane:
|
|
|
|
- subnets: {get_attr: [ControlPlanePort, subnets]}
|
2015-09-11 16:55:24 -04:00
|
|
|
name:
|
2019-05-14 15:02:15 -04:00
|
|
|
value: {get_param: name}
|
2017-04-20 15:45:49 -04:00
|
|
|
os_collect_config:
|
|
|
|
value: {get_attr: [deployed-server, os_collect_config]}
|