Hi Babu,
netopeer-server manages transAPI modules with their datastores dynamically and the code does not support assigning custom datastore callbacks now. It is possible to add this functionality into the netopeer-server code, but it is not as simple as adding a few lines of code with calling appropriate libnetconf functions (well, maybe for your specific purposes, but such a patch would not be accepted to the netopeer project).
Neither single-server support this feature, however, the code is much more simple and datastores are set statically, so it is much easier to add this functionality there - but I'm actually going to remove the single layer server from the project, not to extend it with a new functionality.
For both cases, you can inspire in [1].
If this is a killer feature for you, I think we are able to add it into netopeer-server. However, due to other works we currently have, it may takes several weeks.
Regards,
Radek
[1] -
https://github.com/openvswitch/of-config/blob/master/server/server.c#L239
Dne 23.3.2015 v 11:33
sbab...@gmail.com napsal(a):