summaryrefslogtreecommitdiff
path: root/interface-definitions/include/dhcp/domain-name.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/dhcp/domain-name.xml.i')
-rw-r--r--interface-definitions/include/dhcp/domain-name.xml.i11
1 files changed, 11 insertions, 0 deletions
diff --git a/interface-definitions/include/dhcp/domain-name.xml.i b/interface-definitions/include/dhcp/domain-name.xml.i
new file mode 100644
index 000000000..410e27d29
--- /dev/null
+++ b/interface-definitions/include/dhcp/domain-name.xml.i
@@ -0,0 +1,11 @@
+<!-- include start from dhcp/domain-name.xml.i -->
+<leafNode name="domain-name">
+ <properties>
+ <help>Client Domain Name</help>
+ <constraint>
+ <validator name="fqdn"/>
+ </constraint>
+ <constraintErrorMessage>Invalid domain name (RFC 1123 section 2).\nMay only contain letters, numbers and .-_</constraintErrorMessage>
+ </properties>
+</leafNode>
+<!-- include end -->