summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/regex.py
diff options
context:
space:
mode:
authorKen Raffenetti <raffenet@mcs.anl.gov>2006-11-06 21:23:07 +0000
committerKen Raffenetti <raffenet@mcs.anl.gov>2006-11-06 21:23:07 +0000
commit75e2d050496db86c6ed1e4c8ec8c9c9da6341f77 (patch)
tree52d05dda8965c0dbdc94f122c8da1330967ea177 /src/lib/Server/Hostbase/regex.py
parent23c1f2cc6be9926fdfe85e37869ef88f84b9200e (diff)
downloadbcfg2-75e2d050496db86c6ed1e4c8ec8c9c9da6341f77.tar.gz
bcfg2-75e2d050496db86c6ed1e4c8ec8c9c9da6341f77.tar.bz2
bcfg2-75e2d050496db86c6ed1e4c8ec8c9c9da6341f77.zip
dhcp option is now per interface
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2474 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Hostbase/regex.py')
-rw-r--r--src/lib/Server/Hostbase/regex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Hostbase/regex.py b/src/lib/Server/Hostbase/regex.py
index 4e86293fb..2d9614da9 100644
--- a/src/lib/Server/Hostbase/regex.py
+++ b/src/lib/Server/Hostbase/regex.py
@@ -5,5 +5,5 @@ 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}$')
+macaddr = re.compile('^[0-9abcdef]{2}(:[0-9abcdef]{2}){5}$|virtual')
ipaddr = re.compile('^[0-9]{1,3}(\.[0-9]{1,3}){3}$')