From 7ab681703798fa11e1007ea5f0aeba6b646f9937 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Fri, 14 Feb 2025 09:25:24 +0100 Subject: [PATCH] yang: enlarge community-limit count from [1-1024] to [0-1024] It should be possible to configure the community-limit count to 0. Fixes: f19b8668b3cb ("bgpd: add 'match community-count' command to restrict comm count") Signed-off-by: Philippe Guibert --- yang/frr-bgp-route-map.yang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yang/frr-bgp-route-map.yang b/yang/frr-bgp-route-map.yang index f1fa93664c..12b175a5ea 100644 --- a/yang/frr-bgp-route-map.yang +++ b/yang/frr-bgp-route-map.yang @@ -820,7 +820,7 @@ identity set-extcommunity-color { "Match BGP updates when the list of communities count is less than the configured limit."; leaf community-limit { type uint16 { - range "1..1024"; + range "0..1024"; } } }