"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "manila/tests/share/drivers/netapp/dataontap/client/test_client_cmode.py" between
manila-11.0.0.tar.gz and manila-11.0.1.tar.gz

About: OpenStack Manila provides “Shared Filesystems as a service”.
The "Victoria" series (latest release).

test_client_cmode.py  (manila-11.0.0):test_client_cmode.py  (manila-11.0.1)
skipping to change at line 2464 skipping to change at line 2464
versions.append('nfs4.0') versions.append('nfs4.0')
if v41: if v41:
versions.append('nfs4.1') versions.append('nfs4.1')
self.client._enable_nfs_protocols(versions) self.client._enable_nfs_protocols(versions)
nfs_service_modify_args = { nfs_service_modify_args = {
'is-nfsv3-enabled': 'true' if v3 else 'false', 'is-nfsv3-enabled': 'true' if v3 else 'false',
'is-nfsv40-enabled': 'true' if v40 else 'false', 'is-nfsv40-enabled': 'true' if v40 else 'false',
'is-nfsv41-enabled': 'true' if v41 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( self.client.send_request.assert_called_once_with(
'nfs-service-modify', nfs_service_modify_args) 'nfs-service-modify', nfs_service_modify_args)
def test_configure_nfs(self): def test_configure_nfs(self):
fake_nfs = { fake_nfs = {
'tcp-max-xfer-size': 10000, 'tcp-max-xfer-size': 10000,
} }
self.mock_object(self.client, 'send_request') self.mock_object(self.client, 'send_request')
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)