summaryrefslogtreecommitdiff
path: root/zebra/zebra_errors.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-02-25 18:18:07 -0500
committerStephen Worley <sworley@cumulusnetworks.com>2019-10-25 11:13:36 -0400
commitd9f5b2f50f53d625986dbd47cd12778c9f841f0c (patch)
tree8ecb06f5a9bc83505ed4b4eaa61754eb76238573 /zebra/zebra_errors.c
parent8b5bdc8bdfdb95d5e22ccb8733dbd35c84f3f79d (diff)
zebra: Add functionality to parse RTM_NEWNEXTHOP and RTM_DELNEXTHOP messages
Add the functionality to parse new nexthop group messages from the kernel and insert them into the appropriate hash tables. Parsing is done at startup between interface and interface address lookup. Add functionality to parse changes to nexthops we already have. Add functionality to parse delete nexthop messages from the kernel and remove them from our table. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_errors.c')
-rw-r--r--zebra/zebra_errors.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/zebra/zebra_errors.c b/zebra/zebra_errors.c
index e14f1ee58c..4f97f3669f 100644
--- a/zebra/zebra_errors.c
+++ b/zebra/zebra_errors.c
@@ -292,6 +292,15 @@ static struct log_ref ferr_zebra_err[] = {
.suggestion =
"Check to see if the entry already exists or if the netlink message was parsed incorrectly."
},
+ {
+ .code = EC_ZEBRA_NHG_SYNC,
+ .title =
+ "Zebra's Nexthop Groups are out of sync",
+ .description =
+ "Zebra's nexthop group tables are out of sync with the nexthop groups in the fib.",
+ .suggestion =
+ "Check the current status of the kernels nexthop groups and compare it to Zebra's."
+ },
/* Warnings */
{
.code = EC_ZEBRAING_LM_PROTO_MISMATCH,