#------------------------------------------------------------------------------- # /etc/check.d/xen.exp - eischk expression file for xen # # Creation: 05.12.2007 rg # Last Update: $Id$ # # Copyright (c) 2007 the eisfair team, team(at)eisfair(dot)org # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #------------------------------------------------------------------------------- XEN_AUTH = 'none|pam' : 'none or pam' XEN_BOOTDEVICE = 'a|c|d' : 'boot device must be a for disk, c for harddisk or d for cdrom' XEN_DISKMODE = 'r|w' : 'must be r for read-only or w for writable disks' XEN_DISKTYPE = 'file|phy' : 'must be file or phy' XEN_DISKSUBTYPE = 'hdd|cd' : 'must be hdd or cd' XEN_MAPTO = '(RE:DISK)|(RE:PARTITION)|(xvd[a-z])|(xvd[a-z])[1-8]' : 'should be a disk or a partition' XEN_PORT = '()|[0-9]{0,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]' : 'port must be in range 1..65535. Leave empty for default port 9363' XEN_MACADDR = '()|(RE:MACADDR)' : 'wrong mac address, should be empty or 6 hex numbers each represented by two digits and devided by ":" (for instance 00:00:E8:83:72:92)' XEN_BRIDGE = '()|(RE:IP_NET_NAME)' : 'Invalid device name, only empty, ethernet (eth), token ring (tr), bridge (br), bonding (bond), xen bridge (xen-br) or dummy (dummy) devices are allowed.' VCPUS_NUM = '[1-9][0-9]*' : 'Virtual CPU number must be greater than 0.'