Revision b5a3b24a
b/lib/constants.py | ||
---|---|---|
78 | 78 |
# might be different at runtime). |
79 | 79 |
HVC_DEFAULTS[HT_XEN_HVM][HV_VNC_PASSWORD_FILE] = pathutils.VNC_PASSWORD_FILE |
80 | 80 |
|
81 |
# Regex string for verifying a UUID |
|
82 |
UUID_REGEX = "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" |
|
83 |
|
|
84 | 81 |
# Do not re-export imported modules |
85 | 82 |
del re, socket, pathutils, compat |
b/src/Ganeti/HsConstants.hs | ||
---|---|---|
4309 | 4309 |
-- | Interval between disk removal retries (seconds) |
4310 | 4310 |
diskRemoveRetryInterval :: Int |
4311 | 4311 |
diskRemoveRetryInterval = 3 |
4312 |
|
|
4313 |
-- * UUID regex |
|
4314 |
|
|
4315 |
uuidRegex :: String |
|
4316 |
uuidRegex = "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" |
Also available in: Unified diff