]> git.proxmox.com Git - pve-manager.git/commit
add HostList validator and check monhosts with it
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 12 Jul 2016 12:41:28 +0000 (14:41 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 15 Jul 2016 09:53:05 +0000 (11:53 +0200)
commit70e779e47bc0cc505d45e2c9d3f2038ddf0af697
tree4983c2b099afb0bff829303bb851fe419fd9a5a2
parent7b58d7b272fb03b153611737195af1ca127fc058
add HostList validator and check monhosts with it

this adds a vtype which splits the given string into a list by
; or , or space
and checks if it is a valid (hostname|ip) port notation

also make the rbd monhost input field use it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/Toolkit.js
www/manager6/Utils.js
www/manager6/storage/RBDEdit.js