mirror_frr/tests
Renato Westphal 1a4bc045de lib, tests: major rework in the operational-data callbacks
The northbound infrastructure for operational data was subpar compared
to the infrastructure for configuration data. This commit addresses most
of the existing problems, making it possible to write operational-data
callbacks for more complex YANG models.

Summary of the changes:
* Add support for nested YANG lists.
* Add support for leaf-lists.
* Add support for leafs of type "empty".
* Introduce the "show yang operational-data XPATH" command, and write an
  unit test for it. The main purpose of this command is to make it
  easier to test the operational-data northbound callbacks.
* Introduce the nb_oper_data_iterate() function, that can be used
  to iterate over operational data. Make the CLI and sysrepo use this
  function.
* Since ConfD has a very peculiar API, it can't reuse the
  nb_oper_data_iterate() like the other northbound clients. In this
  case, adapt the existing ConfD callbacks to support the new features
  (and make some performance improvements in the process).

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2018-11-26 18:28:53 -02:00
..
bgpd Merge pull request #3051 from mitch-skiba/addpath_change_V1 2018-11-13 09:20:22 -05:00
helpers lib: introduce new northbound API 2018-10-27 16:16:12 -02:00
isisd tests: Verify correct operation of lsp_build_list_nonzero_ht 2018-11-12 12:24:10 +01:00
lib lib, tests: major rework in the operational-data callbacks 2018-11-26 18:28:53 -02:00
ospf6d build: non-recursive tests 2018-09-08 21:26:54 +02:00
.gitignore lib, tests: major rework in the operational-data callbacks 2018-11-26 18:28:53 -02:00
Makefile build: non-recursive tests 2018-09-08 21:26:54 +02:00
runtests.py tests: add pytest testrunners 2017-02-13 17:43:47 +01:00
subdir.am lib, tests: major rework in the operational-data callbacks 2018-11-26 18:28:53 -02:00
test_lblmgr.c *: Replace zclient_new with zclient_new_notify 2018-11-12 09:16:23 -05:00