Browse Source

[Pure Storage] Add new params for FlashArray Cinder driver

Depends-On: Ia48fa3fa8ce3a3563fdab0966dc5a44f30248bc8
Change-Id: I9ab50d6c0835ea69044249f1cbbbf10f9b6a2498
changes/35/816835/5
Simon Dodsley 3 months ago
parent
commit
bb89515468
  1. 20
      manifests/profile/base/cinder/volume/pure.pp
  2. 6
      releasenotes/notes/pure_storage_update_cinder_params-94940d1d3ca46877.yaml

20
manifests/profile/base/cinder/volume/pure.pp

@ -40,13 +40,16 @@ class tripleo::profile::base::cinder::volume::pure (
if $step >= 4 {
$backend_defaults = {
'CinderPureAvailabilityZone' => hiera('cinder::backend::pure::backend_availability_zone', undef),
'CinderPureSanIp' => hiera('cinder::backend::pure::san_ip', undef),
'CinderPureAPIToken' => hiera('cinder::backend::pure::pure_api_token', undef),
'CinderPureStorageProtocol' => hiera('cinder::backend::pure::pure_storage_protocol', undef),
'CinderPureUseChap' => hiera('cinder::backend::pure::use_chap_auth', undef),
'CinderPureMultipathXfer' => hiera('cinder::backend::pure::use_multipath_for_image_xfer', undef),
'CinderPureImageCache' => hiera('cinder::backend::pure::image_volume_cache_enabled', undef),
'CinderPureAvailabilityZone' => hiera('cinder::backend::pure::backend_availability_zone', undef),
'CinderPureSanIp' => hiera('cinder::backend::pure::san_ip', undef),
'CinderPureAPIToken' => hiera('cinder::backend::pure::pure_api_token', undef),
'CinderPureStorageProtocol' => hiera('cinder::backend::pure::pure_storage_protocol', undef),
'CinderPureUseChap' => hiera('cinder::backend::pure::use_chap_auth', undef),
'CinderPureMultipathXfer' => hiera('cinder::backend::pure::use_multipath_for_image_xfer', undef),
'CinderPureImageCache' => hiera('cinder::backend::pure::image_volume_cache_enabled', undef),
'CinderPureIscsiCidr' => hiera('cinder::backend::pure::pure_iscsi_cidr', undef),
'CinderPureHostPersonality' => hiera('cinder::backend::pure::pure_host_personality', undef),
'CinderPureEradicateOnDelete' => hiera('cinder::backend::pure::pure_eradicate_on_delete', undef),
}
$backend_name.each |String $backend| {
@ -60,6 +63,9 @@ class tripleo::profile::base::cinder::volume::pure (
'use_chap_auth' => $backend_config['CinderPureUseChap'],
'use_multipath_for_image_xfer' => $backend_config['CinderPureMultipathXfer'],
'image_volume_cache_enabled' => $backend_config['CinderPureImageCache'],
'pure_iscsi_cidr' => $backend_config['CinderPureIscsiCidr'],
'pure_host_personality' => $backend_config['CinderPureHostPersonality'],
'pure_eradicate_on_delete' => $backend_config['CinderPureEradicateOnDelete'],
})})
}
}

6
releasenotes/notes/pure_storage_update_cinder_params-94940d1d3ca46877.yaml

@ -0,0 +1,6 @@
---
features:
- |
Added support for host personality, iSCSI CIDR and
eradicate on delete parameters for Pure Storage
FlashArray Cinder backend.
Loading…
Cancel
Save