3 describe 'cinder::backend::hp3par_iscsi' do
4 let (:title) { 'hp3par_iscsi' }
8 :hp3par_api_url => 'https://172.0.0.2:8080/api/v1',
9 :hp3par_username => '3paradm',
10 :hp3par_password => 'password',
11 :hp3par_iscsi_ips => '172.0.0.3',
12 :san_ip => '172.0.0.2',
13 :san_login => '3paradm',
14 :san_password => 'password',
22 describe 'hp3par_iscsi volume driver' do
23 it 'configure hp3par_iscsi volume driver' do
24 should contain_cinder_config('hp3par_iscsi/volume_driver').with_value('cinder.volume.drivers.san.hp.hp_3par_iscsi.HP3PARISCSIDriver')
25 should contain_cinder_config('hp3par_iscsi/hp3par_api_url').with_value('https://172.0.0.2:8080/api/v1')
26 should contain_cinder_config('hp3par_iscsi/hp3par_username').with_value('3paradm')
27 should contain_cinder_config('hp3par_iscsi/hp3par_password').with_value('password')
28 should contain_cinder_config('hp3par_iscsi/hp3par_iscsi_ips').with_value('172.0.0.3')
29 should contain_cinder_config('hp3par_iscsi/san_ip').with_value('172.0.0.2')
30 should contain_cinder_config('hp3par_iscsi/san_login').with_value('3paradm')
31 should contain_cinder_config('hp3par_iscsi/san_password').with_value('password')