summaryrefslogtreecommitdiffstats
path: root/qpb (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-08-14*: rename zlog_fer -> flog_errQuentin Young132-734/+734
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-08-14lib: remove still reachable blocks in ferr.cQuentin Young2-0/+2
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-08-14lib, vtysh: fixup style nits for error refsQuentin Young3-6/+12
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-08-14zebra: add missing includeQuentin Young1-0/+1
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-08-14*: correct typos in error reference cardsQuentin Young4-9/+9
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-08-14zebra: Cleanup compile issues discovered by ciDonald Sharp2-0/+2
Include a couple of missed headers. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14*: remove \n from error code textsQuentin Young3-33/+33
Should be handled by pager Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-08-14lib: add 'show error all json'Quentin Young3-19/+79
* Add 'all' option * Add 'json' option Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-08-14babeld: fix erroneous lib initQuentin Young1-3/+0
Babel was screwing up lib initialization causing double inits of many things. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-08-14*: stop double initialization of ferrQuentin Young15-22/+11
* Stop double init of ferr * Fixup bugs in zebra ferr * Add missing init in ospfd Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-08-14*: fix source file headers & includes for errcodesQuentin Young22-195/+221
* Use the correct license header * Stop headers from including themselves * Use uniform relative include conventions * Ensure that sources include what they use * Turn off clang-format around struct array blocks Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-08-14ospfd: zlog_ferr facilityChirag Shah9-62/+208
Ticket:CM-21333 Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com> Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14lib: Convert zlog_err for clippy buildDonald Sharp1-4/+4
The clippy code does not need to log the error messages as errors as that it is only run as part of the build itself and as long as we see the notifications we are good. So convert zlog_err to zlog_notice so that we do not think we have any zlog_err's in lib anymore Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14lib: Remove unnecessary zebra.h includeDonald Sharp1-1/+0
lib_errors.c does not need to include zebra.h, so remove Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14ripd: Add RIP_ERR_XXX to move from zlog_err to zlog_ferrDonald Sharp5-3/+83
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14watchfrr: Add WATCHFRR_ERR_XXX for zlog_err to zlog_ferrDonald Sharp4-32/+123
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14lib: Fix Spelling mistakeDonald Sharp1-35/+35
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14eigrpd: Add EIGRP_ERR_XXX for zlog_err to zlog_ferrDonald Sharp10-15/+109
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14nhrpd: Add NHRP_ERR_XXXX for zlog_err to zlog_ferr conversionDonald Sharp6-12/+102
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14bgpd: Add some FLowspec specific Error Codes.Donald Sharp5-21/+49
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14bgpd: Convert to using LIB_ERR_XXX where possibleDonald Sharp12-64/+80
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14zebra, lib: error references for zebraQuentin Young34-333/+829
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-08-14isisd: Cleanup compile issueDonald Sharp1-2/+2
cleanup compile with missnamed enum usage. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14isisd: Add isis_errors and generate custom Error CodesDonald Sharp9-39/+147
Generate appropriate error codes for ISIS. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14isisd: Convert to use LIB_ERR_XXXDonald Sharp7-16/+24
Where an obvious choice could be made about converting to a LIB_ERR_XXX function do so. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14babeld: Convert all zlog_err to zlog_ferr and add appropriate infoDonald Sharp9-63/+117
Convert babeld to use zlog_ferr and add appropriate BABEL_ERR_XXX information. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14babeld: Add BABEL_ERR_XXX error messages.Donald Sharp6-26/+120
Add some BABEL_ERR_XXX error messages and convert over to using zlog_ferr instead of zlog_err. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14pimd: Add pim_errors and define some pim specific errorsDonald Sharp10-12/+107
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14bgpd: Cleanup initialization of bgp_errors.cDonald Sharp3-16/+11
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14bgpd: implement zlog_ferr facility for enhance error messages in bgpDon Slice21-271/+830
Signed-off-by: Don Slice <dslice@cumulusnetworks.com<
2018-08-14ldpd: Convert to using LIB_ERR_XXX and zlog_ferrDonald Sharp1-2/+4
convert ldpd over to using zlog_ferr and LIB_ERR_XXX where appropriate. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14eigrpd: Convert to use LIB_ERR_XXX for zlog_errDonald Sharp4-23/+27
Convert, where appropriate, to using LIB_ERR_XXX for zlog_ferr Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14lib: Update error ranges to include all daemonsDonald Sharp1-9/+35
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14pimd: Convert over to use LIB_ERR_XXX for zlog_errDonald Sharp16-127/+138
Convert, where appropriate, the zlog_err functions to zlog_ferr for the LIB_ERR_XXX enums Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14ripngd: Convert over to using LIB_ERR_XXXX for zlog_ferrDonald Sharp2-14/+26
Convert over those zlog_err functions to zlog_ferr that are appropriate for the LIB_ERR_XXX. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14ripd: Convert zlog_err to zlog_ferr for LIB_ERR_XXXDonald Sharp2-9/+17
For those errors that can be traced to LIB_ERR_XXX convert to using those in ripd. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14ospf6d: Update OSPFv3 to use new zlog_ferrDonald Sharp5-13/+24
Update OSPFv3 to use the new zlog_ferr messages Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14lib: Cleanup some missed LIB_ERR_SYSTEM_CALLDonald Sharp1-4/+6
libfrr.c had some detection for system call issues. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14lib: Add LIB_ERR_ZMQDonald Sharp3-2/+12
Add new error event for when we detect an issue within the ZMQ subsystem. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14lib: Add LIB_ERR_DEVELOPMENTDonald Sharp7-13/+27
Sometimes a error state is detected when we have added new code to FRR, but not updated all the places that we should have. Consider this a developmental escape that needs to be fixed. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14lib: Add LIB_ERR_NS to error subsystemDonald Sharp3-6/+17
Add additional information about NameSpace errors that may happen. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14lib, zebra: Add LIB_ERR_INTERFACEDonald Sharp7-19/+37
Add a error type that allows us to track bad interface states. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14bgpd, lib, zebra: Convert LIB_ERR_PRIVILEGESDonald Sharp18-114/+151
For all the places we zlog_err about raising/lowering privileges, use zlog_ferr. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14lib: Add LIB_ERR_SNMPDonald Sharp3-4/+16
Add code to indicate a SNMP error of some sort that needs to be handled and addressed. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14lib: Add LIB_ERR_VTYDonald Sharp3-6/+17
Add a error code for when the vty subsystem detects an error. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14lib: Add LIB_ERR_SYSTEM_CALL and convert VRF_SOCKET to SOCKETDonald Sharp11-67/+98
Add a new error code LIB_ERR_SYSTEM_CALL to the ferr subsystem. Additionally convert LIB_ERR_VRF_SOCKET to a more generic LIB_ERR_SOCKET. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14lib: When logging commands do not use zlog_errDonald Sharp1-1/+1
When we are logging a commands via the `log commands` cli, use zlog_notice instead of zlog_err, since that this is not an actual error situation. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com.
2018-08-14lib: Convert to zlog_ferr for zclient.cDonald Sharp3-44/+78
Convert the zclient.c file to use zlog_ferr. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14lib, bgpd: Add code to make lib auto create the ferr infrastructureDonald Sharp6-20/+131
Add code to auto-create the ferr infrastructure as well as add some initial error handling for vrf.c Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-08-14lib: Allow adding arrays of ferr'sDonald Sharp2-1/+7
Simplify addition of new messages to the system by allow passage of arrays of data, instead of one at a time. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>