]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Dell SC driver honoring folder name after volume creation.
authorTom Swanson <tom_swanson@dell.com>
Mon, 27 Apr 2015 22:33:40 +0000 (17:33 -0500)
committerTom Swanson <tom_swanson@dell.com>
Tue, 12 May 2015 17:42:09 +0000 (12:42 -0500)
commit5a5b9ca3ed013dd6cfcda393709c4e130ee3a9ab
tree8be91c4a53f5fa906526a9f99773498bb53410ef
parente26120354fbcdeeedab623d3ce7b5fba3d98a506
Dell SC driver honoring folder name after volume creation.

The Dell SC driver was not honoring the volume folder name
after creation.  This has been changed so that find_volume
now checks the dell_sc_volume_folder for the requested volume
before doing a general search of the storage center.  In
either case if more than one volume is returned (two in
the dell_sc_volume_folder or two outside of that folder) then
an exception is thrown.

Also the dell_sc_volume_folder, dell_sc_server_folder and
dell_sc_ssn variables are no longer being passed arond.  They
are saved as part of the backend API object.

Tests have been updated.

Change-Id: I962ea3ed262d21deff65cdc8476939aab6ba07e2
Closes-Bug: #1449290
cinder/tests/unit/test_dellfc.py
cinder/tests/unit/test_dellsc.py
cinder/tests/unit/test_dellscapi.py
cinder/volume/drivers/dell/dell_storagecenter_api.py
cinder/volume/drivers/dell/dell_storagecenter_common.py
cinder/volume/drivers/dell/dell_storagecenter_fc.py
cinder/volume/drivers/dell/dell_storagecenter_iscsi.py