summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-03-02 08:34:13 +0000
committerChristian Poessinger <christian@poessinger.com>2021-05-01 09:28:03 +0200
commit4e8fa34544c8768e47da21d9fa386741f7ba10be (patch)
tree3d3c260fb7ec19e9ea308a2f75f90fe17c6899cb /interface-definitions
parent9d1257d861fb20635a36bbe386dd4da25e50c610 (diff)
downloadvyos-1x-4e8fa34544c8768e47da21d9fa386741f7ba10be.tar.gz
vyos-1x-4e8fa34544c8768e47da21d9fa386741f7ba10be.zip
dhcpv6-server: T3379: Add option global-parameters name-server
(cherry picked from commit 117533482d29ce0bd1bc7f3a3f2536921c16565c)
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>