tripleo-heat-templates/environments/cinder-pure-config.yaml
Emilien Macchi 91e8ed328a Support deploying multiple Cinder Pure Storage backends
CinderPureBackendName is enhanced to support a list of backend names,
and a new CinderPureMultiConfig parameter provides a way to specify
parameter values for each backend. For example:

parameter_defaults:
  CinderEnableIscsiBackend: false
  CinderEnablePureBackend: true
  CinderPureBackendName:
    - tripleo_pure_1
    - tripleo_pure_2
  # These will be the default parameter values for each backend.
  CinderPureStorageProtocol: 'iSCSI'
  CinderPureUseChap: false
  CinderPureMultipathXfer: true
  CinderPureImageCache: true
  # Use CinderPureMultiConfig to override values in specific backends.
  CinderPureMultiConfig:
    tripleo_pure_1:
      CinderPureSanIp: '10.0.0.1'
      CinderPureAPIToken: 'secret'
    tripleo_pure_2:
      CinderPureSanIp: '10.0.0.2'
      CinderPureAPIToken: 'anothersecret'
      # This will take precedence over the default value.
      CinderPureUseChap: true

Co-Authored-By: Alan Bishop <abishop@redhat.com>
Depends-On: Ia7cc82f5eb4e228a43e47624d87e319ac5340268
Change-Id: I1083ef9893dede234b4cafd9888c898fa0e31077
2019-09-13 07:36:42 -07:00

33 lines
1.2 KiB
YAML

# A Heat environment file which can be used to enable a
# Cinder Pure Storage FlashArray iSCSI backend, configured via puppet
resource_registry:
OS::TripleO::Services::CinderBackendPure: ../deployment/cinder/cinder-backend-pure-puppet.yaml
parameter_defaults:
CinderEnableIscsiBackend: false
CinderEnablePureBackend: true
CinderPureBackendName: 'tripleo_pure'
CinderPureMultiConfig: {}
CinderPureAvailabilityZone: ''
CinderPureStorageProtocol: 'iSCSI'
CinderPureSanIp: ''
CinderPureAPIToken: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
CinderPureUseChap: false
CinderPureMultipathXfer: true
CinderPureImageCache: true
# To configure multiple Pure backends, use CinderPureMultiConfig to
# assign parameter values specific to that backend. For example:
# CinderPureBackendName:
# - tripleo_pure_1
# - tripleo_pure_2
# CinderPureUseChap: false # Default value for the Pure backends
# CinderPureMultiConfig:
# tripleo_pure_1:
# CinderPureSanIp: '10.0.0.1'
# CinderPureAPIToken: 'secret'
# tripleo_pure_2:
# CinderPureSanIp: '10.0.0.2'
# CinderPureAPIToken: 'anothersecret'
# CinderPureUseChap: true # Specific value for this backend