summaryrefslogtreecommitdiffstats
path: root/yang/frr-bgp-route-map.yang
diff options
context:
space:
mode:
authorFarid Mihoub <farid.mihoub@6wind.com>2023-06-14 16:16:55 +0200
committerFarid Mihoub <farid.mihoub@6wind.com>2023-07-31 11:52:36 +0200
commit902a8d1fd320e71d291e6cded960bf8d3c0fd194 (patch)
tree6fabf4c96d2ef838a5537acf4f4fa96784d1b92f /yang/frr-bgp-route-map.yang
parentMerge pull request #14109 from taspelund/noreset_update_src (diff)
downloadfrr-902a8d1fd320e71d291e6cded960bf8d3c0fd194.tar.xz
frr-902a8d1fd320e71d291e6cded960bf8d3c0fd194.zip
bgpd: add set extended-comm-list <> delete command
Signed-off-by: Farid Mihoub <farid.mihoub@6wind.com> 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.yang10
1 files changed, 9 insertions, 1 deletions
diff --git a/yang/frr-bgp-route-map.yang b/yang/frr-bgp-route-map.yang
index 4b6619739..05fe57c7d 100644
--- a/yang/frr-bgp-route-map.yang
+++ b/yang/frr-bgp-route-map.yang
@@ -352,6 +352,12 @@ identity set-extcommunity-color {
"Set BGP large community list (for deletion)";
}
+ identity extended-comm-list-delete {
+ base frr-route-map:rmap-set-type;
+ description
+ "Set BGP extended community list (for deletion)";
+ }
+
identity set-evpn-gateway-ip-ipv4 {
base frr-route-map:rmap-set-type;
description
@@ -1109,7 +1115,9 @@ identity set-extcommunity-color {
case comm-list-name {
when "derived-from-or-self(/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:action, 'frr-bgp-route-map:comm-list-delete') or "
- + "derived-from-or-self(/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:action, 'frr-bgp-route-map:large-comm-list-delete')";
+ + "derived-from-or-self(/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:action, 'frr-bgp-route-map:large-comm-list-delete') or "
+ + "derived-from-or-self(/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:action,
+'frr-bgp-route-map:extended-comm-list-delete')";
leaf comm-list-name {
type bgp-filter:bgp-list-name;
}