3 describe 'cinder::volume::eqlx' do
6 :san_ip => '192.168.100.10',
7 :san_login => 'grpadmin',
8 :san_password => '12345',
9 :san_thin_provision => true,
10 :eqlx_group_name => 'group-a',
11 :eqlx_pool => 'apool',
12 :eqlx_use_chap => true,
13 :eqlx_chap_login => 'chapadm',
14 :eqlx_chap_password => '56789',
15 :eqlx_cli_timeout => 31,
16 :eqlx_cli_max_retries => 6,
20 describe 'eqlx volume driver' do
21 it 'configures eqlx volume driver' do
22 should contain_cinder_config('DEFAULT/volume_driver').with_value('cinder.volume.drivers.eqlx.DellEQLSanISCSIDriver')
23 should contain_cinder_config('DEFAULT/volume_backend_name').with_value('DEFAULT')
25 params.each_pair do |config,value|
26 should contain_cinder_config("DEFAULT/#{config}").with_value(value)
30 it 'marks eqlx_chap_password as secret' do
31 should contain_cinder_config('DEFAULT/eqlx_chap_password').with_secret( true )