# This environment file enables Manila with the Generic 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::ManilaBackendGeneric: ../puppet/services/manila-backend-generic.yaml

parameter_defaults:
  ManilaServiceInstanceUser: ''
  ManilaServiceInstancePassword: ''
  ManilaServiceInstanceFlavorId: 2
  ManilaServiceNetworkCidr: '172.16.0.0/16'
  ManilaGenericBackendName: tripleo_generic
  ManilaGenericDriverHandlesShareServers: true
  ManilaGenericSmbTemplateConfigPath: '$state_path/smb.conf'
  ManilaGenericVolumeNameTemplate: 'manila-share-%s'
  ManilaGenericVolumeSnapshotNameTemplate: 'manila-snapshot-%s'
  ManilaGenericShareMountPath: '/shares'
  ManilaGenericMaxTimeToCreateVolume: '180'
  ManilaGenericMaxTimeToAttach: '120'
  ManilaGenericServiceInstanceSmbConfigPath: '$share_mount_path/smb.conf'
  ManilaGenericShareVolumeFsType: 'ext4'
  ManilaGenericCinderVolumeType: ''