summaryrefslogtreecommitdiff
path: root/interface-definitions/include/constraint/dhcp-client-string-option.xml.i
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2023-11-22 00:08:43 +0000
committerGitHub <noreply@github.com>2023-11-22 00:08:43 +0000
commitd1750790419d9db3e4d71974005190752c7928e0 (patch)
tree9f6521de731c1617d7a66062836dd20a1cf5a6e0 /interface-definitions/include/constraint/dhcp-client-string-option.xml.i
parent916adfaf0774df0731522bf3cbd886d794735c50 (diff)
parent30bbf2278f2b30d4cb67331292c27d09f9a81bf0 (diff)
downloadvyos-1x-d1750790419d9db3e4d71974005190752c7928e0.tar.gz
vyos-1x-d1750790419d9db3e4d71974005190752c7928e0.zip
Merge pull request #2510 from vyos/mergify/bp/sagitta/pr-2506
dhcp-client: T5760: add CLI option to pass user-class parameter (backport #2506)
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 -->