netopeer2 icon indicating copy to clipboard operation
netopeer2 copied to clipboard

Need a clarification

Open biswajit84 opened this issue 1 year ago • 1 comments

Hi, I am trying to understand how netopeer can help me in bringing up mplane. As I am new starting with basic doubts: Objective: Establish TLS netconf session with client->Initiate Callhome->On callhome reply wait for request

So to achieve this, am I supposed to netconf API for TLS session and and use sysrepo api,the callback will invoke to read the config data. OR in netopeer we have apis which can be achieved without calling sysrespo apis explicitely.

Regards, Biswajit

biswajit84 avatar Apr 30 '24 09:04 biswajit84

netopeer2 is just a NETCONF interface for sysrepo, you will not interact with it locally at all. I would suggest you start by reading about sysrepo to learn about its features. As for a NETCONF connection, I do not understand what you want to do. You can either connect normally or using Call Home so I am going to assume you want the latter. For that you will have to configure netopeer2 to initiate Call Home connections, find out in README how. You can use sysrepocfg to import/merge configuration files into sysrepo.

michalvasko avatar Apr 30 '24 09:04 michalvasko