diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2021-08-24 16:42:37 +0200 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-08-24 16:42:37 +0200 |
commit | 14b066917b38b609da70026a6080eea00a927b04 (patch) | |
tree | b240c91b80b348f9828e3656509a17453839217b /lib | |
parent | Merge pull request #9446 from mobash-rasool/ospfv3-bug-fixes (diff) | |
download | frr-14b066917b38b609da70026a6080eea00a927b04.tar.xz frr-14b066917b38b609da70026a6080eea00a927b04.zip |
lib: remove the dependency on bgpd code
The library code should not depend on a specific daemon's code.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/routemap.h | 6 | ||||
-rw-r--r-- | lib/routemap_cli.c | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lib/routemap.h b/lib/routemap.h index 444508500..1fbd142ad 100644 --- a/lib/routemap.h +++ b/lib/routemap.h @@ -379,6 +379,12 @@ DECLARE_QOBJ_TYPE(route_map); #define IS_SET_BGP_EVPN_GATEWAY_IP_IPV6(A) \ (strmatch(A, "frr-bgp-route-map:set-evpn-gateway-ip-ipv6")) +enum ecommunity_lb_type { + EXPLICIT_BANDWIDTH, + CUMULATIVE_BANDWIDTH, + COMPUTED_BANDWIDTH +}; + /* Prototypes. */ extern void route_map_init(void); diff --git a/lib/routemap_cli.c b/lib/routemap_cli.c index 77455d991..58c62e614 100644 --- a/lib/routemap_cli.c +++ b/lib/routemap_cli.c @@ -25,7 +25,6 @@ #include "lib/command.h" #include "lib/northbound_cli.h" #include "lib/routemap.h" -#include "bgpd/bgp_ecommunity.h" #ifndef VTYSH_EXTRACT_PL #include "lib/routemap_cli_clippy.c" |