]> git.proxmox.com Git - mirror_frr.git/commit - lib/northbound_sysrepo.c
lib: simplify handling of the sysrepo startup configuration
authorRenato Westphal <renato@opensourcerouting.org>
Sat, 12 Sep 2020 01:39:50 +0000 (22:39 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 15 Sep 2020 19:00:07 +0000 (16:00 -0300)
commitbbeaa0333c28c1fbe73f81ff44f1ce27adda3789
treee589c577cd202e719fcdb9f908507332b76eb5f9
parent7dac19f7de94ab562d6075314ae3c0eb1604ba2f
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