CESNET / libnetconf

C NETCONF library
Other
113 stars 84 forks source link

Load .so in libnetconf #151

Closed versatildefuy closed 8 years ago

versatildefuy commented 8 years ago

Hi, I followed the steps here to create and compile a transapi module. Now I have the file .so in the path /usr/local/lib. My answer is: How I can load the .so into libnetconf? Thanks. Sorry for my english

michalvasko commented 8 years ago

Hi, in very short, by calling ncds_new_transapi(). However, I would suggest for you to use netopeer (if you don't have a NETCONF server of your own). Once you install it, just use # netopeer-manager add with the correct parameters (path to the transAPI module is one of them). Then, once you start netopeer-server and connect to it, you can modify the configuration of the model your transAPI implements and the callbacks will be called as expected.

Regards, Michal

versatildefuy commented 8 years ago

Thanks you so much Michal.