summaryrefslogtreecommitdiff
path: root/interface-definitions/dhcpv6-server.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-05 18:47:31 +0200
committerGitHub <noreply@github.com>2020-10-05 18:47:31 +0200
commita093620f1525c46f5b63453ca703a9b027a01748 (patch)
tree53e6d87b75e62b7771ef1fd952d4a5917b6813a0 /interface-definitions/dhcpv6-server.xml.in
parent65acae4868363117697ccefff10d0ef12fae9da4 (diff)
parent51a6eaa324775049ee666503ca0a63571750ac25 (diff)
downloadvyos-1x-a093620f1525c46f5b63453ca703a9b027a01748.tar.gz
vyos-1x-a093620f1525c46f5b63453ca703a9b027a01748.zip
Merge pull request #562 from lucasec/dhcpv6-stateless
dhcpv6: T2961: support stateless dhcpv6 clients
Diffstat (limited to 'interface-definitions/dhcpv6-server.xml.in')
-rw-r--r--interface-definitions/dhcpv6-server.xml.in42
1 files changed, 42 insertions, 0 deletions
diff --git a/interface-definitions/dhcpv6-server.xml.in b/interface-definitions/dhcpv6-server.xml.in
index 4073b46b2..acc33d40f 100644
--- a/interface-definitions/dhcpv6-server.xml.in
+++ b/interface-definitions/dhcpv6-server.xml.in
@@ -43,6 +43,48 @@
<valueless/>
</properties>
</leafNode>
+ <node name="common-options">
+ <properties>
+ <help>Common options to distribute to all clients, including stateless clients</help>
+ </properties>
+ <children>
+ <leafNode name="info-refresh-time">
+ <properties>
+ <help>Time (in seconds) that stateless clients should wait between refreshing the information they were given</help>
+ <valueHelp>
+ <format>1-4294967295</format>
+ <description>DHCPv6 information refresh time</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967295"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="domain-search">
+ <properties>
+ <help>Domain name for client to search</help>
+ <constraint>
+ <regex>[-_a-zA-Z0-9.]+</regex>
+ </constraint>
+ <constraintErrorMessage>Invalid domain name. May only contain letters, numbers and .-_</constraintErrorMessage>
+ <multi/>
+ </properties>
+ </leafNode>
+ <leafNode name="name-server">
+ <properties>
+ <help>IPv6 address of a Recursive DNS Server</help>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>IPv6 address of DNS name server</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv6-address"/>
+ </constraint>
+ <multi/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
<tagNode name="subnet">
<properties>
<help>IPv6 DHCP subnet for this shared network [REQUIRED]</help>