summaryrefslogtreecommitdiff
path: root/yang/frr-bgp-route-map.yang
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2025-02-14 09:25:24 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2025-02-27 22:25:52 +0100
commit7ab681703798fa11e1007ea5f0aeba6b646f9937 (patch)
tree7a9d1118cde714b975c4b4b73ac81bdca034a285 /yang/frr-bgp-route-map.yang
parentc3084cacf4816cd0bba5ad8695bbf3365500563f (diff)
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 <philippe.guibert@6wind.com>
Diffstat (limited to 'yang/frr-bgp-route-map.yang')
-rw-r--r--yang/frr-bgp-route-map.yang2
1 files changed, 1 insertions, 1 deletions
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";
}
}
}