2014-08-04 08:43:34 +12:00
|
|
|
description: 'Swift-proxy: OpenStack object storage proxy'
|
|
|
|
parameters:
|
2014-03-19 15:16:32 -07:00
|
|
|
SwiftHashSuffix:
|
2014-08-04 08:43:34 +12:00
|
|
|
default: unset
|
|
|
|
description: A random string to be used as a salt when hashing to determine mappings in the ring.
|
|
|
|
type: string
|
|
|
|
hidden: true
|
2014-10-22 14:06:09 +01:00
|
|
|
SwiftMountCheck:
|
|
|
|
default: 'false'
|
|
|
|
description: Value of mount_check in Swift account/container/object -server.conf
|
|
|
|
type: boolean
|
2014-10-08 15:17:29 +01:00
|
|
|
SwiftMinPartHours:
|
|
|
|
type: number
|
|
|
|
default: 1
|
|
|
|
description: The minimum time (in hours) before a partition in a ring can be moved following a rebalance.
|
|
|
|
SwiftPartPower:
|
|
|
|
default: 10
|
|
|
|
description: Partition Power to use when building Swift rings
|
|
|
|
type: number
|
2014-03-19 15:16:32 -07:00
|
|
|
SwiftPassword:
|
2014-08-04 08:43:34 +12:00
|
|
|
default: unset
|
|
|
|
description: The password for the swift service account, used by the swift proxy services.
|
|
|
|
type: string
|
|
|
|
hidden: true
|
2014-08-13 12:02:52 +12:00
|
|
|
SwiftReplicas:
|
|
|
|
type: number
|
|
|
|
default: 1
|
|
|
|
description: How many replicas to use in the swift rings.
|
2014-08-04 08:43:34 +12:00
|
|
|
resources:
|
2014-03-19 15:16:32 -07:00
|
|
|
controller0Swift:
|
2014-08-04 08:43:34 +12:00
|
|
|
type: OS::Heat::StructuredDeployment
|
|
|
|
properties:
|
|
|
|
config: {get_resource: SwiftConfig}
|
|
|
|
server: {get_resource: controller0}
|
2014-03-19 15:16:32 -07:00
|
|
|
signal_transport: NO_SIGNAL
|
|
|
|
input_values:
|
2014-08-04 08:43:34 +12:00
|
|
|
swift_hash_suffix: {get_param: SwiftHashSuffix}
|
2014-10-22 14:06:09 +01:00
|
|
|
swift_mount_check: {get_param: SwiftMountCheck}
|
2014-08-04 08:43:34 +12:00
|
|
|
swift_password: {get_param: SwiftPassword}
|
2014-07-28 16:33:06 +01:00
|
|
|
swift_part_power: {get_param: SwiftPartPower}
|
2014-03-19 15:16:32 -07:00
|
|
|
swift_devices:
|
2014-08-11 09:18:01 +12:00
|
|
|
Fn::Join:
|
2014-03-19 15:16:32 -07:00
|
|
|
- ', '
|
2014-07-30 07:40:01 -04:00
|
|
|
- Merge::Map:
|
|
|
|
controller0:
|
2014-08-11 09:18:01 +12:00
|
|
|
Fn::Join:
|
2014-07-30 07:40:01 -04:00
|
|
|
- ''
|
|
|
|
- - 'r1z1-'
|
2014-07-18 12:55:31 +12:00
|
|
|
- {get_attr: [controller0, networks, ctlplane, 0]}
|
2014-07-30 07:40:01 -04:00
|
|
|
- ':%PORT%/d1'
|
|
|
|
SwiftStorage0:
|
2014-08-11 09:18:01 +12:00
|
|
|
Fn::Join:
|
2014-07-30 07:40:01 -04:00
|
|
|
- ''
|
|
|
|
- - 'r1z1-'
|
2014-07-18 12:55:31 +12:00
|
|
|
- {get_attr: [SwiftStorage0, networks, ctlplane, 0]}
|
2014-07-30 07:40:01 -04:00
|
|
|
- ':%PORT%/d1'
|
2014-04-08 17:05:34 +01:00
|
|
|
swift_proxy_memcache:
|
2014-08-11 09:18:01 +12:00
|
|
|
Fn::Join:
|
2014-07-30 07:40:01 -04:00
|
|
|
- ','
|
|
|
|
- Merge::Map:
|
|
|
|
controller0:
|
2014-08-11 09:18:01 +12:00
|
|
|
Fn::Join:
|
2014-07-30 07:40:01 -04:00
|
|
|
- ', '
|
2014-08-11 09:18:01 +12:00
|
|
|
- - Fn::Join:
|
2014-07-30 07:40:01 -04:00
|
|
|
- ''
|
2014-07-18 12:55:31 +12:00
|
|
|
- - {get_attr: [controller0, networks, ctlplane, 0]}
|
2014-07-30 07:40:01 -04:00
|
|
|
- ':11211'
|
2014-08-13 12:02:52 +12:00
|
|
|
swift_replicas: { get_param: SwiftReplicas}
|
2014-09-12 13:40:24 +01:00
|
|
|
swift_min_part_hours: { get_param: SwiftMinPartHours}
|