Update scaleio cinder driver params

Added parameters that were missing
for the scaleio cinder driver configuration

Change-Id: I965b225fa665f5e60a3cbfe3d2257b99059f77a1
(cherry picked from commit 299cde57c8)
This commit is contained in:
rajinir 2017-01-23 13:45:05 -06:00
parent b12abbfc33
commit 3f2b95e7ef
2 changed files with 13 additions and 1 deletions

View File

@ -34,9 +34,15 @@
# (optional) Server certificate path.
# Defaults to $::os_service_default
#
# [*sio_protection_domain_id*]
# (String) Protection Domain ID.
#
# [*sio_protection_domain_name*]
# (String) Protection Domain name.
#
# [*sio_storage_pool_id*]
# (String) Storage Pool ID.
#
# [*sio_storage_pool_name*]
# (String) Storage Pool name.
#
@ -97,7 +103,9 @@ define cinder::backend::scaleio (
$sio_login,
$sio_password,
$sio_server_hostname,
$sio_protection_domain_id,
$sio_protection_domain_name,
$sio_storage_pool_id,
$sio_storage_pool_name,
$sio_storage_pools,
$volume_backend_name = $name,
@ -121,7 +129,9 @@ define cinder::backend::scaleio (
"${name}/sio_rest_server_port": value => $sio_server_port;
"${name}/sio_verify_server_certificate": value => $sio_verify_server_certificate;
"${name}/sio_server_certificate_path": value => $sio_server_certificate_path;
"${name}/sio_protection_domain_id": value => $sio_protection_domain_id;
"${name}/sio_protection_domain_name": value => $sio_protection_domain_name;
"${name}/sio_storage_pool_id": value => $sio_storage_pool_id;
"${name}/sio_storage_pool_name": value => $sio_storage_pool_name;
"${name}/sio_storage_pools": value => $sio_storage_pools;
"${name}/sio_round_volume_capacity": value => $sio_round_volume_capacity;

View File

@ -19,9 +19,11 @@ describe 'cinder::backend::scaleio' do
:sio_server_certificate_path => '/path/cert.pem',
:sio_max_over_subscription_ratio => '6.0',
:sio_verify_server_certificate => true,
:sio_storage_pool_id => 'poolid1',
:sio_storage_pools => 'domain1:pool1,domain2:pool2',
:sio_storage_pool_name => 'pool1',
:sio_protection_domain_name => 'doimain1',
:sio_protection_domain_id => 'domainid1',
:sio_protection_domain_name => 'domain1',
:sio_unmap_volume_before_deletion => false,
:sio_round_volume_capacity => true,
}