libnetconf icon indicating copy to clipboard operation
libnetconf copied to clipboard

how to change the server port

Open ob1ank opened this issue 6 years ago • 3 comments

I want to run the netconf server on non-830 port. What should I do? Thanks

ob1ank avatar May 20 '19 13:05 ob1ank

Hi, I do not think libnetconf listens on any port, this is a question for netopeer-server. Anyway, all you should need to do is to change ietf-netconf-server configuration and netopeer-server should configure itself accordingly. You can maybe use netopeer-configurator for this, I do not remember, it's been too long. And since we have ended our support for these projects, that is all the information I can give you.

Regards, Michal

michalvasko avatar May 20 '19 14:05 michalvasko

@michalvasko Thank you for your reply. I want to implement a fake netconf server. It can accept protocol operations from the netconf client and respond as I intended. In other words, there is no actual netconf device or datastore below it. Can I use libnetconf to implement this case?

Regards, Rick

ob1ank avatar May 21 '19 02:05 ob1ank

Hi Rick, yes, just do not generate transapi module when using lnctool and you can install it into netopeer-server. I would still advise using it since it supports your use-case.

Regards, Michal

michalvasko avatar May 21 '19 06:05 michalvasko