summaryrefslogtreecommitdiff
path: root/interface-definitions/include/pppoe-access-concentrator.xml.i
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2024-04-29 12:29:37 +0300
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-04-30 06:35:38 +0000
commit5f31655a8925da4552440c497372dbc729c2610d (patch)
tree3b8484917a35bcac2ddfe44d8617346963c189f5 /interface-definitions/include/pppoe-access-concentrator.xml.i
parent7edaf47f0f582459d5324da39cd0da0937c30fa9 (diff)
downloadvyos-1x-5f31655a8925da4552440c497372dbc729c2610d.tar.gz
vyos-1x-5f31655a8925da4552440c497372dbc729c2610d.zip
T6273: Allowed the use of "-" and "_" in PPPoE access-concentrator name
Allowed the use of "-" and "_" in PPPoE access-concentrator name (cherry picked from commit de38b01710958b7f7dababcff9557e4be98c8450)
Diffstat (limited to 'interface-definitions/include/pppoe-access-concentrator.xml.i')
-rw-r--r--interface-definitions/include/pppoe-access-concentrator.xml.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/include/pppoe-access-concentrator.xml.i b/interface-definitions/include/pppoe-access-concentrator.xml.i
index ccfcc1c49..8a75dae08 100644
--- a/interface-definitions/include/pppoe-access-concentrator.xml.i
+++ b/interface-definitions/include/pppoe-access-concentrator.xml.i
@@ -3,9 +3,9 @@
<properties>
<help>Access concentrator name</help>
<constraint>
- <regex>[a-zA-Z0-9]{1,100}</regex>
+ #include <include/constraint/alpha-numeric-hyphen-underscore.xml.i>
</constraint>
- <constraintErrorMessage>Access-concentrator name must be alphanumerical only (max. 100 characters)</constraintErrorMessage>
+ <constraintErrorMessage>Access-concentrator name can only contain alpha-numeric letters, hyphen and underscores(max. 100 characters)</constraintErrorMessage>
</properties>
</leafNode>
<!-- include end -->