]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add NFS/GlusterFS support to brick library
authorBen Swartzlander <bswartz@netapp.com>
Wed, 28 Aug 2013 04:43:20 +0000 (21:43 -0700)
committerBen Swartzlander <bswartz@netapp.com>
Wed, 28 Aug 2013 16:25:52 +0000 (09:25 -0700)
commit7523489e856e637dc6af23638568f4700980360f
tree0dd11d16ee1097491f7d09f3719fbd2ffc77163d
parent4daffc63e757508873a9dbf955970f3d7de0f6dc
Add NFS/GlusterFS support to brick library

Refactor NFS driver to use the brick library to perform mounts
rather than duplicating the mount code. Some of the NFS unit
test code was rewritten to test the brick implementation because
the old mount code was moved.

The Gluster driver was slightly affected in the refactoring, but
does not yet use brick to perform attaches.

bug 1214748

Change-Id: Ib29f83fabe407f9591191e9fd19e6306ca9960cf
cinder/brick/initiator/connector.py
cinder/brick/remotefs/__init__.py [new file with mode: 0644]
cinder/brick/remotefs/remotefs.py [new file with mode: 0644]
cinder/tests/brick/test_brick_connector.py
cinder/tests/brick/test_brick_remotefs.py [new file with mode: 0644]
cinder/tests/test_nfs.py
cinder/volume/drivers/glusterfs.py
cinder/volume/drivers/nfs.py
etc/cinder/cinder.conf.sample