summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-03-02 08:34:13 +0000
committersever-sever <v.gletenko@vyos.io>2021-03-02 22:48:14 +0000
commit117533482d29ce0bd1bc7f3a3f2536921c16565c (patch)
treed89a8b5f10dbba2e8823ac012957dd30e20c3f94 /interface-definitions
parentecd936a0189e7f785929a585cd190cbbf3bc4c1b (diff)
downloadvyos-1x-117533482d29ce0bd1bc7f3a3f2536921c16565c.tar.gz
vyos-1x-117533482d29ce0bd1bc7f3a3f2536921c16565c.zip
dhcpv6-server: T3379: Add option global-parameters name-server
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/dhcpv6-server.xml.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/dhcpv6-server.xml.in b/interface-definitions/dhcpv6-server.xml.in
index fb0e79c47..a3cca06da 100644
--- a/interface-definitions/dhcpv6-server.xml.in
+++ b/interface-definitions/dhcpv6-server.xml.in
@@ -10,6 +10,26 @@
</properties>
<children>
#include <include/generic-disable-node.xml.i>
+ <node name="global-parameters">
+ <properties>
+ <help>Additional global parameters for DHCPv6 server</help>
+ </properties>
+ <children>
+ <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>
<leafNode name="preference">
<properties>
<help>Preference of this DHCPv6 server compared with others</help>