]> git.puffer.fish Git - mirror/frr.git/commit
lib: simplify handling of the sysrepo startup configuration
authorRenato Westphal <renato@opensourcerouting.org>
Sat, 12 Sep 2020 01:39:50 +0000 (22:39 -0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 6 Oct 2020 12:54:24 +0000 (15:54 +0300)
commit8537d30e7fed47c82b127c190f3a7b148f369239
tree8684770e10226d05900e58f482da8eb20ba74a73
parent8181db9621b849c0bc1902d47802baa3c799542d
lib: simplify handling of the sysrepo startup configuration

In the new Sysrepo, all SR_EV_ENABLED notifications are followed by
SR_EV_DONE notifications (assuming no errors occur), so there's no
need to special case the SR_EV_ENABLED event anymore (e.g. do full
transactions in one step).

While here, add a few more guarded debug messages to facilitate
troubleshooting.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/northbound_sysrepo.c