Merge "Add SwiftMinPartHours parameter"

This commit is contained in:
Jenkins 2014-10-07 20:50:59 +00:00 committed by Gerrit Code Review
commit a35679f539
3 changed files with 7 additions and 0 deletions

View File

@ -18,6 +18,10 @@ parameters:
type: number
default: 1
description: How many replicas to use in the swift rings.
SwiftMinPartHours:
type: number
default: 1
description: The minimum time (in hours) before a partition in a ring can be moved following a rebalance.
resources:
controller0Swift:
type: OS::Heat::StructuredDeployment
@ -57,3 +61,4 @@ resources:
- - {get_attr: [controller0, networks, ctlplane, 0]}
- ':11211'
swift_replicas: { get_param: SwiftReplicas}
swift_min_part_hours: { get_param: SwiftMinPartHours}

View File

@ -10,4 +10,5 @@ resources:
part-power: { get_input: swift_part_power }
proxy-memcache: { get_input: swift_proxy_memcache }
replicas: {get_input: swift_replicas }
min-part-hours: {get_input: swift_min_part_hours }
service-password: { get_input: swift_password }

View File

@ -72,3 +72,4 @@ resources:
- - {get_attr: [controller0, networks, ctlplane, 0]}
- ':11211'
swift_replicas: { get_param: SwiftReplicas}
swift_min_part_hours: { get_param: SwiftMinPartHours}