summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-03 00:17:54 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-03 00:17:54 +0100
commita56ecbd9566a193fd64681716232d813fc0f0e85 (patch)
treed0db259a0a7ea4b17fad75c36f13513f1050e229 /interface-definitions
parentaf609001364404e0b53ac3ee31ac75de54325ecb (diff)
parent117533482d29ce0bd1bc7f3a3f2536921c16565c (diff)
downloadvyos-1x-a56ecbd9566a193fd64681716232d813fc0f0e85.tar.gz
vyos-1x-a56ecbd9566a193fd64681716232d813fc0f0e85.zip
Merge branch 'T3379' of https://github.com/sever-sever/vyos-1x into current
* 'T3379' of https://github.com/sever-sever/vyos-1x: 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>