3 describe 'cinder::backend::eqlx' do
4 let (:config_group_name) { 'eqlx-1' }
6 let (:title) { config_group_name }
10 :san_ip => '192.168.100.10',
11 :san_login => 'grpadmin',
12 :san_password => '12345',
13 :volume_backend_name => 'Dell_EQLX',
14 :san_thin_provision => true,
15 :eqlx_group_name => 'group-a',
16 :eqlx_pool => 'apool',
17 :eqlx_use_chap => true,
18 :eqlx_chap_login => 'chapadm',
19 :eqlx_chap_password => '56789',
20 :eqlx_cli_timeout => 31,
21 :eqlx_cli_max_retries => 6,
25 describe 'eqlx volume driver' do
26 it 'configure eqlx volume driver' do
27 should contain_cinder_config(
28 "#{config_group_name}/volume_driver").with_value(
29 'cinder.volume.drivers.eqlx.DellEQLSanISCSIDriver')
30 params.each_pair do |config,value|
31 should contain_cinder_config(
32 "#{config_group_name}/#{config}").with_value(value)