| Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
|
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
|
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
|
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
|
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
|
Include a couple of missed headers.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Should be handled by pager
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
|
* Add 'all' option
* Add 'json' option
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
|
Babel was screwing up lib initialization causing double inits of many
things.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
|
* Stop double init of ferr
* Fixup bugs in zebra ferr
* Add missing init in ospfd
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
|
* 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>
|
|
Ticket:CM-21333
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
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>
|
|
lib_errors.c does not need to include zebra.h, so remove
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
|
cleanup compile with missnamed enum usage.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Generate appropriate error codes for ISIS.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
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>
|
|
Convert babeld to use zlog_ferr and add appropriate BABEL_ERR_XXX
information.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
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>
|
|
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Signed-off-by: Don Slice <dslice@cumulusnetworks.com<
|
|
convert ldpd over to using zlog_ferr and LIB_ERR_XXX
where appropriate.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Convert, where appropriate, to using LIB_ERR_XXX for zlog_ferr
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Convert, where appropriate, the zlog_err functions to zlog_ferr
for the LIB_ERR_XXX enums
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
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>
|
|
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>
|
|
Update OSPFv3 to use the new zlog_ferr messages
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
libfrr.c had some detection for system call issues.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Add new error event for when we detect an issue within
the ZMQ subsystem.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
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>
|
|
Add additional information about NameSpace errors that
may happen.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Add a error type that allows us to track bad interface states.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
For all the places we zlog_err about raising/lowering privileges, use
zlog_ferr.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
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>
|
|
Add a error code for when the vty subsystem detects
an error.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
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>
|
|
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.
|
|
Convert the zclient.c file to use zlog_ferr.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
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>
|
|
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>
|