tripleo-heat-templates/environments/cinder-netapp-config.yaml
Alan Bishop fce83f534b Support deploying multiple Cinder Netapp Storage backends
CinderNetappBackendName is enhanced to support a list of backend names,
and a new CinderNetappMultiConfig parameter provides a way to specify
parameter values for each backend.

The CinderNetappVolumeList parameter is properly marked as deprecated.
The corresponding parameter no longer exists in cinder and puppet-cinder,
and it was made obsolete when the CinderNetappPoolNameSearchPattern
was introduced several cycles ago.

Depends-On: I15f4828beb9db81583146fa9afdd21999ad5b078
Change-Id: Iecc11782372097bb7f24b6cbc342c38148b9c469
2020-11-12 13:44:33 -08:00

48 lines
1.9 KiB
YAML

# A Heat environment file which can be used to enable a
# a Cinder NetApp backend, configured via puppet
resource_registry:
OS::TripleO::Services::CinderBackendNetApp: ../deployment/cinder/cinder-backend-netapp-puppet.yaml
parameter_defaults:
CinderEnableNetappBackend: true
CinderNetappBackendName: 'tripleo_netapp'
CinderNetappMultiConfig: {}
CinderNetappLogin: ''
CinderNetappPassword: ''
CinderNetappServerHostname: ''
CinderNetappServerPort: '80'
CinderNetappSizeMultiplier: '1.2'
CinderNetappStorageFamily: 'ontap_cluster'
CinderNetappStorageProtocol: 'nfs'
CinderNetappTransportType: 'http'
CinderNetappVfiler: ''
CinderNetappVserver: ''
CinderNetappPartnerBackendName: ''
CinderNetappNfsShares: ''
CinderNetappNfsSharesConfig: '/etc/cinder/shares.conf'
CinderNetappNfsMountOptions: 'context=system_u:object_r:container_file_t:s0'
CinderNetappCopyOffloadToolPath: ''
CinderNetappControllerIps: ''
CinderNetappSaPassword: ''
CinderNetappPoolNameSearchPattern: '(.+)'
CinderNetappHostType: ''
CinderNetappWebservicePath: '/devmgr/v2'
# To configure multiple Netapp backends, use CinderNetappMultiConfig to
# assign parameter values specific to that backend. For example:
# CinderNetappBackendName:
# - tripleo_netapp_1
# - tripleo_netapp_2
# CinderNetappLogin: 'Admin' # Default value for the Netapp backends
# CinderNetappMultiConfig:
# tripleo_netapp_1:
# CinderNetappPassword: 'secret_password_1'
# tripleo_netapp_2:
# CinderNetappPassword: 'secret_password_2'
# CinderNetappNfsSharesConfig: '/etc/cinder/shares_2.conf'
#
# NOTE - Each Netapp backend's CinderNetappNfsSharesConfig must be unique.
# In the above example, tripleo_netapp_1 will be configured with the
# default CinderNetappNfsSharesConfig value ('/etc/cinder/shares.conf'),
# and tripleo_netapp_2 will be configured with '/etc/cinder/shares_2.conf'.