netopeer icon indicating copy to clipboard operation
netopeer copied to clipboard

Netopeer server to netopeer server

Open mashemat opened this issue 6 years ago • 8 comments

Hello all,

Based on my topology, I need to connect one netopeer-server instance to another netopeer- server instance to relay the data. Is it feasible in the current version?

Thanks,

mashemat avatar Jul 19 '19 13:07 mashemat

Hi, it is not possible for a NETCONF server to communicate with another NETCONF server directly. Depending on what you need exactly, you may be able to write a NETCONF client that would somehow relay the data.

Regards, Michal

michalvasko avatar Jul 19 '19 13:07 michalvasko

Thanks Michal for your prompt reply. Actually, I need to start connection from one netopeer-server instance to open daylight. So, I was going to solve my problem by two instances of netopeer-server. I know it is not but can netopeer-server initiate connection to opendaylight?

Thanks,

mashemat avatar Jul 19 '19 13:07 mashemat

Hi, a NETCONF server can initiate the connection using Call Home and netopeer2 does support it. But I am not sure that is what you need.

Regards, Michal

michalvasko avatar Jul 22 '19 06:07 michalvasko

Thanks Michal. This is exactly what I need. I tried to enable call home in Netopeer2-server but I have noticed netconf-server is not installed in my machine. I found the previous thread on this issue but I could not solve my problem by that. Do I need to do some special configuration. I see in the netopeer2-server/server/configuration there is xml file which configure the call home but how can I introduce it.

Thanks, Masoud

mashemat avatar Jul 23 '19 07:07 mashemat

Hi Masoud, since you have noticed netopeer2/server/configuration, you should have also found README.md there. You will find all the required information there.

Regards, Michal

michalvasko avatar Jul 23 '19 07:07 michalvasko

Thanks Michal for your reply. Actually, I am trying to connect Netopeer2-server to OpenDaylight (ODL) which are on two different containers through netconf call home. I have doubt how to pass in ssh_callhome.xml. Is it the public key of ODL machine? I put the netopeer2-server in debug mode and I receive the following:

[INF]: Successfully connected to IP:6666 over IPv4. [ERR]: SSH key exchange error (Socket error: Connection reset by peer).

Thanks,

mashemat avatar Jul 23 '19 13:07 mashemat

Hi, the error simply says the client disconnected, so you should check its logs instead.

Regards, Michal

michalvasko avatar Jul 24 '19 06:07 michalvasko

Thanks Michal for your prompt reply. Actually, I need to start connection from one netopeer-server instance to open daylight. So, I was going to solve my problem by two instances of netopeer-server. I know it is not but can netopeer-server initiate connection to opendaylight?

Hi mashemat, My device has installed the netopeer2-server. And a ubuntu has installed netopeer2-cli. The netopeer2-server and netopeer2-cli can connect with each other very well. BUT i want to use opendaylight to control my device. SO may i ask you how does the opendaylight connects with the device. Looking forward to your advice~

pldmgh avatar Jun 19 '20 10:06 pldmgh