]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
NetApp NFS and iSCSI: move zapi client logic into modules
authorAlex Meade <mr.alex.meade@gmail.com>
Thu, 17 Apr 2014 14:34:38 +0000 (10:34 -0400)
committerAlex Meade <mr.alex.meade@gmail.com>
Mon, 24 Nov 2014 03:21:19 +0000 (22:21 -0500)
commitb1829bace07aaddafbf3048dfed0a92658dcf1a0
treedb5aba8153fc41c3e7b50a8e90033bb2b23b438f
parentf8dc04fe3fdd8a9b168581ebd2db0e4bcd80fe20
NetApp NFS and iSCSI: move zapi client logic into modules

This patch moves the logic for constructing zapi requests
into its own modules in order to reduce coupling with
driver logic, improve testability, and improve readability.
This patch also adds unit tests around the zapi request
logic.

Implements bp improve-netapp-drivers

Change-Id: I3939df9a55d77b14d723422c25bd3dd3bcef9fbe
19 files changed:
cinder/tests/test_netapp.py
cinder/tests/test_netapp_nfs.py
cinder/tests/volume/drivers/netapp/client/__init__.py [new file with mode: 0644]
cinder/tests/volume/drivers/netapp/client/test_base.py [new file with mode: 0644]
cinder/tests/volume/drivers/netapp/client/test_cmode.py [new file with mode: 0644]
cinder/tests/volume/drivers/netapp/client/test_seven_mode.py [new file with mode: 0644]
cinder/tests/volume/drivers/netapp/test_iscsi.py
cinder/tests/volume/drivers/netapp/test_utils.py
cinder/volume/drivers/netapp/api.py
cinder/volume/drivers/netapp/client/__init__.py [new file with mode: 0644]
cinder/volume/drivers/netapp/client/base.py [new file with mode: 0644]
cinder/volume/drivers/netapp/client/cmode.py [new file with mode: 0644]
cinder/volume/drivers/netapp/client/seven_mode.py [new file with mode: 0644]
cinder/volume/drivers/netapp/common.py
cinder/volume/drivers/netapp/eseries/iscsi.py
cinder/volume/drivers/netapp/iscsi.py
cinder/volume/drivers/netapp/nfs.py
cinder/volume/drivers/netapp/ssc_utils.py
cinder/volume/drivers/netapp/utils.py