fuel-plugin-purestorage-cinder/environment_config.yaml
sdodsley 1ffe9fa4ed Update environment YAML with new parameters
Add Glance image Cache options and FC as a storage protocol

Change-Id: I7826dd7877158ad070b323cec6014e60e01cc5eb
2015-10-22 12:42:52 -04:00

115 lines
3.8 KiB
YAML

attributes:
multibackend:
value: true
label: 'Multi-backend enabled'
description: 'Pure Storage will be used in a multi-backend environment'
weight: 10
type: "checkbox"
pure_san_ip:
value: ''
label: 'Pure Storage Management IP (san_ip)'
description: 'The hostname (or IP address) for the Pure Storage Management VIP.'
weight: 15
type: "text"
regex:
source: '\S'
error: "IP field cannot be empty"
pure_api:
value: ''
label: 'API Token for Pure Storage (pure_api_token)'
description: 'Purity API token used to perform actions on the FlashArray.'
weight: 20
type: "text"
regex:
source: '\S'
error: "API token field cannot be empty"
pure_glance_image_cache:
value: "false"
values:
- data: "false"
label: "False"
description: 'Disable the Glance Image-Cache for Cinder backend'
- data: "true"
label: "True"
description: 'Enable the Glance Image-Cache for Cinder backend'
label: 'Glance Image-Cache (image_volume_cache_enabled)'
description: 'Configure the Glance Image-Cache for Cinder'
weight: 30
type: "radio"
pure_glance_cache_count:
value: '0'
label: 'Glance Image Cache Max Count (image_volume_cache_max_count)'
description: 'Maximum number of images in Glance Image Cache (0 = no limit)'
weight: 35
type: "text"
restrictions:
- condition: "settings:fuel-plugin-purestorage-cinder.pure_glance_image_cache.value != 'true'"
action: "hide"
regex:
source: '^[0-9]+$'
error: "Only numbers are permitted"
pure_glance_cache_size:
value: '0'
label: 'Glance Image Cache Size (image_volume_cache_max_size_gb)'
description: 'Maximum size for Glance Image Cache [GB] 90 = no limit)'
weight: 35
type: "text"
restrictions:
- condition: "settings:fuel-plugin-purestorage-cinder.pure_glance_image_cache.value != 'true'"
action: "hide"
regex:
source: '^[0-9]+$'
error: "Only numbers are permitted"
pure_protocol:
value: "iSCSI"
values:
- data: "iSCSI"
label: "iSCSI"
description: "Enables iSCSI protocol for block storage volumes"
- data: "FC"
label: "Fibre Channel"
description: "Enables Fibre Channel protocol for block storage volumes"
label: "Protocol for Pure Storage block access"
description: 'Select block storage protocol for FlashArray.'
weight: 60
type: "radio"
pure_chap:
value: "true"
values:
- data: "true"
label: "True"
description: "Enables CHAP on iSCSI connections to FlashArray"
- data: "false"
label: "False"
description: "Disables CHAP on iSCSI connections to FlashArray"
label: "Pure Storage iSCSI CHAP (use_chap_auth)"
description: 'Enable/Disable CHAP on iSCSI connections to the FlashArray.'
weight: 60
type: "radio"
pure_multipath:
value: "true"
values:
- data: "true"
label: "True"
description: "Enables multipathing for image transfers"
- data: "false"
label: "False"
description: "Disables multipathing for image transfers"
label: "Pure Storage Multipath for Image Transfers (use_multipath_for_image_xfer)"
description: 'Enable/Disable multipathing for image transfers.'
weight: 60
type: "radio"
pure_nova_multipath:
value: "false"
values:
- data: "true"
label: "True"
description: "Enables multipathing for Nova compute servers"
- data: "false"
label: "False"
description: "Disables multipathing for Nova compute servers"
label: "Multipathing for Nova Compute servers (iscsi_use_multipath)"
description: 'Enable/Disable multipathing for Nova compute servers.'
weight: 60
type: "radio"