Merge "Add use_multipath_for_image_xfer with E-Series"

This commit is contained in:
Jenkins 2014-10-09 14:23:37 +00:00 committed by Gerrit Code Review
commit 3bccc5dec6
2 changed files with 13 additions and 0 deletions

View File

@ -198,4 +198,10 @@ define cinder::backend::netapp (
"${volume_backend_name}/netapp_storage_pools": value => $netapp_storage_pools;
"${volume_backend_name}/netapp_webservice_path": value => $netapp_webservice_path;
}
if $netapp_storage_family == 'eseries' {
cinder_config {
"${volume_backend_name}/use_multipath_for_image_xfer": value => true;
}
}
}

View File

@ -70,4 +70,11 @@ describe 'cinder::backend::netapp' do
it_configures 'netapp volume driver'
end
context 'with netapp_storage_family eseries' do
let (:req_params) { params.merge!({
:netapp_storage_family => 'eseries',
}) }
it { should contain_cinder_config("#{req_params[:volume_backend_name]}/use_multipath_for_image_xfer").with_value('true') }
end
end