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
committeraapostoliuk <a.apostoliuk@vyos.io>2024-04-30 09:30:32 +0300
commitde38b01710958b7f7dababcff9557e4be98c8450 (patch)
tree5c417a7a849bb9acdbc19c10389e5f587683b302 /interface-definitions/include/pppoe-access-concentrator.xml.i
parent0c0799aa08a765812cf1266692539cf5ffda670b (diff)
downloadvyos-1x-de38b01710958b7f7dababcff9557e4be98c8450.tar.gz
vyos-1x-de38b01710958b7f7dababcff9557e4be98c8450.zip
T6273: Allowed the use of "-" and "_" in PPPoE access-concentrator name
Allowed the use of "-" and "_" in PPPoE access-concentrator name
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 -->