summaryrefslogtreecommitdiff
path: root/interface-definitions/include/pppoe-access-concentrator.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-21 11:35:07 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-21 21:48:58 +0200
commitb121ee14ff1961b56568b0116de3c246ea4af934 (patch)
treed6812667ec9e82f204c40fa9428f79face5cd501 /interface-definitions/include/pppoe-access-concentrator.xml.i
parentf476e456e20393e7e7e91b73e369c9b033fbf048 (diff)
downloadvyos-1x-b121ee14ff1961b56568b0116de3c246ea4af934.tar.gz
vyos-1x-b121ee14ff1961b56568b0116de3c246ea4af934.zip
pppoe: T1318: implement missing access-concentrator CLI option
Diffstat (limited to 'interface-definitions/include/pppoe-access-concentrator.xml.i')
-rw-r--r--interface-definitions/include/pppoe-access-concentrator.xml.i11
1 files changed, 11 insertions, 0 deletions
diff --git a/interface-definitions/include/pppoe-access-concentrator.xml.i b/interface-definitions/include/pppoe-access-concentrator.xml.i
new file mode 100644
index 000000000..ccfcc1c49
--- /dev/null
+++ b/interface-definitions/include/pppoe-access-concentrator.xml.i
@@ -0,0 +1,11 @@
+<!-- include start from pppoe-access-concentrator.xml.i -->
+<leafNode name="access-concentrator">
+ <properties>
+ <help>Access concentrator name</help>
+ <constraint>
+ <regex>[a-zA-Z0-9]{1,100}</regex>
+ </constraint>
+ <constraintErrorMessage>Access-concentrator name must be alphanumerical only (max. 100 characters)</constraintErrorMessage>
+ </properties>
+</leafNode>
+<!-- include end -->