fuel-plugin-manila/environment_config.yaml

131 lines
3.8 KiB
YAML

attributes:
metadata:
# Settings group can be one of "general", "security", "compute", "network",
# "storage", "logging", "openstack_services" and "other".
group: 'openstack_services'
use-generic-driver:
type: 'checkbox'
weight: 10
value: true
label: 'Use the Generic driver'
description: 'Use the cinder volumes as a backend for manila shares'
fuel-plugin-manila_image:
value: 'manila-service-image.qcow2'
label: 'Image name'
description: 'Name of the service image for generic driver'
weight: 25
type: 'text'
restrictions:
- condition: "settings:fuel-plugin-manila.use-generic-driver.value != true"
action: hide
regex:
source: &non_empty_image_name '\S'
error: "Empty image name"
use-netapp-driver:
type: 'checkbox'
weight: 30
value: false
label: 'Use the NetApp driver'
description: 'Use the NetApp ONTAP storage as a backend for manila shares'
netapp-proto:
type: 'radio'
weight: 31
value: 'https'
values:
- data: 'https'
label: 'https'
description: 'Choose this protocol for encrypted connection'
- data: 'http'
label: 'http'
description: 'Choose this protocol for not encrypted connection'
label: 'NetApp transport type'
description: 'Transport protocol for communicating with the storage system'
restrictions:
- condition: "settings:fuel-plugin-manila.use-netapp-driver.value != true"
action: hide
netapp-host:
type: 'text'
weight: 32
label: 'NetApp server hostname'
description: 'Set the address, port and protocol for to the server access'
value: ""
restrictions:
- condition: "settings:fuel-plugin-manila.use-netapp-driver.value != true"
action: hide
regex:
source: &non_empty_netapp_host '\S'
error: "Empty hostname of NetApp server"
netapp-port:
type: 'text'
weight: 33
value: '443'
label: 'NetApp server port'
restrictions:
- condition: "settings:fuel-plugin-manila.use-netapp-driver.value != true"
action: hide
regex:
source: '^[0-9]*$'
error: "Network port should be a number"
netapp-user:
type: 'text'
weight: 34
label: 'NetApp server username'
description: 'Set the username for to the server access'
value: ""
restrictions:
- condition: "settings:fuel-plugin-manila.use-netapp-driver.value != true"
action: hide
regex:
source: &non_empty_netapp_user '\S'
error: "Empty username"
netapp-pass:
type: 'text'
weight: 35
label: 'NetApp server password'
description: 'Set the password for to the server access'
value: ""
restrictions:
- condition: "settings:fuel-plugin-manila.use-netapp-driver.value != true"
action: hide
regex:
source: &non_empty_netapp_pass '\S'
error: "Empty password"
netapp-root_volume_aggregate:
type: 'text'
weight: 36
label: 'NetApp root volume aggregate'
description: 'Set the parameter netapp_root_volume_aggregate'
value: 'aggr1'
restrictions:
- condition: "settings:fuel-plugin-manila.use-netapp-driver.value != true"
action: hide
netapp-aggregate_name_search_pattern:
type: 'text'
weight: 37
label: 'NetApp search pattern for aggregation names'
description: 'Set the parameter netapp_aggregate_name_search_pattern'
value: '^((?!aggr0).)*$'
restrictions:
- condition: "settings:fuel-plugin-manila.use-netapp-driver.value != true"
action: hide
netapp-port_name_search_pattern:
type: 'text'
weight: 38
label: 'NetApp search pattern for storage port names'
description: 'Set the parameter netapp_port_name_search_pattern'
value: '^(e0a)$'
restrictions:
- condition: "settings:fuel-plugin-manila.use-netapp-driver.value != true"
action: hide