mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 09:13:01 +02:00
This patch does two main things: 1) Breaks "statd" free from "confd". 2) Introduces netlink monitoring of interfaces for sysrepo data. Prior to this patch, sysrepo operation status was handled by code named "statd" inside "confd". (Where confd is a sysrepo-plugin and not a real daemon, which its name implies) In this patch, we break out the interface part of the operational sysrepo status, previously "statd", into a new daemon, also called "statd". The main reason for doing this is to avoid sysrepo threading, which allows the new "statd" to have control over sysrepo events in the same event pool as netlink events from the kernel. This in turn allows statd to subscribe and unsubscribe dynamically to interfaces that comes and goes during runtime (such as vlans). It also makes sense that "statd" is in fact a finit daemon. Signed-off-by: Richard Alpe <richard@bit42.se>