Merge "Add use_multipath_for_image_xfer with E-Series"
This commit is contained in:
commit
3bccc5dec6
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user