summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-23 12:15:43 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-23 14:36:56 +0100
commit96a2c2f3e512e3922adc73f1356b48d2ebff2873 (patch)
tree92d41d7eb5650402b61995abcaa5ebe2e22e8b4c
parentd895f853aaa5c42547067eaf3ca6384968339776 (diff)
downloadvyos-1x-96a2c2f3e512e3922adc73f1356b48d2ebff2873.tar.gz
vyos-1x-96a2c2f3e512e3922adc73f1356b48d2ebff2873.zip
pppoe: T1318: rephrase help text on default-route
-rw-r--r--interface-definitions/interfaces-pppoe.xml.in16
1 files changed, 8 insertions, 8 deletions
diff --git a/interface-definitions/interfaces-pppoe.xml.in b/interface-definitions/interfaces-pppoe.xml.in
index bd558f01d..450d177e5 100644
--- a/interface-definitions/interfaces-pppoe.xml.in
+++ b/interface-definitions/interfaces-pppoe.xml.in
@@ -34,26 +34,26 @@
</leafNode>
<leafNode name="default-route">
<properties>
- <help>Enable/Disable default route to peer when link comes up</help>
+ <help>Default route insertion behaviour (default: auto)</help>
<completionHelp>
<list>auto none force</list>
</completionHelp>
+ <constraint>
+ <regex>(auto|none|force)</regex>
+ </constraint>
+ <constraintErrorMessage>PPPoE default-route option must be 'auto', 'none', or 'force'</constraintErrorMessage>
<valueHelp>
<format>auto</format>
- <description>Install default route when link comes up</description>
+ <description>Automatically install a default route</description>
</valueHelp>
<valueHelp>
<format>none</format>
- <description>Do not install default route when link comes up</description>
+ <description>Do not install a default route</description>
</valueHelp>
<valueHelp>
<format>force</format>
- <description>Install default route and replace pre-existing when link comes up</description>
+ <description>Replace existing default route</description>
</valueHelp>
- <constraint>
- <regex>(auto|none|force)</regex>
- </constraint>
- <constraintErrorMessage>Must be either 'auto', 'none' or 'force'</constraintErrorMessage>
</properties>
</leafNode>
<leafNode name="description">