diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-23 12:27:55 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-23 14:36:56 +0100 |
commit | 2fec7394434f8daace485e97a7287cc8233fa178 (patch) | |
tree | ea833ff35c5515a86ee30470a362c97722384b92 /interface-definitions/interfaces-pppoe.xml.in | |
parent | cf5b8ca0f6de111e792c3243c8e1adc8bdb998c6 (diff) | |
download | vyos-1x-2fec7394434f8daace485e97a7287cc8233fa178.tar.gz vyos-1x-2fec7394434f8daace485e97a7287cc8233fa178.zip |
pppoe: T1318: declutter name-server CLI nodes
Instead of letting the user choose between auto and none where auto is default,
it makes more sesne to just offer an option to disable the default behavior.
Diffstat (limited to 'interface-definitions/interfaces-pppoe.xml.in')
-rw-r--r-- | interface-definitions/interfaces-pppoe.xml.in | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/interface-definitions/interfaces-pppoe.xml.in b/interface-definitions/interfaces-pppoe.xml.in index 933d9edf1..b6b54c915 100644 --- a/interface-definitions/interfaces-pppoe.xml.in +++ b/interface-definitions/interfaces-pppoe.xml.in @@ -140,24 +140,10 @@ <constraintErrorMessage>MTU must be between 68 and 1500</constraintErrorMessage> </properties> </leafNode> - <leafNode name="name-server"> + <leafNode name="no-peer-dns"> <properties> - <help>Enable/Disable use of name server entries from peer</help> - <completionHelp> - <list>auto none</list> - </completionHelp> - <valueHelp> - <format>auto</format> - <description>Install default route when link comes up</description> - </valueHelp> - <valueHelp> - <format>none</format> - <description>Do not install default route when link comes up</description> - </valueHelp> - <constraint> - <regex>(auto|none)</regex> - </constraint> - <constraintErrorMessage>Must be either 'auto' or 'none'</constraintErrorMessage> + <help>Do not use DNS servers provided by the peer</help> + <valueless/> </properties> </leafNode> <leafNode name="remote-address"> |