[Pure Storage] Add new FlashArray Cinder driver params
Backport corrects a mistake in the original patch where default for ``pure_iscsi_cidr`` parameter. Fixed in master by0555ee4df2
Depends-On: I9ab50d6c0835ea69044249f1cbbbf10f9b6a2498 Change-Id: If135ab7bf06f4bc49db48b4248c472e77054249b (cherry picked from commit70720d21d7
)
This commit is contained in:
parent
5004eb6520
commit
5c53f0bfc6
|
@ -63,6 +63,8 @@ parameters:
|
||||||
CinderPureStorageProtocol:
|
CinderPureStorageProtocol:
|
||||||
type: string
|
type: string
|
||||||
default: 'iSCSI'
|
default: 'iSCSI'
|
||||||
|
constraints:
|
||||||
|
- allowed_values: ['iSCSI', 'FC']
|
||||||
CinderPureSanIp:
|
CinderPureSanIp:
|
||||||
type: string
|
type: string
|
||||||
CinderPureAPIToken:
|
CinderPureAPIToken:
|
||||||
|
@ -76,6 +78,29 @@ parameters:
|
||||||
CinderPureImageCache:
|
CinderPureImageCache:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
CinderPureHostPersonality:
|
||||||
|
type: string
|
||||||
|
default: ''
|
||||||
|
constraints:
|
||||||
|
- allowed_values: ['aix', 'esxi', 'hitachi-vsp', 'hpux',
|
||||||
|
'oracle-vm-server', 'solaris', 'vms', '']
|
||||||
|
description: Determines how the Purity system tunes the protocol
|
||||||
|
used between the array and the initiator.
|
||||||
|
A blank string will default to no Host Pesonality.
|
||||||
|
CinderPureIscsiCidr:
|
||||||
|
type: string
|
||||||
|
default: '0.0.0.0/0'
|
||||||
|
description: CIDR of FlashArray iSCSI targets hosts are allowed
|
||||||
|
to connect to. Default is any valid IPv4 address.
|
||||||
|
CinderPureEradicateOnDelete:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
description: When enabled, all Pure volumes, snapshots, and
|
||||||
|
protection groups will be eradicated at the time of
|
||||||
|
deletion in Cinder. Data will NOT be recoverable after
|
||||||
|
a delete with this set to True! When disabled, volumes
|
||||||
|
and snapshots will go into pending eradication state.
|
||||||
|
and can be recovered.
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
role_data:
|
role_data:
|
||||||
|
@ -93,6 +118,11 @@ outputs:
|
||||||
cinder::backend::pure::use_chap_auth: {get_param: CinderPureUseChap}
|
cinder::backend::pure::use_chap_auth: {get_param: CinderPureUseChap}
|
||||||
cinder::backend::pure::use_multipath_for_image_xfer: {get_param: CinderPureMultipathXfer}
|
cinder::backend::pure::use_multipath_for_image_xfer: {get_param: CinderPureMultipathXfer}
|
||||||
cinder::backend::pure::image_volume_cache_enabled : {get_param: CinderPureImageCache}
|
cinder::backend::pure::image_volume_cache_enabled : {get_param: CinderPureImageCache}
|
||||||
|
cinder::backend::pure::pure_eradicate_on_delete : {get_param: CinderPureEradicateOnDelete}
|
||||||
|
cinder::backend::pure::pure_iscsi_cidr : {get_param: CinderPureIscsiCidr}
|
||||||
- if:
|
- if:
|
||||||
- not: {equals : [{get_param: CinderPureAvailabilityZone}, '']}
|
- not: {equals : [{get_param: CinderPureAvailabilityZone}, '']}
|
||||||
- cinder::backend::pure::backend_availability_zone: {get_param: CinderPureAvailabilityZone}
|
- cinder::backend::pure::backend_availability_zone: {get_param: CinderPureAvailabilityZone}
|
||||||
|
- if:
|
||||||
|
- not: {equals : [{get_param: CinderPureHostPersonality}, '']}
|
||||||
|
- cinder::backend::pure::pure_host_personality: {get_param: CinderPureHostPersonality}
|
||||||
|
|
|
@ -15,6 +15,9 @@ parameter_defaults:
|
||||||
CinderPureUseChap: false
|
CinderPureUseChap: false
|
||||||
CinderPureMultipathXfer: true
|
CinderPureMultipathXfer: true
|
||||||
CinderPureImageCache: true
|
CinderPureImageCache: true
|
||||||
|
CinderPureHostPersonality: ''
|
||||||
|
CinderPureEradicateOnDelete: false
|
||||||
|
CinderPureIscsiCidr: '0.0.0.0/0'
|
||||||
|
|
||||||
# To configure multiple Pure backends, use CinderPureMultiConfig to
|
# To configure multiple Pure backends, use CinderPureMultiConfig to
|
||||||
# assign parameter values specific to that backend. For example:
|
# assign parameter values specific to that backend. For example:
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Added ``pure_iscsi_cidr`` and ``pure_host_personality``
|
||||||
|
and ``eradicate_on_delete`` support for the Pure Storage
|
||||||
|
FlashArray Cinder driver.
|
Loading…
Reference in New Issue