summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn-l2tp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-10 19:43:38 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-11 11:25:13 +0200
commita533ca621567150732b58fc5176cd18b608f1f92 (patch)
tree08f8d935e5886330e9d37fccb6297faf0267345a /interface-definitions/vpn-l2tp.xml.in
parent6a2e75dbe4003c6987c6932296e68c486ff7b380 (diff)
downloadvyos-1x-a533ca621567150732b58fc5176cd18b608f1f92.tar.gz
vyos-1x-a533ca621567150732b58fc5176cd18b608f1f92.zip
vpn: l2tp: T2264: combine WINS CLI syntax
There is no reason to distinguish between WINS servers in terms of priority. This is solely a task which can be done in the underlaying Python scripts.
Diffstat (limited to 'interface-definitions/vpn-l2tp.xml.in')
-rw-r--r--interface-definitions/vpn-l2tp.xml.in32
1 files changed, 11 insertions, 21 deletions
diff --git a/interface-definitions/vpn-l2tp.xml.in b/interface-definitions/vpn-l2tp.xml.in
index 0bd592746..5604ea3d2 100644
--- a/interface-definitions/vpn-l2tp.xml.in
+++ b/interface-definitions/vpn-l2tp.xml.in
@@ -182,29 +182,19 @@
</leafNode>
</children>
</node>
- <node name="wins-servers">
+ <leafNode name="wins-server">
<properties>
- <help>Windows Internet Name Service (WINS) server settings</help>
+ <help>Windows Internet Name Service (WINS) servers propagated to client</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>Domain Name Server (DNS) IPv4 address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ <multi/>
</properties>
- <children>
- <leafNode name="server-1">
- <properties>
- <help>Primary WINS server</help>
- <constraint>
- <validator name="ipv4-address"/>
- </constraint>
- </properties>
- </leafNode>
- <leafNode name="server-2">
- <properties>
- <help>Secondary WINS server</help>
- <constraint>
- <validator name="ipv4-address"/>
- </constraint>
- </properties>
- </leafNode>
- </children>
- </node>
+ </leafNode>
<node name="client-ip-pool">
<properties>
<help>Pool of client IP addresses (must be within a /24)</help>