# *******************************************************************
# This file was created automatically by the sample environment
# generator. Developers should use `tox -e genconfig` to update it.
# Users are recommended to make changes to a copy of the file instead
# of the original, if any customizations are needed.
# *******************************************************************
# title: Enable Glance NFS Backend
# description: |
#   Configure and include this environment to enable the use of an NFS
#   share as the backend for Glance.
parameter_defaults:
  # When using GlanceBackend 'file', Netapp mount NFS share for image storage.
  # Type: boolean
  GlanceNetappNfsEnabled: False

  # NFS mount options for image storage (when GlanceNfsEnabled is true)
  # Type: string
  GlanceNfsOptions: _netdev,bg,intr,context=system_u:object_r:glance_var_lib_t:s0

  # NFS share to mount for image storage (when GlanceNfsEnabled is true)
  # Type: string
  GlanceNfsShare: ''

  # Netapp share to mount for image storage (when GlanceNetappNfsEnabled is true)
  # Type: string
  NetappShareLocation: ''

  # ******************************************************
  # Static parameters - these are values that must be
  # included in the environment but should not be changed.
  # ******************************************************
  # The short name of the Glance backend to use. Should be one of swift, rbd, cinder, or file
  # Type: string
  GlanceBackend: file

  # When using GlanceBackend 'file', mount NFS share for image storage.
  # Type: boolean
  GlanceNfsEnabled: True

  # *********************
  # End static parameters
  # *********************
