summaryrefslogtreecommitdiff
path: root/lib/northbound.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2024-12-14 18:26:49 -0500
committerChristian Hopps <chopps@labn.net>2025-01-13 23:40:52 -0500
commit709b2ae23f1b74e8c319ce88625d621e0d6f7beb (patch)
tree81f5f6967d0e9e705ffb95d75f1452edeae15ef0 /lib/northbound.c
parent80c6f98ea7b8229eb1e1f7e9e4bc5da7dae1cee7 (diff)
lib: notify on datastore (oper-state) changes
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/northbound.c')
-rw-r--r--lib/northbound.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/northbound.c b/lib/northbound.c
index c67ed924a9..418cb246f6 100644
--- a/lib/northbound.c
+++ b/lib/northbound.c
@@ -2754,10 +2754,15 @@ void nb_init(struct event_loop *tm,
/* Initialize oper-state */
nb_oper_init(tm);
+
+ /* Initialize notification-state */
+ nb_notif_init(tm);
}
void nb_terminate(void)
{
+ nb_notif_terminate();
+
nb_oper_terminate();
/* Terminate the northbound CLI. */