diff options
author | Richard Su <rwsu@redhat.com> | 2014-03-05 14:58:22 -0800 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-03-10 22:00:42 +0000 |
commit | 30301f322f91d9e9e786106d8fe6b270600f8672 (patch) | |
tree | 4749cc9e8fd3aea2488a89b78bc1a8b481db3a40 /swift-source.yaml | |
parent | a2602039fc66891bb9d08dbd5963c9968e1a8ee8 (diff) |
Swift storage heat templates
Updated the existing swift-source template to properly list all
swift devices.
Created a new swift-storage-source template to add additional
swift-storage only nodes.
The default SWIFTSTORAGESCALE is 0. Change this number to add
additional swift storage nodes.
Change-Id: Ia05f4ad44593316430d60541106d23b032c3e760
Diffstat (limited to 'swift-source.yaml')
-rw-r--r-- | swift-source.yaml | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/swift-source.yaml b/swift-source.yaml index 0a6bf647..8661154d 100644 --- a/swift-source.yaml +++ b/swift-source.yaml @@ -17,16 +17,33 @@ Resources: swift: devices: Fn::Join: - - '' - - - 'r1z1-' - - Fn::Select: - - 0 + - ', ' + - - Fn::Join: + - '' + - - 'r1z1-' - Fn::Select: - - 'ctlplane' - - Fn::GetAtt: - - notCompute0 - - networks - - ':%PORT%/d1' + - 0 + - Fn::Select: + - 'ctlplane' + - Fn::GetAtt: + - notCompute0 + - networks + - ':%PORT%/d1' + - Fn::Join: + - ', ' + - Merge::Map: + SwiftStorage0: + Fn::Join: + - '' + - - 'r1z1-' + - Fn::Select: + - 0 + - Fn::Select: + - 'ctlplane' + - Fn::GetAtt: + - SwiftStorage0 + - networks + - ':%PORT%/d1' hash: Ref: SwiftHashSuffix part-power: 10 |