mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-20 18:23:08 +00:00
![]() 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> |
||
---|---|---|
.. | ||
etc | ||
.gitignore | ||
build-debian-package.sh | ||
checkpatch.pl | ||
checkpatch.sh | ||
cocci.h | ||
convert-fixedwidth.sh | ||
fixup-deprecated.py | ||
frr-reload | ||
frr-reload.py | ||
frr.in | ||
frr.service | ||
gen_northbound_callbacks.c | ||
gen_yang_deviations.c | ||
git-reindent-branch.py | ||
indent.py | ||
lua.scr | ||
Makefile | ||
mrlg.txt | ||
multiple-bgpd.sh | ||
permutations.c | ||
render_md.py | ||
rrcheck.pl | ||
rrlookup.pl | ||
start-stop-daemon.c | ||
subdir.am | ||
vty_check.cocci | ||
vty_index.cocci | ||
vty_index.sh | ||
zc.pl | ||
zebra.el | ||
zprivs.cocci |