libnetconf2 icon indicating copy to clipboard operation
libnetconf2 copied to clipboard

libnetconf2 v2.x: nc_notif structure

Open rabhat31 opened this issue 3 years ago • 2 comments

Hi, I have a couple of questions.

Is the nc_notif structure no longer used in libnetconf2 v2.x ? Is there a transition manual to v2.x available, similar to what was provided for libyang?

rabhat31 avatar May 11 '22 00:05 rabhat31

In the same vein as the prev questions, has nc_reply been removed as well? What is a replacement structure I can use?

rabhat31 avatar May 11 '22 00:05 rabhat31

Is there a transition manual to v2.x available, similar to what was provided for libyang?

Unfortunately not.

Is the nc_notif structure no longer used in libnetconf2 v2.x ?

nc_notif and nc_reply structures were removed because libyang v2 defines opaque nodes that are able to store non-YANG data that were stored separately before. So now you can always simply get a data tree with all the NETCONF-specific elements.

michalvasko avatar May 11 '22 06:05 michalvasko