Update cookbook for storwize new features

There are new configuration items added to cinder.conf
for new features "QoS" and "volume-replication" in Juno.

Change-Id: I6f69dbe6cc1e0a1dbb5da1417d44211463a7df36
This commit is contained in:
TaoBai
2015-03-27 02:15:24 -07:00
parent c11812f7eb
commit c836a99b04
4 changed files with 19 additions and 2 deletions

View File

@@ -596,7 +596,8 @@ describe 'openstack-block-storage::cinder-common' do
storwize_svc_flashcopy_timeout=120
storwize_svc_connection_protocol=iSCSI
storwize_svc_iscsi_chap_enabled=true
storwize_svc_multihostmap_enabled=true).each do |attr|
storwize_svc_multihostmap_enabled=true
storwize_svc_allow_tenant_qos=false).each do |attr|
expect(chef_run).to render_file(file.name).with_content(/^#{attr}$/)
end
end
@@ -614,7 +615,9 @@ describe 'openstack-block-storage::cinder-common' do
storwize_svc_vol_iogrp
storwize_svc_flashcopy_timeout
storwize_svc_connection_protocol
storwize_svc_multihostmap_enabled).each do |attr|
storwize_svc_multihostmap_enabled
storwize_svc_allow_tenant_qos
storwize_svc_stretched_cluster_partner).each do |attr|
node.set['openstack']['block-storage']['storwize'][attr] = "storwize_#{attr}_value"
expect(chef_run).to render_file(file.name).with_content(/^#{attr}=storwize_#{attr}_value$/)
end