]> git.proxmox.com Git - mirror_frr.git/blob - isisd/isis_errors.c
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / isisd / isis_errors.c
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * ISIS-specific error messages.
4 * Copyright (C) 2018 Cumulus Networks, Inc.
5 * Donald Sharp
6 */
7
8 #include <zebra.h>
9
10 #include "lib/ferr.h"
11 #include "isis_errors.h"
12
13 /* clang-format off */
14 static struct log_ref ferr_isis_err[] = {
15 {
16 .code = EC_ISIS_PACKET,
17 .title = "ISIS Packet Error",
18 .description = "Isis has detected an error with a packet from a peer",
19 .suggestion = "Gather log information and open an issue then restart FRR"
20 },
21 {
22 .code = EC_ISIS_CONFIG,
23 .title = "ISIS Configuration Error",
24 .description = "Isis has detected an error within configuration for the router",
25 .suggestion = "Ensure configuration is correct"
26 },
27 {
28 .code = EC_ISIS_SID_OVERFLOW,
29 .title = "SID index overflow",
30 .description = "Isis has detected that a SID index falls outside of its associated SRGB range",
31 .suggestion = "Configure a larger SRGB"
32 },
33 {
34 .code = EC_ISIS_SID_COLLISION,
35 .title = "SID collision",
36 .description = "Isis has detected that two different prefixes share the same SID index",
37 .suggestion = "Identify the routers that are advertising the same SID index and fix the collision accordingly"
38 },
39 {
40 .code = END_FERR,
41 }
42 };
43 /* clang-format on */
44
45 void isis_error_init(void)
46 {
47 log_ref_add(ferr_isis_err);
48 }