Add check to endpoint syntax
Change-Id: I625c2d1000b7834b34736f316f486a0650c66cc9 Closes-Bug: 1397000
This commit is contained in:
parent
051f3fb20c
commit
4784388e02
|
@ -0,0 +1,4 @@
|
|||
[gerrit]
|
||||
host=review.openstack.org
|
||||
port=29418
|
||||
project=stackforge/fuel-plugin-external-glusterfs.git
|
|
@ -5,3 +5,6 @@ attributes:
|
|||
description: 'IP address of GlusterFS endpoint'
|
||||
weight: 25
|
||||
type: "text"
|
||||
regex:
|
||||
source: '^([a-zA-Z0-9]+[-\.])*[a-zA-Z0-9]+\:(([1-9][0-9]{0,3}|[1-6][0-5][0-5][0-3][0-5])\:){0,1}\/(\.{3,}[a-zA-Z0-9-_\.]*|\.{0,2}[a-zA-Z0-9-_]+[a-zA-Z0-9-_\.]*)$'
|
||||
error: "Invalid address"
|
||||
|
|
Loading…
Reference in New Issue