diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-08-03 11:02:49 +0300 |
|---|---|---|
| committer | mergify-bot <noreply@mergify.io> | 2021-08-16 09:27:00 +0000 |
| commit | 71ff89ae2f50713c630187249e4ffa3db345b58c (patch) | |
| tree | 08aa754680ee418cefc918a418116ef2c43ee354 /lib/routemap.h | |
| parent | 44325ee1d10f5cc4cf26f81a4876b9d38f857262 (diff) | |
bgpd: Keep extcommunity bandwidth commands persistent in route-maps
~/frr# vtysh -c 'conf' -c 'route-map testas permit 10' -c 'set extcommunity bandwidth 321'
~/frr# vtysh -c 'show route-map testas' | grep 321
extcommunity bandwidth 321 non-transitive
~/frr# vtysh -c 'sh run' | grep 321
~/frr#
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
(cherry picked from commit 71bdae66b2c105302f7af9fc0c1deb657e2418d9)
Diffstat (limited to 'lib/routemap.h')
| -rw-r--r-- | lib/routemap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/routemap.h b/lib/routemap.h index 5b6b64eaeb..97a62c8ace 100644 --- a/lib/routemap.h +++ b/lib/routemap.h @@ -348,6 +348,8 @@ DECLARE_QOBJ_TYPE(route_map); (strmatch(A, "frr-bgp-route-map:set-extcommunity-rt")) #define IS_SET_EXTCOMMUNITY_SOO(A) \ (strmatch(A, "frr-bgp-route-map:set-extcommunity-soo")) +#define IS_SET_EXTCOMMUNITY_LB(A) \ + (strmatch(A, "frr-bgp-route-map:set-extcommunity-lb")) #define IS_SET_AGGREGATOR(A) \ (strmatch(A, "frr-bgp-route-map:aggregator")) #define IS_SET_AS_PREPEND(A) \ |
