mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-03 19:04:03 +00:00
zebra: Add an error code for NHG update failures
We needed an error code that can be used when we fail to install a nexthop group into the kernel/fib. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
This commit is contained in:
parent
d1285db253
commit
1ba2db775f
@ -301,6 +301,15 @@ static struct log_ref ferr_zebra_err[] = {
|
||||
.suggestion =
|
||||
"Check the current status of the kernels nexthop groups and compare it to Zebra's."
|
||||
},
|
||||
{
|
||||
.code = EC_ZEBRA_NHG_FIB_UPDATE,
|
||||
.title =
|
||||
"Zebra failed updating the fib with Nexthop Group",
|
||||
.description =
|
||||
"Zebra was not able to successfully install a new nexthop group into the fib",
|
||||
.suggestion =
|
||||
"Check to see if the nexthop group on the route you tried to install is valid."
|
||||
},
|
||||
/* Warnings */
|
||||
{
|
||||
.code = EC_ZEBRAING_LM_PROTO_MISMATCH,
|
||||
|
||||
@ -74,6 +74,7 @@ enum zebra_log_refs {
|
||||
EC_ZEBRA_VNI_ADD_FAILED,
|
||||
EC_ZEBRA_NHG_TABLE_INSERT_FAILED,
|
||||
EC_ZEBRA_NHG_SYNC,
|
||||
EC_ZEBRA_NHG_FIB_UPDATE,
|
||||
/* warnings */
|
||||
EC_ZEBRA_NS_NOTIFY_READ,
|
||||
EC_ZEBRAING_LM_PROTO_MISMATCH,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user