]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
RemoteFS: Use nas_ip and nas_share_path options
authorEric Harney <eharney@redhat.com>
Fri, 23 Jan 2015 20:41:40 +0000 (15:41 -0500)
committerEric Harney <eharney@redhat.com>
Tue, 3 Feb 2015 16:31:38 +0000 (17:31 +0100)
commit170ab5825ec24e7cd181147efc331e08029a7354
tree556582b4b7e25e9f4c0778f3e1008305f973cdf4
parent17779327c6d7ea43e26bd2226567fd37cda904a9
RemoteFS: Use nas_ip and nas_share_path options

This replaces the <x>fs_shares_config file configuration
options with the existing nas_ip option and new
nas_share_path and nas_mount_options configuration
options.

This means that RemoteFS drivers will manage a single
export rather than a handful of unrelated exports.

If the nas_ip and nas_share_path options are set, they
are used.  If not, the previous configuration mechanism,
based on loading a set of shares from a file configured
by <x>fs_shares_config will be used.

Also use nas_mount_options to replace
nfs_mount_options for consistency.  If nas_mount_options
is not set, nfs_mount_options will be used for
compatibility.

Implements blueprint: remotefs-share-cfg-improvements
DocImpact: new configuration options

Change-Id: Ic72ae6c7fdd2c6a7fea27152f27c6521a561977b
cinder/tests/test_glusterfs.py
cinder/tests/test_hds_nfs.py
cinder/tests/test_netapp_nfs.py
cinder/tests/test_nexenta.py
cinder/tests/test_nfs.py
cinder/volume/drivers/nfs.py
cinder/volume/drivers/remotefs.py