summaryrefslogtreecommitdiff
path: root/interface-definitions/include/constraint/dhcp-client-string-option.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-20 15:53:45 +0100
committerGitHub <noreply@github.com>2023-11-20 15:53:45 +0100
commit391bd40f863b490241c6101e6333ba1327f32586 (patch)
treec8779bec9ea2cc50af26ef7ac2e66d964e30577e /interface-definitions/include/constraint/dhcp-client-string-option.xml.i
parente92667504e0c503b7c0d125d89d8795d6b6d5876 (diff)
parent260645d0c6ff078cc89601f3a586195902f9c18e (diff)
downloadvyos-1x-391bd40f863b490241c6101e6333ba1327f32586.tar.gz
vyos-1x-391bd40f863b490241c6101e6333ba1327f32586.zip
Merge pull request #2506 from c-po/t5760-dhcp-user-class
dhcp-client: T5760: add CLI option to pass user-class parameter
Diffstat (limited to 'interface-definitions/include/constraint/dhcp-client-string-option.xml.i')
-rw-r--r--interface-definitions/include/constraint/dhcp-client-string-option.xml.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/interface-definitions/include/constraint/dhcp-client-string-option.xml.i b/interface-definitions/include/constraint/dhcp-client-string-option.xml.i
new file mode 100644
index 000000000..76e0e5466
--- /dev/null
+++ b/interface-definitions/include/constraint/dhcp-client-string-option.xml.i
@@ -0,0 +1,4 @@
+<!-- include start from include/constraint/dhcp-client-string-option.xml.i -->
+<regex>[-_a-zA-Z0-9\s]+</regex>
+<regex>([a-fA-F0-9][a-fA-F0-9]:){2,}[a-fA-F0-9][a-fA-F0-9]</regex>
+<!-- include end -->