summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/neighbor-afi-ipv4-ipv6-common.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/bgp/neighbor-afi-ipv4-ipv6-common.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/bgp/neighbor-afi-ipv4-ipv6-common.xml.i')
-rw-r--r--interface-definitions/include/bgp/neighbor-afi-ipv4-ipv6-common.xml.i8
1 files changed, 4 insertions, 4 deletions
diff --git a/interface-definitions/include/bgp/neighbor-afi-ipv4-ipv6-common.xml.i b/interface-definitions/include/bgp/neighbor-afi-ipv4-ipv6-common.xml.i
index 9ec513da9..c8ad68700 100644
--- a/interface-definitions/include/bgp/neighbor-afi-ipv4-ipv6-common.xml.i
+++ b/interface-definitions/include/bgp/neighbor-afi-ipv4-ipv6-common.xml.i
@@ -28,7 +28,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>
@@ -44,7 +44,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>
@@ -60,7 +60,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>
@@ -185,7 +185,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>