[NetApp] Support NFS shares on windows
Set following 4 attributes when creating nfs shares:
showmount: enabled
v3-ms-dos-client: support
v3-connection-drop: disable
ejukebox-errors: disable
Change-Id: I86c3de32d36940e85545fcb337723e4b3edce216
Closes-bug: 1901937
Co-authored-by: Maurice Escher <maurice.escher@sap.com>
(cherry picked from commit 5e01d9e292
)
This commit is contained in:
parent
cfc0543b3e
commit
1af6f49251
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
The NetApp cDOT driver now sets the required NFS options for clients running
|
||||
Windows operating systems with NFSv3 support.
|
Loading…
Reference in New Issue