summaryrefslogtreecommitdiff
path: root/bgpd/bgp_errors.c
diff options
context:
space:
mode:
authorSoman K S <somanks@gmail.com>2020-11-06 08:46:04 +0530
committerSoman K S <somanks@gmail.com>2020-11-06 08:46:04 +0530
commitc208c58670a3de2078fce343fed9a70e5b014690 (patch)
treee2885d295894d71213e329a08b0927862e975431 /bgpd/bgp_errors.c
parent77b38a4a7dc1dde3a8c24a650884f956fae11157 (diff)
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 <somanks@gmail.com>
Diffstat (limited to 'bgpd/bgp_errors.c')
-rw-r--r--bgpd/bgp_errors.c12
1 files changed, 12 insertions, 0 deletions
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
@@ -463,6 +463,18 @@ static struct log_ref ferr_bgp_err[] = {
.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,
}
};