mirror_frr/tests/lib/cli
Renato Westphal b90204a8e9 lib, tools: silence harmless warnings in the northbound tools
Our two northbound tools don't have embedded YANG modules like the
other FRR binaries. As such, ly_ctx_set_module_imp_clb() shouldn't be
called when the YANG subsystem it being initialized by a northbound
tool. To make that possible, add a new "embedded_modules" parameter
to the yang_init() function to control whether libyang should look
for embedded modules or not.

With this fix, "gen_northbound_callbacks" and "gen_yang_deviations"
won't emit "YANG model X not embedded, trying external file"
warnings anymore.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2020-04-03 22:34:55 -03:00
..
.gitignore *: track version & "defaults" in configs 2017-03-28 19:18:42 +02:00
common_cli.c lib, tools: silence harmless warnings in the northbound tools 2020-04-03 22:34:55 -03:00
common_cli.h *: reindent 2017-07-17 14:04:07 +02:00
test_cli.c build: non-recursive tests 2018-09-08 21:26:54 +02:00
test_cli.in tests: reorganize tests hierarchically 2017-02-13 16:54:48 +01:00
test_cli.py tests: properly locate files in builddir 2018-09-08 21:30:19 +02:00
test_cli.refout.in tests: fix domainname dependency 2018-12-07 19:34:45 +01:00
test_commands.c lib, tools: silence harmless warnings in the northbound tools 2020-04-03 22:34:55 -03:00
test_commands.in tests: reorganize tests hierarchically 2017-02-13 16:54:48 +01:00
test_commands.py tests: fix & run ZeroMQ test 2017-08-28 18:00:13 +02:00
test_commands.refout tests: reorganize tests hierarchically 2017-02-13 16:54:48 +01:00