summaryrefslogtreecommitdiffstats
path: root/yang
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2023-06-27 21:36:01 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2023-10-02 15:24:18 +0200
commitaa511000e0394528ddcab0f7728811d19d7f9c62 (patch)
treee392fe8de396d8a28648ad3d98b3a2f9104658eb /yang
parentMerge pull request #14510 from opensourcerouting/fix/coccinelle_issues (diff)
downloadfrr-aa511000e0394528ddcab0f7728811d19d7f9c62.tar.xz
frr-aa511000e0394528ddcab0f7728811d19d7f9c62.zip
bgpd: add 'match community-list any' function
There is no match mechanism to match one community from the incoming community-list. Add the 'any' keyword to the 'match route-map' command of communit-list and large-community-list. > match community-list AAA any > match large-community-list AAA any Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-bgp-route-map.yang7
1 files changed, 7 insertions, 0 deletions
diff --git a/yang/frr-bgp-route-map.yang b/yang/frr-bgp-route-map.yang
index 05fe57c7d..c50c51389 100644
--- a/yang/frr-bgp-route-map.yang
+++ b/yang/frr-bgp-route-map.yang
@@ -777,6 +777,13 @@ identity set-extcommunity-color {
description
"Do exact matching of communities";
}
+
+ leaf comm-list-name-any {
+ type boolean;
+ description
+ "Do matching of any community";
+ }
+
}
}