]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Dell: Added verify cert option for REST calls
authorTom Swanson <tom_swanson@dell.com>
Tue, 12 May 2015 17:37:43 +0000 (12:37 -0500)
committerTom Swanson <tom_swanson@dell.com>
Fri, 5 Jun 2015 16:05:56 +0000 (11:05 -0500)
commit6e0e4d368318354b3ac3650aa6eeb13c29e8d50b
tree4fab2c61cb1970103f19b8dcb3d8c5c3c828bec0
parent5a5b9ca3ed013dd6cfcda393709c4e130ee3a9ab
Dell: Added verify cert option for REST calls

If one goes through the trouble to create a cert and
install it on the Dell Data Collector and on the cinder
node then we can enable certificate verification on the
request calls to the Dell REST API.

This simply makes dell_sc_verify_cert a cinder.conf option
for a Dell backend and directly uses that as the verify
option on the REST requests.  Default is False.

The update_migrated_volume function arrived via a rebase
and had a merge issue that was fixed.  Specifically the
dell_sc_ssn value is no longer part of the api.find_sc
call.

Spelling error also corrected in a LOG message.

SecImpact

Change-Id: I22348d5e0b55d56f44f1fc4f0c830790a6670494
Implements: blueprint dell-sc-add-verify-cert
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