summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-pppoe.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-21 11:35:07 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-22 09:56:09 +0200
commitac89b13201ae4943a33b1f400e94a3d817a2ec0b (patch)
tree8fc4e4c3695bed114ea4e546d90dc31b42ae759d /interface-definitions/interfaces-pppoe.xml.in
parent281274de1e20e1f937e92960bfd72d3d608e75f3 (diff)
downloadvyos-1x-ac89b13201ae4943a33b1f400e94a3d817a2ec0b.tar.gz
vyos-1x-ac89b13201ae4943a33b1f400e94a3d817a2ec0b.zip
pppoe: T1318: implement missing access-concentrator CLI option
(cherry picked from commit b121ee14ff1961b56568b0116de3c246ea4af934)
Diffstat (limited to 'interface-definitions/interfaces-pppoe.xml.in')
-rw-r--r--interface-definitions/interfaces-pppoe.xml.in12
1 files changed, 2 insertions, 10 deletions
diff --git a/interface-definitions/interfaces-pppoe.xml.in b/interface-definitions/interfaces-pppoe.xml.in
index 1bbfa63af..4792e4b94 100644
--- a/interface-definitions/interfaces-pppoe.xml.in
+++ b/interface-definitions/interfaces-pppoe.xml.in
@@ -16,15 +16,7 @@
</valueHelp>
</properties>
<children>
- <leafNode name="access-concentrator">
- <properties>
- <help>Access concentrator name (only connect to this concentrator)</help>
- <constraint>
- <regex>[a-zA-Z0-9]+$</regex>
- </constraint>
- <constraintErrorMessage>Access concentrator name must be composed of uppper and lower case letters or numbers only</constraintErrorMessage>
- </properties>
- </leafNode>
+ #include <include/pppoe-access-concentrator.xml.i>
#include <include/interface/authentication.xml.i>
#include <include/interface/dial-on-demand.xml.i>
<leafNode name="default-route">
@@ -136,7 +128,7 @@
<constraint>
<regex>[a-zA-Z0-9]+$</regex>
</constraint>
- <constraintErrorMessage>Service name must be composed of uppper and lower case letters or numbers only</constraintErrorMessage>
+ <constraintErrorMessage>Service name must be alphanumeric only</constraintErrorMessage>
</properties>
</leafNode>
</children>