]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
First version of Cinder driver for Quobyte USP
authorSilvan Kaiser <silvan@quobyte.com>
Wed, 26 Nov 2014 16:29:01 +0000 (17:29 +0100)
committerSilvan Kaiser <silvan@quobyte.com>
Fri, 12 Dec 2014 15:31:51 +0000 (15:31 +0000)
commit49d92764183e288b8f62b91a51179c307dd19a44
treef2934f334521941b7d417c340fae93c6f1131bf2
parent5146b159b8380278eb8733f0c0875f563228b3bd
First version of Cinder driver for Quobyte USP

Supported Operations are:
- Create Volume
- Delete Volume
- Attach Volume
- Detach Volume
- Extend Volume
- Create Snapshot
- Delete Snapshot
- List Snapshots
- Create Volume from Snapshot
- Create Volume from Image
- Create Volume from Volume (Clone)
- Create Image from Volume

The driver uses a file-based interface to access the configured
Quobyte volume. Therefore, the driver is similar to the existing
drivers NFS and GlusterFS.

Due to the similarities, I reused the snapshot code from the GlusterFS
driver. Gluster, thanks for that! I've kept the "Red Hat" copyright in
the header to credit you properly.

All driver functions are covered by unit tests. Snapshot tests were
taken over from test_glusterfs.py. New tests are written using "Mock"
instead of "mox".

Certification tests: https://bugs.launchpad.net/cinder/+bug/1401471

Implements: blueprint quobyte-usp-driver
Change-Id: I7ca13e28b000d7a07c2baecd5454e50be4c9640b
cinder/exception.py
cinder/tests/test_quobyte.py [new file with mode: 0644]
cinder/volume/drivers/quobyte.py [new file with mode: 0644]
requirements.txt