telekom / sysrepo-plugin-interfaces

BSD 3-Clause "New" or "Revised" License
10 stars 18 forks source link

Reception of netlink events #2

Open gotthardp opened 2 years ago

gotthardp commented 2 years ago

Hello. Nice work, but-- I am missing the reception of netlink multicast events (such as link up/down, or a notification that a dynamic IP address has been assigned). It would be great if other sysrepo applications could (via the sysrepo API) subscribe and react to those events.

Do you have any plans concerning this feature, please? I could contribute the code (if you think it is a good idea), unless you are already working on it.

iffy50 commented 2 years ago

Hi. We're planning on keeping to the relevant IETF YANG modules. However, if you think it would be a useful addition and are able to contribute then please do. I would suggest that you define an additional YANG module that augments the new nodes onto the existing IETF YANG structures. Please have a look at https://github.com/telekom/sysrepo-plugin-hardware where an additional YANG module add threshold notifications to the ietf-hardware module.