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

This commit is contained in:
Zuul 2020-11-19 16:10:48 +00:00 committed by Gerrit Code Review
commit 8af7ac4805
3 changed files with 13 additions and 0 deletions

View File

@ -1466,6 +1466,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

@ -2462,6 +2462,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.