1 heat_template_version: 2013-05-23
2 description: 'Common Swift Storage Configuration'
4 OvercloudSwiftStorageFlavor:
6 description: Flavor for Swift storage nodes to request when deploying.
11 description: How many replicas to use in the swift rings.
14 default: overcloud-swift-storage
17 type: OS::Nova::Server
19 image: {get_param: SwiftStorageImage}
20 flavor: {get_param: OvercloudSwiftStorageFlavor}
21 key_name: {get_param: KeyName}
22 user_data_format: SOFTWARE_CONFIG
24 type: OS::Heat::StructuredConfig
28 host: {get_input: keystone_host}
29 SwiftStorage0Keystone:
30 type: OS::Heat::StructuredDeployment
32 server: {get_resource: SwiftStorage0}
33 config: {get_resource: SwiftKeystoneConfig}
34 signal_transport: NO_SIGNAL
36 keystone_host: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
38 type: OS::Heat::StructuredDeployment
40 server: {get_resource: SwiftStorage0}
41 config: {get_resource: SwiftConfig}
42 signal_transport: NO_SIGNAL
44 swift_hash_suffix: {get_param: SwiftHashSuffix}
45 swift_password: {get_param: SwiftPassword}
46 swift_part_power: {get_param: SwiftPartPower}
55 - {get_attr: [controller0, networks, ctlplane, 0]}
61 - {get_attr: [SwiftStorage0, networks, ctlplane, 0]}
72 - - {get_attr: [controller0, networks, ctlplane, 0]}
74 swift_replicas: { get_param: SwiftReplicas}
75 swift_min_part_hours: { get_param: SwiftMinPartHours}