# This environment file enables Manila with the Netapp backend.
resource_registry:
  OS::TripleO::Services::ManilaApi: ../puppet/services/manila-api.yaml
  OS::TripleO::Services::ManilaScheduler: ../puppet/services/manila-scheduler.yaml
  # Only manila-share is pacemaker managed:
  OS::TripleO::Services::ManilaShare: ../puppet/services/pacemaker/manila-share.yaml
  OS::TripleO::Services::ManilaBackendNetapp: ../puppet/services/manila-backend-netapp.yaml

parameter_defaults:
  ManilaNetappBackendName: tripleo_netapp
  ManilaNetappDriverHandlesShareServers: true
  ManilaNetappLogin: ''
  ManilaNetappPassword: ''
  ManilaNetappServerHostname: ''
  ManilaNetappTransportType: 'http'
  ManilaNetappStorageFamily: 'ontap_cluster'
  ManilaNetappServerPort: 80
  ManilaNetappVolumeNameTemplate: 'share_%(share_id)s'
  ManilaNetappVserver: ''
  ManilaNetappVserverNameTemplate: 'os_%s'
  ManilaNetappLifNameTemplate: 'os_%(net_allocation_id)s'
  ManilaNetappAggrNameSearchPattern: '(.*)'
  ManilaNetappRootVolumeAggr: ''
  ManilaNetappRootVolume: 'root'
  ManilaNetappPortNameSearchPattern: '(.*)'
  ManilaNetappTraceFlags: ''
  ManilaNetappEnabledShareProtocols: 'nfs3, nfs4.0'
  ManilaNetappVolumeSnapshotReservePercent: 5
  ManilaNetappSnapmirrorQuiesceTimeout: 3600