summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-01-14 16:29:18 -0200
committerRenato Westphal <renato@opensourcerouting.org>2019-01-14 16:33:37 -0200
commitb44d0de5768909f1c2ab802af1a3550398c3f3a5 (patch)
treef0e9a29c2c4f0875db3e16ad76c7aedcabb795b6 /lib/lib_errors.c
parent9f6de29901ed93e7db721b20e861c598364fa9a2 (diff)
lib: update suggestions related to some northbound errors
Since commit 3a11599c, the FRR YANG modules are embedded inside the binaries and no longer need to be loaded from the file system. This way, it's impossible for the FRR binaries and YANG modules to be out of sync anymore. As such, update the suggestions of the northbound error codes. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/lib_errors.c')
-rw-r--r--lib/lib_errors.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/lib_errors.c b/lib/lib_errors.c
index 7e428f135c..5f6c25b770 100644
--- a/lib/lib_errors.c
+++ b/lib/lib_errors.c
@@ -102,7 +102,7 @@ static struct log_ref ferr_lib_warn[] = {
.code = EC_LIB_NB_CB_UNNEEDED,
.title = "Unneeded northbound callback",
.description = "The northbound subsystem, during initialization, has detected a callback that doesn't need to be implemented",
- .suggestion = "Check if the installed FRR YANG modules are in sync with the FRR binaries",
+ .suggestion = "This is a bug; please report it"
},
{
.code = EC_LIB_NB_CB_CONFIG_VALIDATE,
@@ -270,19 +270,19 @@ static struct log_ref ferr_lib_err[] = {
.code = EC_LIB_NB_CB_MISSING,
.title = "Missing northbound callback",
.description = "The northbound subsystem, during initialization, has detected a missing callback for one node of the loaded YANG modules",
- .suggestion = "Check if the installed FRR YANG modules are in sync with the FRR binaries",
+ .suggestion = "This is a bug; please report it"
},
{
.code = EC_LIB_NB_CB_INVALID_PRIO,
.title = "Norhtbound callback has an invalid priority",
.description = "The northbound subsystem, during initialization, has detected a callback whose priority is invalid",
- .suggestion = "Check if the installed FRR YANG modules are in sync with the FRR binaries",
+ .suggestion = "This is a bug; please report it"
},
{
.code = EC_LIB_NB_CBS_VALIDATION,
.title = "Failure to validate the northbound callbacks",
.description = "The northbound subsystem, during initialization, has detected one or more errors while loading the northbound callbacks",
- .suggestion = "Check if the installed FRR YANG modules are in sync with the FRR binaries",
+ .suggestion = "This is a bug; please report it"
},
{
.code = EC_LIB_LIBYANG,