diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-12-02 20:04:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-02 20:04:48 +0100 |
commit | 71aecaa50fb2b7857fea7fb3cf097830aaecf481 (patch) | |
tree | 61610ca297f7b04313aa3b80ab9f47f06cd85879 | |
parent | 3ef14453e0685d6a22a5ab48668726ca080a89cd (diff) | |
parent | fdeb731f831f1f42332e5c5b318cd1016cf98f03 (diff) | |
download | vyos-1x-71aecaa50fb2b7857fea7fb3cf097830aaecf481.tar.gz vyos-1x-71aecaa50fb2b7857fea7fb3cf097830aaecf481.zip |
Merge pull request #1688 from fett0/T4858
T4858: Fix l3vpn Route Distinguisher validator
-rw-r--r-- | interface-definitions/include/bgp/afi-rd.xml.i | 2 |
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> |