1 heat_template_version: 2013-05-23
2 description: 'Common Swift Storage Configuration'
4 OvercloudSwiftStorageFlavor:
5 description: Flavor for Swift storage nodes to request when deploying.
8 - custom_constraint: nova.flavor
12 description: How many replicas to use in the swift rings.
15 default: overcloud-swift-storage
18 type: OS::Nova::Server
20 image: {get_param: SwiftStorageImage}
21 flavor: {get_param: OvercloudSwiftStorageFlavor}
22 key_name: {get_param: KeyName}
23 user_data_format: SOFTWARE_CONFIG
25 type: OS::Heat::StructuredConfig
29 host: {get_input: keystone_host}
30 SwiftStorage0Keystone:
31 type: OS::Heat::StructuredDeployment
33 server: {get_resource: SwiftStorage0}
34 config: {get_resource: SwiftKeystoneConfig}
35 signal_transport: NO_SIGNAL
37 keystone_host: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
39 type: OS::Heat::StructuredDeployment
41 server: {get_resource: SwiftStorage0}
42 config: {get_resource: SwiftConfig}
43 signal_transport: NO_SIGNAL
45 swift_hash_suffix: {get_param: SwiftHashSuffix}
46 swift_mount_check: {get_param: SwiftMountCheck}
47 swift_password: {get_param: SwiftPassword}
48 swift_part_power: {get_param: SwiftPartPower}
57 - {get_attr: [controller0, networks, ctlplane, 0]}
63 - {get_attr: [SwiftStorage0, networks, ctlplane, 0]}
74 - - {get_attr: [controller0, networks, ctlplane, 0]}
76 swift_replicas: { get_param: SwiftReplicas}
77 swift_min_part_hours: { get_param: SwiftMinPartHours}