diff options
-rw-r--r-- | swift-deploy.yaml | 5 | ||||
-rw-r--r-- | swift-source.yaml | 1 | ||||
-rw-r--r-- | swift-storage-source.yaml | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/swift-deploy.yaml b/swift-deploy.yaml index e3f475c0..4a8625ee 100644 --- a/swift-deploy.yaml +++ b/swift-deploy.yaml @@ -14,6 +14,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 @@ -52,3 +56,4 @@ resources: - - {get_attr: [controller0, networks, ctlplane, 0]} - ':11211' swift_replicas: { get_param: SwiftReplicas} + swift_min_part_hours: { get_param: SwiftMinPartHours} diff --git a/swift-source.yaml b/swift-source.yaml index cf1cf9dc..b07164c8 100644 --- a/swift-source.yaml +++ b/swift-source.yaml @@ -10,4 +10,5 @@ resources: part-power: 10 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 } diff --git a/swift-storage-source.yaml b/swift-storage-source.yaml index 103a7ec7..d3653426 100644 --- a/swift-storage-source.yaml +++ b/swift-storage-source.yaml @@ -71,3 +71,4 @@ resources: - - {get_attr: [controller0, networks, ctlplane, 0]} - ':11211' swift_replicas: { get_param: SwiftReplicas} + swift_min_part_hours: { get_param: SwiftMinPartHours} |