summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-19 10:51:34 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-19 10:51:34 +0200
commit0588c120b8c2041b60e83effe15303af1e1cdbef (patch)
treef7380eea9da9c4857ce69afac7bc0e4c5c22f6af /interface-definitions/include
parent84f20f1d5e09ea5da53ba1c81c9b92683a294409 (diff)
downloadvyos-1x-0588c120b8c2041b60e83effe15303af1e1cdbef.tar.gz
vyos-1x-0588c120b8c2041b60e83effe15303af1e1cdbef.zip
{pppoe,ipoe}-server: T2324: T2314: migrate to common accel-name-server XML
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/accel-name-server.xml.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-name-server.xml.in b/interface-definitions/include/accel-name-server.xml.in
new file mode 100644
index 000000000..82ed6771d
--- /dev/null
+++ b/interface-definitions/include/accel-name-server.xml.in
@@ -0,0 +1,18 @@
+<leafNode name="name-server">
+ <properties>
+ <help>Domain Name Server (DNS) propagated to client</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>Domain Name Server (DNS) IPv4 address</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>Domain Name Server (DNS) IPv6 address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ <validator name="ipv6-address"/>
+ </constraint>
+ <multi/>
+ </properties>
+</leafNode>