]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add support for manage/unmanage volume commands to PureISCSIDriver
authorPatrick East <patrick.east@purestorage.com>
Thu, 18 Dec 2014 23:21:02 +0000 (15:21 -0800)
committerPatrick East <patrick.east@purestorage.com>
Fri, 16 Jan 2015 19:11:18 +0000 (11:11 -0800)
commit4d220211cfb9ec775ac8090b3c467570a26bf156
tree6aff86339794cfeb4fe62720919d7f5db8f9a288
parent6d59b89838b6ddd445592847d0f75c77187e5b40
Add support for manage/unmanage volume commands to PureISCSIDriver

This change adds implementations of the required methods to make
manage and unmanage commands work with the PureISCSIDriver. You can now
call them and specify a volume name of an existing non-cinder volume on
the array and it will rename the volume accordingly to allow cinder to
manage it. When a volume is unmanaged it is renamed with a “-unmanaged”
suffix and left on the array.

Implements: blueprint pure-iscsi-manage-volume
Change-Id: I2fa63ba50a367fd06a2ede7768eb338bf6a1ee4e
cinder/tests/test_pure.py
cinder/volume/drivers/pure.py