summaryrefslogtreecommitdiff
path: root/interface-definitions/include/dhcp/domain-search.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-19 11:31:01 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-19 12:39:08 +0200
commitbc71e8dcfbe0ae8b27c13dbb3ce8358726ef9585 (patch)
tree0cdc7293db8cba81ed27c5f5ba1804b9820e4b80 /interface-definitions/include/dhcp/domain-search.xml.i
parent404b4c7b7b4f3063bc2bb608a32833d6cf23d834 (diff)
downloadvyos-1x-bc71e8dcfbe0ae8b27c13dbb3ce8358726ef9585.tar.gz
vyos-1x-bc71e8dcfbe0ae8b27c13dbb3ce8358726ef9585.zip
xml: dhcp-server: move building blocks to dhcp subdirectory
(cherry picked from commit 59e5b5eb4c0507f9d3831483152a748b58560bfd)
Diffstat (limited to 'interface-definitions/include/dhcp/domain-search.xml.i')
-rw-r--r--interface-definitions/include/dhcp/domain-search.xml.i12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/include/dhcp/domain-search.xml.i b/interface-definitions/include/dhcp/domain-search.xml.i
new file mode 100644
index 000000000..bcc8fcd12
--- /dev/null
+++ b/interface-definitions/include/dhcp/domain-search.xml.i
@@ -0,0 +1,12 @@
+<!-- include start from dhcp/domain-search.xml.i -->
+<leafNode name="domain-search">
+ <properties>
+ <help>Client Domain Name search list</help>
+ <constraint>
+ <validator name="fqdn"/>
+ </constraint>
+ <constraintErrorMessage>Invalid domain name (RFC 1123 section 2).\nMay only contain letters, numbers, period, and underscore.</constraintErrorMessage>
+ <multi/>
+ </properties>
+</leafNode>
+<!-- include end -->