summaryrefslogtreecommitdiff
path: root/environment_config.yaml
blob: ab313abf7bb944e6b6de89bcf106e10648494231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
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