]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
New HP LeftHand array iSCSI driver
authorJim Branen <james.branen@hp.com>
Tue, 7 Jan 2014 00:14:35 +0000 (16:14 -0800)
committerJim Branen <james.branen@hp.com>
Mon, 10 Feb 2014 20:59:34 +0000 (12:59 -0800)
commit0e83faf4b84722a88ab35d8f0c3e391b0ec2d2af
tree8337afece303ec89cad52e6fe91b5e709be30d44
parent87e906c1684758bc5ad3b2ebfc7a30a14ff14f2e
New HP LeftHand array iSCSI driver

This driver is intended to replace the current OpenStack Block
Storage HP LeftHand (LH) StoreVirtual iSCSI Driver,
(cinder.volume.drivers.san.HpSanISCSIDriver), by moving the
existing SSH interface into the new driver to maintain backwards
compatibility, and add the new LH REST interface for new driver
features.

We have the driver broken into 3 files:
hp_lefthand_iscis.py (common interface)
hp_lefthand_cliq_proxy.py (old SSH interface)
hp_lefthand_rest_proxy.py (new REST interface)

The reason we are doing this is because the SSH interface on LH
array has connections and performance limitations. These problems
will be resolved by moving to the new LH OS REST interface. Also,
new LeftHand array capabilities will only be supported in the
REST(hplefthandclient) interface.

To support new driver capabilities (create cloned volume), the
python REST client (hplefthandclient) is required and can be
downloaded from the pypi repository:
  http://pypi.python.org/pypi/hplefthandclient.
This REST client requires LeftHand firmware version 11.5 or
greater.

The SSH interface will be phased out over time.

Driver cert test results;
Related-Bug: 1276809

Closes-Bug: 1277339

DocImpact: Document new driver configuration.

Implements blueprint lefthand-cinder-driver

Change-Id: Id557cab69022c3f7851be14cd82bdab0e4157e55
cinder/tests/test_HpSanISCSIDriver.py [deleted file]
cinder/tests/test_drivers_compatibility.py
cinder/tests/test_hplefthand.py [new file with mode: 0644]
cinder/volume/drivers/san/__init__.py
cinder/volume/drivers/san/hp/hp_lefthand_cliq_proxy.py [moved from cinder/volume/drivers/san/hp_lefthand.py with 91% similarity]
cinder/volume/drivers/san/hp/hp_lefthand_iscsi.py [new file with mode: 0644]
cinder/volume/drivers/san/hp/hp_lefthand_rest_proxy.py [new file with mode: 0644]
cinder/volume/manager.py
etc/cinder/cinder.conf.sample
test-requirements.txt