Merge "[NetApp] Support NFS shares on windows" into stable/train

This commit is contained in:
Zuul 2021-01-14 02:06:48 +00:00 committed by Gerrit Code Review
commit 7ce57e1d34
3 changed files with 13 additions and 0 deletions

View File

@ -1369,6 +1369,10 @@ class NetAppCmodeClient(client_base.NetAppBaseClient):
'is-nfsv3-enabled': nfs3,
'is-nfsv40-enabled': nfs40,
'is-nfsv41-enabled': nfs41,
'showmount': 'true',
'is-v3-ms-dos-client-enabled': 'true',
'is-nfsv3-connection-drop-enabled': 'false',
'enable-ejukebox': 'false',
}
self.send_request('nfs-service-modify', nfs_service_modify_args)

View File

@ -2431,6 +2431,10 @@ class NetAppClientCmodeTestCase(test.TestCase):
'is-nfsv3-enabled': 'true' if v3 else 'false',
'is-nfsv40-enabled': 'true' if v40 else 'false',
'is-nfsv41-enabled': 'true' if v41 else 'false',
'showmount': 'true',
'is-v3-ms-dos-client-enabled': 'true',
'is-nfsv3-connection-drop-enabled': 'false',
'enable-ejukebox': 'false',
}
self.client.send_request.assert_called_once_with(
'nfs-service-modify', nfs_service_modify_args)

View File

@ -0,0 +1,5 @@
---
fixes:
- |
The NetApp cDOT driver now sets the required NFS options for clients running
Windows operating systems with NFSv3 support.