]>
git.proxmox.com Git - mirror_frr.git/blob - babeld/babel_errors.c
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Babel-specific error messages.
4 * Copyright (C) 2018 Cumulus Networks, Inc.
11 #include "babel_errors.h"
13 /* clang-format off */
14 static struct log_ref ferr_babel_err
[] = {
16 .code
= EC_BABEL_MEMORY
,
17 .title
= "BABEL Memory Errors",
18 .description
= "Babel has failed to allocate memory, the system is about to run out of memory",
19 .suggestion
= "Find the process that is causing memory shortages, remediate that process and restart FRR"
22 .code
= EC_BABEL_PACKET
,
23 .title
= "BABEL Packet Error",
24 .description
= "Babel has detected a packet encode/decode problem",
25 .suggestion
= "Collect relevant log files and file an Issue"
28 .code
= EC_BABEL_CONFIG
,
29 .title
= "BABEL Configuration Error",
30 .description
= "Babel has detected a configuration error of some sort",
31 .suggestion
= "Ensure that the configuration is correct"
34 .code
= EC_BABEL_ROUTE
,
35 .title
= "BABEL Route Error",
36 .description
= "Babel has detected a routing error and has an inconsistent state",
37 .suggestion
= "Gather data for filing an Issue and then restart FRR"
45 void babel_error_init(void)
47 log_ref_add(ferr_babel_err
);