diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-10-31 01:41:49 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-10-31 01:41:49 +0000 |
commit | 4bfb71e1ed3991370728e049d689f0e6e2a4c216 (patch) | |
tree | 0804540b052ab2406dd8c80f5d40e8b04e3e297e /controller.yaml | |
parent | a9d03c8ba7f6b423f1280da604e00d2e96236c67 (diff) | |
parent | 24f40d5312fd6e92356936e22a1a5b8f4b3e04d5 (diff) |
Merge "Add converted version of block and object storage"
Diffstat (limited to 'controller.yaml')
-rw-r--r-- | controller.yaml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/controller.yaml b/controller.yaml index 885d0894..459b7f75 100644 --- a/controller.yaml +++ b/controller.yaml @@ -291,6 +291,26 @@ parameters: description: If set, the contents of an SSL certificate .key file for encrypting SSL endpoints. type: string hidden: true + SwiftHashSuffix: + default: unset + description: A random string to be used as a salt when hashing to determine mappings + in the ring. + hidden: true + type: string + SwiftPartPower: + default: 10 + description: Partition Power to use when building Swift rings + type: number + SwiftPassword: + default: unset + description: The password for the swift service account, used by the swift proxy + services. + hidden: true + type: string + SwiftReplicas: + type: number + default: 1 + description: How many replicas to use in the swift rings. VirtualIP: type: string default: '' # Has to be here because of the ignored empty value bug @@ -671,6 +691,28 @@ resources: input_values: passthrough_config_specific: {get_param: ControllerExtraConfig} + SwiftConfig: + type: OS::Heat::StructuredConfig + properties: + group: os-apply-config + config: + swift: + hash: { get_input: swift_hash_suffix } + part-power: { get_input: swift_part_power } + replicas: {get_input: swift_replicas } + service-password: { get_input: swift_password } + + SwiftStorageDeploy: + type: OS::Heat::StructuredDeployment + properties: + server: {get_resource: Controller} + config: {get_resource: SwiftConfig} + signal_transport: NO_SIGNAL + input_values: + swift_hash_suffix: {get_param: SwiftHashSuffix} + swift_password: {get_param: SwiftPassword} + swift_part_power: {get_param: SwiftPartPower} + swift_replicas: { get_param: SwiftReplicas} outputs: ip_address: |