summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/afi-rd.xml.i
diff options
context:
space:
mode:
authorfett0 <fernando.gmaidana@gmail.com>2022-12-02 17:57:07 +0000
committerfett0 <fernando.gmaidana@gmail.com>2022-12-02 17:57:07 +0000
commitfdeb731f831f1f42332e5c5b318cd1016cf98f03 (patch)
tree1e4244b674ac42016c23eaca48969f8880f4fd60 /interface-definitions/include/bgp/afi-rd.xml.i
parentc2a5957a942c8f6070b8f6ff12764e90c1a4c237 (diff)
downloadvyos-1x-fdeb731f831f1f42332e5c5b318cd1016cf98f03.tar.gz
vyos-1x-fdeb731f831f1f42332e5c5b318cd1016cf98f03.zip
T4858: Fix l3vpn Route Distinguisher validator
Diffstat (limited to 'interface-definitions/include/bgp/afi-rd.xml.i')
-rw-r--r--interface-definitions/include/bgp/afi-rd.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/bgp/afi-rd.xml.i b/interface-definitions/include/bgp/afi-rd.xml.i
index 767502094..beb1447df 100644
--- a/interface-definitions/include/bgp/afi-rd.xml.i
+++ b/interface-definitions/include/bgp/afi-rd.xml.i
@@ -17,7 +17,7 @@
<description>Route Distinguisher, (x.x.x.x:yyy|xxxx:yyyy)</description>
</valueHelp>
<constraint>
- <regex>((25[0-5]|2[0-4][0-9]|[1][0-9][0-9]|[1-9][0-9]|[0-9]?)(\.(25[0-5]|2[0-4][0-9]|[1][0-9][0-9]|[1-9][0-9]|[0-9]?)){3}|[0-9]{1,10}):[0-9]{1,5}</regex>
+ <validator name="bgp-rd-rt" argument="--route-distinguisher"/>
</constraint>
</properties>
</leafNode>