From c208c58670a3de2078fce343fed9a70e5b014690 Mon Sep 17 00:00:00 2001 From: Soman K S Date: Fri, 6 Nov 2020 08:46:04 +0530 Subject: bgpd: Advertise FIB installed routes to bgp peers (Part 2) * Added CLI command "[no] bgp suppress-fib-pending" to enable and disable suppress-fib-pending * Send ZEBRA_ROUTE_NOTIFY_REQUEST to zebra when "bgp suppress-fib-pending" is enabled or disabled * Define BGP_DEFAULT_UPDATE_ADVERTISEMENT_TIME which is the delay added to update group timer. * Added error codes Signed-off-by: kssoman --- bgpd/bgp_errors.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bgpd/bgp_errors.c') diff --git a/bgpd/bgp_errors.c b/bgpd/bgp_errors.c index 8a33ce6789..0f9d5fc73a 100644 --- a/bgpd/bgp_errors.c +++ b/bgpd/bgp_errors.c @@ -462,6 +462,18 @@ static struct log_ref ferr_bgp_err[] = { .description = "As part of normal collision detection for opening a connection to a peer, BGP has detected that the remote peer's router-id is the same as ours", .suggestion = "Change one of the two router-id's", }, + { + .code = EC_BGP_INVALID_BGP_INSTANCE, + .title = "BGP instance for the specifc vrf is invalid", + .description = "Indicates that specified bgp instance is NULL", + .suggestion = "Get log files from router and open an issue", + }, + { + .code = EC_BGP_INVALID_ROUTE, + .title = "BGP route node is invalid", + .description = "BGP route for the specified AFI/SAFI is NULL", + .suggestion = "Get log files from router and open an issue", + }, { .code = END_FERR, } -- cgit v1.2.3