add restrictions for NetApp driver on UI
Closes-bug: #1625205 Change-Id: Id9b45dd234027d0a0992bb2f12e5596453e9f9a5
This commit is contained in:
parent
8038e59613
commit
13bf85da64
@ -32,9 +32,16 @@ attributes:
|
|||||||
description: 'Use the NetApp onTap storage as a backend for manila shares'
|
description: 'Use the NetApp onTap storage as a backend for manila shares'
|
||||||
|
|
||||||
netapp-proto:
|
netapp-proto:
|
||||||
type: 'text'
|
type: 'radio'
|
||||||
weight: 31
|
weight: 31
|
||||||
value: 'https'
|
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'
|
label: 'NetApp transport type'
|
||||||
description: 'Transport protocol for communicating with the storage system'
|
description: 'Transport protocol for communicating with the storage system'
|
||||||
restrictions:
|
restrictions:
|
||||||
@ -62,6 +69,9 @@ attributes:
|
|||||||
restrictions:
|
restrictions:
|
||||||
- condition: "settings:fuel-plugin-manila.use-netapp-driver.value != true"
|
- condition: "settings:fuel-plugin-manila.use-netapp-driver.value != true"
|
||||||
action: hide
|
action: hide
|
||||||
|
regex:
|
||||||
|
source: '^[0-9]*$'
|
||||||
|
error: "Network port should be a number"
|
||||||
|
|
||||||
netapp-user:
|
netapp-user:
|
||||||
type: 'text'
|
type: 'text'
|
||||||
|
Loading…
Reference in New Issue
Block a user