summaryrefslogtreecommitdiff
path: root/interface-definitions/include/route-map.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-03 17:20:13 +0100
committerChristian Breunig <christian@breunig.cc>2024-01-03 17:22:59 +0100
commit82b4b2db8fda51df172210f470e5825b91e81de4 (patch)
treec990896cebda663490052035d2fe379e6f02fb29 /interface-definitions/include/route-map.xml.i
parentc08fea7a5d98e1626788280ac51f7131f3f29308 (diff)
downloadvyos-1x-82b4b2db8fda51df172210f470e5825b91e81de4.tar.gz
vyos-1x-82b4b2db8fda51df172210f470e5825b91e81de4.zip
xml: T5738: add constraint building block with alphanumeric, hypen, underscore and dot
Diffstat (limited to 'interface-definitions/include/route-map.xml.i')
-rw-r--r--interface-definitions/include/route-map.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/route-map.xml.i b/interface-definitions/include/route-map.xml.i
index 019868373..e49c388d6 100644
--- a/interface-definitions/include/route-map.xml.i
+++ b/interface-definitions/include/route-map.xml.i
@@ -10,7 +10,7 @@
<description>Route map name</description>
</valueHelp>
<constraint>
- <regex>[-_a-zA-Z0-9.]+</regex>
+ #include <include/constraint/alpha-numeric-hyphen-underscore-dot.xml.i>
</constraint>
<constraintErrorMessage>Name of route-map can only contain alpha-numeric letters, hyphen and underscores</constraintErrorMessage>
</properties>