diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-06-04 08:46:24 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-06-04 08:46:24 +0000 |
commit | af8767a644471d38e20915827224e5e63385756c (patch) | |
tree | 9c4032c48b7222dcafbe138acedbc90f83e21e5b | |
parent | aa86b697b00111bbf5ec2f60e3eded00e3af15f8 (diff) | |
parent | 27c4f4a28b3c057a860c4fa2a0480ba31cef684d (diff) |
Merge "Add passthrough configuration glue."
-rw-r--r-- | undercloud-source.yaml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/undercloud-source.yaml b/undercloud-source.yaml index 58e4eda8..7206c67c 100644 --- a/undercloud-source.yaml +++ b/undercloud-source.yaml @@ -38,6 +38,44 @@ Parameters: Description: The user password for SNMPd with readonly rights running on all Overcloud nodes Type: String NoEcho: true + ExtraConfig: + Default: {} + Description: | + Additional configuration to inject into the cluster. The JSON should have + the following structure: + {"FILEKEY": + {"config: + [{"section": "SECTIONNAME", + "values": + [{"option": "OPTIONNAME", + "value": "VALUENAME" + } + ] + } + ] + } + } + For instance: + {"nova": + {"config": + [{"section": "default", + "values": + [{"option": "compute_manager", + "value": "ironic.nova.compute.manager.ClusterComputeManager" + } + ] + }, + {"section": "cells", + "values": + [{"option": "driver", + "value": "nova.cells.rpc_driver.CellsRPCDriver" + } + ] + } + ] + } + } + Type: Json Flavor: Default: baremetal Description: Flavor to request when deploying. @@ -205,6 +243,10 @@ Resources: ntp: servers: - {server: {Ref: NtpServer}, fudge: "stratum 0"} + undercloudPassthroughConfig: + Type: OS::Heat::StructuredConfig + Properties: + config: {get_input: passthrough_config} undercloud: Type: OS::Nova::Server Properties: @@ -255,3 +297,11 @@ Resources: - - 'http://' - {"Fn::Select": [ 0, "Fn::Select": [ ctlplane, { "Fn::GetAtt": [ undercloud, networks ]}]]} - ':8000/v1/waitcondition' + 00_undercloudPassthroughDeployment: + Type: OS::Heat::StructuredDeployment + Properties: + config: {Ref: undercloudPassthroughConfig} + server: {Ref: undercloud} + signal_transport: NO_SIGNAL + input_values: + passthrough_config: {Ref: ExtraConfig} |