diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-18 21:48:53 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-18 21:48:53 +0200 |
commit | e2f9f4f4e8b2e961a58d935d09798ddb4e1e0460 (patch) | |
tree | 8256fc409b678ade7a730c55c05206b7728c2378 /interface-definitions/dhcpv6-server.xml.in | |
parent | a4440bd589db645eb99f343a8163e188a700774c (diff) | |
download | vyos-1x-e2f9f4f4e8b2e961a58d935d09798ddb4e1e0460.tar.gz vyos-1x-e2f9f4f4e8b2e961a58d935d09798ddb4e1e0460.zip |
dhcp-server: T3838: rename dns-server to name-server node
IPv4 DHCP uses "dns-server" to specify one or more name-servers for a given
pool. In order to use the same CLI syntax this should be renamed to name-server,
which is already the case for DHCPv6.
Diffstat (limited to 'interface-definitions/dhcpv6-server.xml.in')
-rw-r--r-- | interface-definitions/dhcpv6-server.xml.in | 42 |
1 files changed, 3 insertions, 39 deletions
diff --git a/interface-definitions/dhcpv6-server.xml.in b/interface-definitions/dhcpv6-server.xml.in index 95b1e5602..58181872b 100644 --- a/interface-definitions/dhcpv6-server.xml.in +++ b/interface-definitions/dhcpv6-server.xml.in @@ -14,19 +14,7 @@ <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> + #include <include/name-server-ipv6.xml.i> </children> </node> <leafNode name="preference"> @@ -70,19 +58,7 @@ </properties> </leafNode> #include <include/dhcp-server-domain-search.xml.i> - <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> + #include <include/name-server-ipv6.xml.i> </children> </node> <tagNode name="subnet"> @@ -194,19 +170,7 @@ </leafNode> </children> </node> - <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> + #include <include/name-server-ipv6.xml.i> <leafNode name="nis-domain"> <properties> <help>NIS domain name for client to use</help> |