mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-04 04:49:59 +00:00
zebra: Add error codes for nhg table insert failures
Since we are using two different tables to hash the next groups with, lets add an error message in case there is a failure to insert into one of them. This will help to notify if the tables are not synced. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
This commit is contained in:
parent
a95b8020ca
commit
3463f295e7
@ -283,6 +283,15 @@ static struct log_ref ferr_zebra_err[] = {
|
||||
.description = "Zebra received an event from inotify, but failed to read what it was.",
|
||||
.suggestion = "Notify a developer.",
|
||||
},
|
||||
{
|
||||
.code = EC_ZEBRA_NHG_TABLE_INSERT_FAILED,
|
||||
.title =
|
||||
"Nexthop Group Hash Table Insert Failure",
|
||||
.description =
|
||||
"Zebra failed in inserting a Nexthop Group into its hash tables.",
|
||||
.suggestion =
|
||||
"Check to see if the entry already exists or if the netlink message was parsed incorrectly."
|
||||
},
|
||||
/* Warnings */
|
||||
{
|
||||
.code = EC_ZEBRAING_LM_PROTO_MISMATCH,
|
||||
|
||||
@ -72,6 +72,7 @@ enum zebra_log_refs {
|
||||
EC_ZEBRA_VNI_DEL_FAILED,
|
||||
EC_ZEBRA_VTEP_ADD_FAILED,
|
||||
EC_ZEBRA_VNI_ADD_FAILED,
|
||||
EC_ZEBRA_NHG_TABLE_INSERT_FAILED,
|
||||
/* warnings */
|
||||
EC_ZEBRA_NS_NOTIFY_READ,
|
||||
EC_ZEBRAING_LM_PROTO_MISMATCH,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user