summaryrefslogtreecommitdiffstats
path: root/yang/frr-bgp-route-map.yang
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2022-11-24 15:44:53 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2023-02-10 10:27:23 +0100
commitad45cb7c040fc7b079751f9fdc77f0ae924d6d7e (patch)
treecc09e9ef72cbff566c2972fb731f7d07ffa5c8ba /yang/frr-bgp-route-map.yang
parentyang: route-distinguisher typedef for route-maps reworked (diff)
downloadfrr-ad45cb7c040fc7b079751f9fdc77f0ae924d6d7e.tar.xz
frr-ad45cb7c040fc7b079751f9fdc77f0ae924d6d7e.zip
yang: route-distinguisher typedef support asdot notation
Some route-distinguisher notation is not supported today. route-map rmap permit 1 match evpn rd 1.1:1 match evpn rd 0.65000:1 ! Add support for this. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'yang/frr-bgp-route-map.yang')
-rw-r--r--yang/frr-bgp-route-map.yang14
1 files changed, 13 insertions, 1 deletions
diff --git a/yang/frr-bgp-route-map.yang b/yang/frr-bgp-route-map.yang
index b3013b4f3..8e288194e 100644
--- a/yang/frr-bgp-route-map.yang
+++ b/yang/frr-bgp-route-map.yang
@@ -409,7 +409,19 @@ module frr-bgp-route-map {
+ '[1-3][0-9]{9}|[1-9][0-9]{0,8}|0):'
+ '(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|'
+ '6[0-4][0-9]{3}|'
- + '[1-5][0-9]{4}|[1-9][0-9]{0,3}|0)';
+ + '[1-5][0-9]{4}|[1-9][0-9]{0,3}|0))|'
+ + '((6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|'
+ + '6[0-4][0-9]{3}|'
+ + '[1-5][0-9]{4}|[1-9][0-9]{0,3}|0).'
+ + '(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|'
+ + '6[0-4][0-9]{3}|'
+ + '[1-5][0-9]{4}|[1-9][0-9]{0,3}|0):'
+ + '(429496729[0-5]|42949672[0-8][0-9]|'
+ + '4294967[01][0-9]{2}|'
+ + '429496[0-6][0-9]{3}|42949[0-5][0-9]{4}|'
+ + '4294[0-8][0-9]{5}|'
+ + '429[0-3][0-9]{6}|42[0-8][0-9]{7}|4[01][0-9]{8}|'
+ + '[1-3][0-9]{9}|[1-9][0-9]{0,8}|0))';
}
description