diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-19 20:57:19 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 22:02:05 +0200 |
commit | 4f3be6672ffa8fde728dc7f80810187088b8315c (patch) | |
tree | 33c09261adbd485ba66a2fd445be63258a2476ce /bgpd/bgp_errors.c | |
parent | bgpd: Convert to using LIB_ERR_XXX where possible (diff) | |
download | frr-4f3be6672ffa8fde728dc7f80810187088b8315c.tar.xz frr-4f3be6672ffa8fde728dc7f80810187088b8315c.zip |
bgpd: Add some FLowspec specific Error Codes.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_errors.c')
-rw-r--r-- | bgpd/bgp_errors.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bgpd/bgp_errors.c b/bgpd/bgp_errors.c index d3498e44a..6cad8049a 100644 --- a/bgpd/bgp_errors.c +++ b/bgpd/bgp_errors.c @@ -280,6 +280,18 @@ static struct ferr_ref ferr_bgp_err[] = { .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, } }; |