"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "manila/share/drivers/netapp/dataontap/client/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).

client_cmode.py  (manila-11.0.0):client_cmode.py  (manila-11.0.1)
skipping to change at line 1466 skipping to change at line 1466
def _enable_nfs_protocols(self, versions): def _enable_nfs_protocols(self, versions):
"""Set the enabled NFS protocol versions.""" """Set the enabled NFS protocol versions."""
nfs3 = 'true' if 'nfs3' in versions else 'false' nfs3 = 'true' if 'nfs3' in versions else 'false'
nfs40 = 'true' if 'nfs4.0' in versions else 'false' nfs40 = 'true' if 'nfs4.0' in versions else 'false'
nfs41 = 'true' if 'nfs4.1' in versions else 'false' nfs41 = 'true' if 'nfs4.1' in versions else 'false'
nfs_service_modify_args = { nfs_service_modify_args = {
'is-nfsv3-enabled': nfs3, 'is-nfsv3-enabled': nfs3,
'is-nfsv40-enabled': nfs40, 'is-nfsv40-enabled': nfs40,
'is-nfsv41-enabled': nfs41, '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) self.send_request('nfs-service-modify', nfs_service_modify_args)
@na_utils.trace @na_utils.trace
def _configure_nfs(self, nfs_config): def _configure_nfs(self, nfs_config):
"""Sets the nfs configuraton""" """Sets the nfs configuraton"""
self.send_request('nfs-service-modify', nfs_config) self.send_request('nfs-service-modify', nfs_config)
@na_utils.trace @na_utils.trace
def _create_default_nfs_export_rules(self): def _create_default_nfs_export_rules(self):
 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)