summaryrefslogtreecommitdiff
path: root/bgpd/bgp_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-05-19 14:51:29 -0400
committerGitHub <noreply@github.com>2022-05-19 14:51:29 -0400
commitd37879b7a25fc3c0323d88c666b6a7646860a9c3 (patch)
tree16f1ae90bbc98bc39cd6913d928fe8c8d3b283f9 /bgpd/bgp_errors.c
parentbde51e807ff94d9ba3192bee52cabda215459bfb (diff)
parentbd9fb6f368049bd5f1f6a2b7bc97fbd51c9300cc (diff)
Merge pull request #11225 from opensourcerouting/bgp-sendhold
bgpd: implement SendHoldTimer
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 193c96a169..9f87f8ce7a 100644
--- a/bgpd/bgp_errors.c
+++ b/bgpd/bgp_errors.c
@@ -182,6 +182,12 @@ static struct log_ref ferr_bgp_warn[] = {
.suggestion = "Gather log files and open an Issue, restart FRR",
},
{
+ .code = EC_BGP_SENDQ_STUCK_WARN,
+ .title = "BGP has been unable to send anything to a peer for an extended time",
+ .description = "The BGP peer does not seem to be receiving or processing any data received from us, causing updates to be delayed.",
+ .suggestion = "Check connectivity to the peer and that it is not overloaded",
+ },
+ {
.code = END_FERR,
}
};
@@ -481,6 +487,12 @@ static struct log_ref ferr_bgp_err[] = {
.suggestion = "Add a v6 LL address to the outgoing interfaces as per RFC",
},
{
+ .code = EC_BGP_SENDQ_STUCK_PROPER,
+ .title = "BGP is shutting down a peer due to being unable to send anything for an extended time",
+ .description = "No BGP updates were successfully sent to the peer for more than twice the holdtime.",
+ .suggestion = "Check connectivity to the peer and that it is not overloaded",
+ },
+ {
.code = END_FERR,
}
};