diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-18 18:38:05 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-18 18:38:05 +0200 |
commit | b81a37d19abfac0dbc1f49860dbe75a4f8caed61 (patch) | |
tree | b5bebcd15390f418185412ed0eb25b0e5cdcbd35 /interface-definitions/service_ipoe-server.xml.in | |
parent | e9a2c4b96edc52ea114451ece6884845ad18ba6f (diff) | |
download | vyos-1x-b81a37d19abfac0dbc1f49860dbe75a4f8caed61.tar.gz vyos-1x-b81a37d19abfac0dbc1f49860dbe75a4f8caed61.zip |
ipoe-server: T2324: migrate IPv4/IPv6 name-servers to common node
Diffstat (limited to 'interface-definitions/service_ipoe-server.xml.in')
-rw-r--r-- | interface-definitions/service_ipoe-server.xml.in | 68 |
1 files changed, 16 insertions, 52 deletions
diff --git a/interface-definitions/service_ipoe-server.xml.in b/interface-definitions/service_ipoe-server.xml.in index 3948627d7..f0651d53d 100644 --- a/interface-definitions/service_ipoe-server.xml.in +++ b/interface-definitions/service_ipoe-server.xml.in @@ -111,60 +111,24 @@ </leafNode> </children> </tagNode> - <node name="dns-server"> + <leafNode name="name-server"> <properties> - <help>DNS servers offered via internal DHCP</help> + <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> - <children> - <leafNode name="server-1"> - <properties> - <help>IP address of the primary DNS server</help> - <constraint> - <validator name="ipv4-address"/> - </constraint> - </properties> - </leafNode> - <leafNode name="server-2"> - <properties> - <help>IP address of the secondary DNS server</help> - <constraint> - <validator name="ipv4-address"/> - </constraint> - </properties> - </leafNode> - </children> - </node> - <node name="dnsv6-server"> - <properties> - <help>DNSv6 servers offered via internal DHCPv6</help> - </properties> - <children> - <leafNode name="server-1"> - <properties> - <help>IP address of the primary DNS server</help> - <constraint> - <validator name="ipv6-address"/> - </constraint> - </properties> - </leafNode> - <leafNode name="server-2"> - <properties> - <help>IP address of the secondary DNS server</help> - <constraint> - <validator name="ipv6-address"/> - </constraint> - </properties> - </leafNode> - <leafNode name="server-3"> - <properties> - <help>IP address of the tertiary DNS server</help> - <constraint> - <validator name="ipv6-address"/> - </constraint> - </properties> - </leafNode> - </children> - </node> + </leafNode> <node name="client-ipv6-pool"> <properties> <help>Pool of client IPv6 addresses</help> |