]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/lib_errors.c
zebra, lib: fix the ZEBRA_INTERFACE_VRF_UPDATE zapi message
[mirror_frr.git] / lib / lib_errors.c
index 71d1ec6e58fb87284f3a494789f5527790e65ecc..7e428f135c4bbce018489d562c0b55527dbb1c30 100644 (file)
@@ -105,10 +105,16 @@ static struct log_ref ferr_lib_warn[] = {
                .suggestion = "Check if the installed FRR YANG modules are in sync with the FRR binaries",
        },
        {
-               .code = EC_LIB_NB_CB_CONFIG,
-               .title = "A northbound configuration callback has failed",
-               .description = "The northbound subsystem has detected that a callback used to process a configuration change has returned an error",
-               .suggestion = "The log message should contain further details on the specific error that occurred; investigate the reported error.",
+               .code = EC_LIB_NB_CB_CONFIG_VALIDATE,
+               .title = "A northbound configuration callback has failed in the VALIDATE phase",
+               .description = "A callback used to process a configuration change has returned a validation error",
+               .suggestion = "The provided configuration is invalid. Fix any inconsistency and try again.",
+       },
+       {
+               .code = EC_LIB_NB_CB_CONFIG_PREPARE,
+               .title = "A northbound configuration callback has failed in the PREPARE phase",
+               .description = "A callback used to process a configuration change has returned a resource allocation error",
+               .suggestion = "The system might be running out of resources. Check the log for more details.",
        },
        {
                .code = EC_LIB_NB_CB_STATE,
@@ -134,6 +140,12 @@ static struct log_ref ferr_lib_warn[] = {
                .description = "The northbound subsystem failed to edit a candidate configuration",
                .suggestion = "This is a bug; please report it"
        },
+       {
+               .code = EC_LIB_NB_OPERATIONAL_DATA,
+               .title = "Failure to obtain operational data",
+               .description = "The northbound subsystem failed to obtain YANG-modeled operational data",
+               .suggestion = "This is a bug; please report it"
+       },
        {
                .code = EC_LIB_NB_TRANSACTION_CREATION_FAILED,
                .title = "Failure to create a configuration transaction",
@@ -320,6 +332,18 @@ static struct log_ref ferr_lib_err[] = {
                .description = "The northbound subsystem has detected that the libsysrepo library returned an error",
                .suggestion = "Open an Issue with all relevant log files and restart FRR"
        },
+       {
+               .code = EC_LIB_NB_CB_CONFIG_ABORT,
+               .title = "A northbound configuration callback has failed in the ABORT phase",
+               .description = "A callback used to process a configuration change has returned an error while trying to abort a change",
+               .suggestion = "Gather log data and open an Issue.",
+       },
+       {
+               .code = EC_LIB_NB_CB_CONFIG_APPLY,
+               .title = "A northbound configuration callback has failed in the APPLY phase",
+               .description = "A callback used to process a configuration change has returned an error while applying the changes",
+               .suggestion = "Gather log data and open an Issue.",
+       },
        {
                .code = END_FERR,
        }