]> git.puffer.fish Git - matthieu/frr.git/commit
lib: load nb callbacks even with ignore_cbs set
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 15 Nov 2023 01:15:18 +0000 (02:15 +0100)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 21 Nov 2023 11:13:05 +0000 (13:13 +0200)
commit0d2e1985a827462c55ada9976bd281d92a6edf09
tree6e7424cb72de5c919fcb81864168d7f9944cee8a
parent77ff93b8f5f714880dfe56ff01a57870fd2ed8b6
lib: load nb callbacks even with ignore_cbs set

Don't skip NB callbacks loading when ignore_cbs is set for a YANG
module. It allows us to use cli_show, cli_show_end and cli_cmp callbacks
in mgmtd and output configuration directly from it instead of backend
daemons.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
lib/northbound.c