diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-03-04 11:25:42 -0500 | 
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 11:13:36 -0400 | 
| commit | 1ba2db775fe962912b0a089f564ab68d642b0466 (patch) | |
| tree | 9374d209c65a4889e5fd5d2a799fd9dbc44c9833 /zebra/zebra_errors.c | |
| parent | d1285db253f65a7863d94714bd16925c0e8a52cf (diff) | |
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>
Diffstat (limited to 'zebra/zebra_errors.c')
| -rw-r--r-- | zebra/zebra_errors.c | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/zebra/zebra_errors.c b/zebra/zebra_errors.c index 4f97f3669f..3ca1bf3971 100644 --- a/zebra/zebra_errors.c +++ b/zebra/zebra_errors.c @@ -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,  | 
