# 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'.