tripleo-heat-templates/environments/cinder-nfs-config.yaml
katarimanoj 8ee95985b2 Support for multiple Cinder NFS storage backends
CinderNfsBackendName is enhanced to support a list of backend names,
and the following new parameters are added.

 - CinderNfsMultiConfig provides a way to specify
   parameter values for each backend.

 - CinderNfsSharesConfig allows you to pass NFS shares config for
   a backend instead of hard coded input.
   This parameter is required to support multi-config where
   unique NFS shares config is needed for every backend.

Depends-On: I6d387f6df0e9b85896b25b414ae2cf8bfea4152c
Change-Id: I3c3299ceb9557ca42e7c3bd89dae740f8bd79996
2022-06-14 22:19:17 +00:00

22 lines
978 B
YAML

# A Heat environment file which can be used to enable a
# a Cinder NFS backend, configured via puppet
parameter_defaults:
CinderNfsBackendName: ['tripleo_nfs']
CinderEnableNfsBackend: True
CinderNfsMountOptions: context=system_u:object_r:container_file_t:s0
CinderNfsServers: ''
CinderNfsSharesConfig: /etc/cinder/shares-nfs.conf
# To configure multiple NFS backends, use CinderNfsMultiConfig to
# assign parameter values specific to that backend. For example:
# CinderNfsBackendName: ['tripleo_nfs_1', 'tripleo_nfs_2']
# CinderNfsMultiConfig:
# tripleo_nfs_1:
# CinderNfsSnapshotSupport : True
# tripleo_nfs_2:
# CinderNfsSharesConfig: '/etc/cinder/shares-nfs_2.conf'
#
# NOTE - Each NFS backend's CinderNfsSharesConfig must be unique.
# In the above example, tripleo_nfs_1 will be configured with the
# default CinderNfsSharesConfig value ('/etc/cinder/shares-nfs.conf'),
# and tripleo_nfs_2 will be configured with '/etc/cinder/shares-nfs_2.conf'