From 4f3be6672ffa8fde728dc7f80810187088b8315c Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 19 Jun 2018 14:57:19 -0400 Subject: bgpd: Add some FLowspec specific Error Codes. Signed-off-by: Donald Sharp --- bgpd/bgp_errors.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bgpd/bgp_errors.c') diff --git a/bgpd/bgp_errors.c b/bgpd/bgp_errors.c index d3498e44a9..6cad8049a0 100644 --- a/bgpd/bgp_errors.c +++ b/bgpd/bgp_errors.c @@ -279,6 +279,18 @@ static struct ferr_ref ferr_bgp_err[] = { .description = "BGP configuration has AS and process name mismatch", .suggestion = "Correct the configuration so that the BGP AS number and instance\nname are consistent" }, + { + .code = BGP_ERR_FLOWSPEC_PACKET, + .title = "BGP Flowspec packet processing error", + .description = "The BGP flowspec subsystem has detected a error in the send or receive of a packet", + .suggestion = "Gather log files from both sides of the peering relationship and open an issue" + }, + { + .code = BGP_ERR_FLOWSPEC_INSTALLATION, + .title = "BGP Flowspec Installation/removal Error", + .description = "The BGP flowspec subsystem has detected that there was a failure for installation/removal/modification of Flowspec from the dataplane", + .suggestion = "Gather log files from the router and open an issue, Restart FRR" + }, { .code = END_FERR, } -- cgit v1.2.3