]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Enable consisgroups in SolidFire driver
authorChris Morrell <chris@solidfire.com>
Fri, 18 Dec 2015 21:52:47 +0000 (21:52 +0000)
committerChris Morrell <chris@solidfire.com>
Wed, 6 Jan 2016 22:41:54 +0000 (22:41 +0000)
commitd55541c4dae2f36025ea73bc63242a8bf3c592d0
treef67392645e16c37a307a44f550fe88e9f634f598
parentef08af911244210b5b7839502302a90199b14263
Enable consisgroups in SolidFire driver

This patch enables Consistency Group support in the SolidFire driver.
SolidFire group snapshots are what is used to provide consistent
snapshots on the backend.

A variety of helpers were used to wrap the API requests, meanwhile
other helpers were utilized to jump through the necessary hoops to
adopt the SolidFire API/group snapshots for use in consistency groups.
Because the SolidFire array does not create logical groupings of
volumes as consistency groups, there are a lot of no-ops used to
satisfy the necessary Cinder functions as specified in driver.py.
In-line comments attempt to clarify this. In short, a lot of searching
is needed to create consistency groups on the fly per request.

Change-Id: I82a8b2b6f2db4fca0c1cac892e323eae59c6b98c
cinder/tests/unit/test_solidfire.py
cinder/volume/drivers/solidfire.py