adding my own yang module to single-level server

48 views
Skip to first unread message

Peter

unread,
Mar 9, 2015, 5:41:25 AM3/9/15
to neto...@googlegroups.com
Hi,

Is there some way to add my own yang module to the single-level server?
currently I only have the .yang file, what procedures do I have to follow to add this yang model to the Netopeer server?

Thanks,
-Peter

Radek Krejčí

unread,
Mar 9, 2015, 5:48:19 AM3/9/15
to Peter, neto...@googlegroups.com
Hi Peter,

follow the TransAPI tutorial [1]. If you really want to use single-level server, you will have to change the code of the server to load your transapi module instead of the example one. However, I recommend to use the multi-level server netopeer-server - the single-level server is no more supported and we plan to remove it from the repository.With the netopeer-server, you can load your module using netopeer-manager and netopeer-configurator, see [2]

[1] - http://libnetconf.googlecode.com/git/doc/doxygen/html/d9/d25/transapi.html
[2] - https://code.google.com/p/netopeer/wiki/MultiLevelServer


Regards,
Radek


Dne 9.3.2015 v 08:39 Peter napsal(a):
Reply all
Reply to author
Forward
0 new messages