]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Update NetApp Drivers to use netapp_lib
authorGoutham Pacha Ravi <gouthamr@netapp.com>
Thu, 13 Aug 2015 07:47:53 +0000 (03:47 -0400)
committerGoutham Pacha Ravi <gouthamr@netapp.com>
Tue, 25 Aug 2015 19:03:21 +0000 (19:03 +0000)
commite681ba2a99995dcd999e6539bb1222f8a1ac8adc
treecb68e66bba68737b9132e1c65a3a3e6917709201
parent45fb47c724724943b60e4e5c09c50b151f2f5350
Update NetApp Drivers to use netapp_lib

Like other vendors, NetApp has published a storage controller
client library to PyPI for use by its OpenStack drivers. This
patch updates the NetApp Cinder drivers to use the new library.

The new library, when downloaded from PyPI, provides the REST
and ZAPI interface code that the driver references.
This code was previously part of the driver code tree in
Cinder: netapp/dataontap/client/api.py and netapp/eseries/client.py.
This patchset removes the relevant code from these files
and also modifies the unit tests to work in the absence
of the new library.

Implements: blueprint netapp-use-pypi-client-library

Change-Id: If51c13ade0497c8e89b044bebb393b52da62029a
27 files changed:
cinder/tests/unit/test_netapp.py
cinder/tests/unit/test_netapp_eseries_iscsi.py
cinder/tests/unit/test_netapp_nfs.py
cinder/tests/unit/test_netapp_ssc.py
cinder/tests/unit/volume/drivers/netapp/dataontap/client/fake_api.py [new file with mode: 0644]
cinder/tests/unit/volume/drivers/netapp/dataontap/client/test_api.py [deleted file]
cinder/tests/unit/volume/drivers/netapp/dataontap/client/test_client_7mode.py
cinder/tests/unit/volume/drivers/netapp/dataontap/client/test_client_base.py
cinder/tests/unit/volume/drivers/netapp/dataontap/client/test_client_cmode.py
cinder/tests/unit/volume/drivers/netapp/dataontap/fakes.py
cinder/tests/unit/volume/drivers/netapp/dataontap/test_block_7mode.py
cinder/tests/unit/volume/drivers/netapp/dataontap/test_block_base.py
cinder/tests/unit/volume/drivers/netapp/dataontap/test_block_cmode.py
cinder/tests/unit/volume/drivers/netapp/dataontap/test_nfs_cmode.py
cinder/tests/unit/volume/drivers/netapp/eseries/fakes.py
cinder/tests/unit/volume/drivers/netapp/eseries/test_client.py
cinder/tests/unit/volume/drivers/netapp/test_common.py
cinder/tests/unit/volume/drivers/netapp/test_utils.py
cinder/volume/drivers/netapp/common.py
cinder/volume/drivers/netapp/dataontap/block_base.py
cinder/volume/drivers/netapp/dataontap/client/api.py [deleted file]
cinder/volume/drivers/netapp/dataontap/client/client_7mode.py
cinder/volume/drivers/netapp/dataontap/client/client_base.py
cinder/volume/drivers/netapp/dataontap/client/client_cmode.py
cinder/volume/drivers/netapp/dataontap/ssc_cmode.py
cinder/volume/drivers/netapp/eseries/client.py
cinder/volume/drivers/netapp/utils.py