diff options
author | Russ White <russ@riw.us> | 2021-09-01 18:55:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-01 18:55:45 +0200 |
commit | ce4f3813f0305c131c999dac339e395e9507a7ff (patch) | |
tree | 34d4153f8ef5416b00839f543ecbd48dcebc63d1 /yang | |
parent | Merge pull request #9534 from donaldsharp/ospf6_crashes (diff) | |
parent | doc: Add `set extcommunity none` in BGP documentation (diff) | |
download | frr-ce4f3813f0305c131c999dac339e395e9507a7ff.tar.xz frr-ce4f3813f0305c131c999dac339e395e9507a7ff.zip |
Merge pull request #9439 from ton31337/feature/set_ext_community_to_none
bgpd: Route-map `set extcommunity none`
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 |