diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-03 17:20:13 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-01-04 06:58:41 +0000 |
commit | dc12636770037b7ac043075e722dd3110a7364d3 (patch) | |
tree | 8b7cb3f2e73087f3957b00c253bc1f68527d9d4f /interface-definitions/include/bgp/afi-route-map-export-import.xml.i | |
parent | 1cc70ce273cbddb5ea9eb4148808c6c2aaf3d28f (diff) | |
download | vyos-1x-dc12636770037b7ac043075e722dd3110a7364d3.tar.gz vyos-1x-dc12636770037b7ac043075e722dd3110a7364d3.zip |
xml: T5738: add constraint building block with alphanumeric, hypen, underscore and dot
(cherry picked from commit 82b4b2db8fda51df172210f470e5825b91e81de4)
Diffstat (limited to 'interface-definitions/include/bgp/afi-route-map-export-import.xml.i')
-rw-r--r-- | interface-definitions/include/bgp/afi-route-map-export-import.xml.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/include/bgp/afi-route-map-export-import.xml.i b/interface-definitions/include/bgp/afi-route-map-export-import.xml.i index c218937c8..388991241 100644 --- a/interface-definitions/include/bgp/afi-route-map-export-import.xml.i +++ b/interface-definitions/include/bgp/afi-route-map-export-import.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> @@ -26,7 +26,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> |