diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-08-02 21:27:55 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-08-18 13:14:52 +0200 |
commit | bb4dcdd13e08a394262e14599278d5c11d7fb197 (patch) | |
tree | da09a043fc17083ee1eb3f1ba3e62bc5f6d7b40b /yang | |
parent | Merge pull request #9408 from mobash-rasool/ospfv2-bug-fixes-03 (diff) | |
download | frr-bb4dcdd13e08a394262e14599278d5c11d7fb197.tar.xz frr-bb4dcdd13e08a394262e14599278d5c11d7fb197.zip |
bgpd: Add an ability to set extcommunity to none in route-maps
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'yang')
-rw-r--r-- | yang/frr-bgp-route-map.yang | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/yang/frr-bgp-route-map.yang b/yang/frr-bgp-route-map.yang index e11883a80..9bd26043a 100644 --- a/yang/frr-bgp-route-map.yang +++ b/yang/frr-bgp-route-map.yang @@ -168,6 +168,12 @@ module frr-bgp-route-map { "Set BGP administrative distance to use"; } + identity set-extcommunity-none { + base frr-route-map:rmap-set-type; + description + "Set BGP extended community attribute"; + } + identity set-extcommunity-rt { base frr-route-map:rmap-set-type; description @@ -585,6 +591,16 @@ module frr-bgp-route-map { } } + case extcommunity-none { + 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:set-extcommunity-none')"; + description + "Value of the BGP extended community attribute"; + leaf extcommunity-none { + type boolean; + description "No extended community attribute"; + } + } + case extcommunity-rt { 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:set-extcommunity-rt')"; description |