]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_errors.c
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / bgpd / bgp_errors.c
index 193c96a1698e4dc00cbdb29cc6e05492b5b52525..cfcefed996a504f4bc8d2b98786c20f06eb92cc2 100644 (file)
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * BGP-specific error messages.
  * Copyright (C) 2018 Cumulus Networks, Inc.
  *               Don Slice
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; see the file COPYING; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #include <zebra.h>
@@ -181,6 +168,12 @@ static struct log_ref ferr_bgp_warn[] = {
                .description = "BGP is in the process of building NLRI information for a peer and has discovered an inconsistent internal state",
                .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,
        }
@@ -229,6 +222,12 @@ static struct log_ref ferr_bgp_err[] = {
                .description = "BGP update has invalid length for PMSI tunnel",
                .suggestion = "Determine the source of the update and determine why the PMSI tunnel attribute length has been set incorrectly"
        },
+       {
+               .code = EC_BGP_ATTR_AIGP,
+               .title = "BGP AIGP attribute is incorrect",
+               .description = "BGP AIGP attribute is incorrect",
+               .suggestion = "Determine the source of the attribute and determine why the AIGP attribute has been set incorrectly"
+       },
        {
                .code = EC_BGP_PEER_GROUP,
                .title = "BGP peergroup operated on in error",
@@ -480,6 +479,12 @@ static struct log_ref ferr_bgp_err[] = {
                .description = "BGP when using a v6 peer requires a v6 LL address to be configured on the outgoing interface as per RFC 4291 section 2.1",
                .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,
        }