Open safesintesi opened 7 months ago
Browsing your code I see that here you explicitly say that notifications in your netconf-cli
are not supported yet, so I guess nc_recv_notif
is not wrapped yet.
Is this something on your future radar?
Sorry for a late reply. So far we have not needed this feature, and that's why it's missing. Patches are welcome.
Hi Jan, thank you for the interest. I would love to contribute and I have already prepared a patch for basic notification support. The only problem is that as for #3 I cannot sign in to libnetconf2-cpp's gerrit with my github credentials. Any help would be great.
P.S. I get Forbidden
on every attempt.
Checking the source code I see that RPCs are handled with
impl::do_rpc
which autonomously waits for the reply, but I see no wrap for notifications and relative subscriptions.Is this something not yet implemented or am I missing something?
Is there any way to receive notifications from a NETCONF agent without using a custom wrapper of the C library's functions?