GPFS: Changing default value of NFS server type
Spectrum Scale provide NFS service with Ganesha server by default (protocol node). So altering the default value of NFS server for easiness. Implements: blueprint gpfs-nfs-server-type-default-value-change Change-Id: I2e3adeca58505c2da4a5675f7342bb2a174078cc
This commit is contained in:
parent
ff9f489580
commit
32a5a088a9
@ -66,9 +66,9 @@ gpfs_share_opts = [
|
||||
default='$state_path/mnt',
|
||||
help='Base folder where exported shares are located.'),
|
||||
cfg.StrOpt('gpfs_nfs_server_type',
|
||||
default='KNFS',
|
||||
help=('NFS Server type. Valid choices are "KNFS" (kernel NFS) '
|
||||
'or "CES" (Ganesha NFS).')),
|
||||
default='CES',
|
||||
help=('NFS Server type. Valid choices are "CES" (Ganesha NFS) '
|
||||
'or "KNFS" (Kernel NFS).')),
|
||||
cfg.ListOpt('gpfs_nfs_server_list',
|
||||
help=('A list of the fully qualified NFS server names that '
|
||||
'make up the OpenStack Manila configuration.')),
|
||||
|
@ -75,7 +75,7 @@ mmcesnfslsexport:nfsexports:HEADER:version:reserved:reserved:Path:Delegations:Cl
|
||||
|
||||
self.mock_object(gpfs.os.path, 'exists', mock.Mock(return_value=True))
|
||||
self._driver._helpers = {
|
||||
'KNFS': self._helper_fake
|
||||
'CES': self._helper_fake
|
||||
}
|
||||
self.share = fake_share.fake_share(share_proto='NFS',
|
||||
host='fakehost@fakehost#GPFS')
|
||||
@ -216,7 +216,7 @@ mmcesnfslsexport:nfsexports:HEADER:version:reserved:reserved:Path:Delegations:Cl
|
||||
|
||||
def test_setup_helpers(self):
|
||||
self._driver._helpers = {}
|
||||
CONF.set_default('gpfs_share_helpers', ['KNFS=fakenfs'])
|
||||
CONF.set_default('gpfs_share_helpers', ['CES=fakenfs'])
|
||||
self.mock_object(gpfs.importutils, 'import_class',
|
||||
mock.Mock(return_value=self._helper_fake))
|
||||
self._driver._setup_helpers()
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
other:
|
||||
- |
|
||||
Changing the default value of 'gpfs_nfs_server_type' configuration
|
||||
parameter from KNFS to CES as Spectrum Scale provide NFS service with
|
||||
Ganesha server by default.
|
Loading…
Reference in New Issue
Block a user