
Add support for EMC VNX direct driver. - Create the volume driver for EMC VNX direct driver - Create the backend for volume type support (multi-backend) - Unit test for basic parameters Official documentation used: http://docs.openstack.org/trunk/config-reference/content/emc-vnx-direct-driver.html Change-Id: Iccaea371751aac92b6d0df2011e18fd9bd6b98e9
33 lines
1.0 KiB
Ruby
33 lines
1.0 KiB
Ruby
require 'spec_helper'
|
|
|
|
describe 'cinder::volume::emc_vnx' do
|
|
let :req_params do
|
|
{
|
|
:san_ip => '127.0.0.2',
|
|
:san_login => 'emc',
|
|
:san_password => 'password',
|
|
:iscsi_ip_address => '127.0.0.3',
|
|
:storage_vnx_pool_name => 'emc-storage-pool'
|
|
}
|
|
end
|
|
|
|
let :facts do
|
|
{:osfamily => 'Redhat' }
|
|
end
|
|
|
|
let :params do
|
|
req_params
|
|
end
|
|
|
|
describe 'emc vnx volume driver' do
|
|
it 'configure emc vnx volume driver' do
|
|
should contain_cinder_config('DEFAULT/volume_driver').with_value('cinder.volume.drivers.emc.emc_cli_iscsi.EMCCLIISCSIDriver')
|
|
should contain_cinder_config('DEFAULT/san_ip').with_value('127.0.0.2')
|
|
should contain_cinder_config('DEFAULT/san_login').with_value('emc')
|
|
should contain_cinder_config('DEFAULT/san_password').with_value('password')
|
|
should contain_cinder_config('DEFAULT/iscsi_ip_address').with_value('127.0.0.3')
|
|
should contain_cinder_config('DEFAULT/storage_vnx_pool_name').with_value('emc-storage-pool')
|
|
end
|
|
end
|
|
end
|