summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/regex.py
diff options
context:
space:
mode:
authorKen Raffenetti <raffenet@mcs.anl.gov>2006-11-13 19:47:03 +0000
committerKen Raffenetti <raffenet@mcs.anl.gov>2006-11-13 19:47:03 +0000
commit96588b2fa6a602e020403a9452dcb4b56b7d48c5 (patch)
tree1ebdb14428ef1550dc0bc2c0f6d1b02cdaa9568e /src/lib/Server/Hostbase/regex.py
parent93f661a2c3cd3282419c5496a0086b7553aceaee (diff)
downloadbcfg2-96588b2fa6a602e020403a9452dcb4b56b7d48c5.tar.gz
bcfg2-96588b2fa6a602e020403a9452dcb4b56b7d48c5.tar.bz2
bcfg2-96588b2fa6a602e020403a9452dcb4b56b7d48c5.zip
made form checking more generic for basic install
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2495 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Hostbase/regex.py')
-rw-r--r--src/lib/Server/Hostbase/regex.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/Server/Hostbase/regex.py b/src/lib/Server/Hostbase/regex.py
index 2d9614da9..9b983a6bd 100644
--- a/src/lib/Server/Hostbase/regex.py
+++ b/src/lib/Server/Hostbase/regex.py
@@ -2,8 +2,5 @@ import re
date = re.compile('^[0-9]{4}-[0-9]{2}-[0-9]{2}$')
host = re.compile('^[a-z0-9-_]+(\.[a-z0-9-_]+)+$')
-printq = re.compile('^[a-z0-9-]+$')
-user = re.compile('^[a-z0-9-_\.@]+$')
-location = re.compile('^[0-9]{3}-[a-zA-Z][0-9]{3}$|none|bmr|cave|dsl|evl|mobile|offsite|mural|activespaces')
macaddr = re.compile('^[0-9abcdef]{2}(:[0-9abcdef]{2}){5}$|virtual')
ipaddr = re.compile('^[0-9]{1,3}(\.[0-9]{1,3}){3}$')