]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add SMB Volume Driver
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 10 Jul 2014 12:45:31 +0000 (15:45 +0300)
committerEric Harney <eharney@redhat.com>
Mon, 8 Sep 2014 20:28:19 +0000 (16:28 -0400)
commit240b0c02df32e4d6902550973fb9bcc46d981003
tree80449f351e49d10e074c578779abd32845b63f50
parent2bd9a8e7102c2d4830e7351fc1ab899201e249ba
Add SMB Volume Driver

Introduces a volume driver which makes use of SMB shares for
hosting volumes as disk images, having a similar workflow with the
other NFS like drivers.

The driver uses Samba in order to access the SMB shares. It takes
SMB shares information such as share path, credentials and other
mount flags from a config file of which location can be configured
in the cinder config file.

It includes all the features required by the Juno release.

Driver cert results:
http://paste.openstack.org/show/100915/

The online snapshot related tests have been skipped as this
feature is not supported yet.

Implements: blueprint smbfs-volume-driver

DocImpact

Co-Authored-By: Adelina Tuvenie <atuvenie@cloudbasesolutions.com>
Change-Id: I3b4bebf73122d5b784228af18f9b1eddfc02b643
cinder/brick/remotefs/remotefs.py
cinder/exception.py
cinder/tests/test_glusterfs.py
cinder/tests/test_remotefs.py [new file with mode: 0644]
cinder/tests/test_smbfs.py [new file with mode: 0644]
cinder/volume/drivers/glusterfs.py
cinder/volume/drivers/remotefs.py
cinder/volume/drivers/smbfs.py [new file with mode: 0644]
etc/cinder/cinder.conf.sample