Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netopeer server to netopeer server #183

Open
mashemat opened this issue Jul 19, 2019 · 8 comments
Open

Netopeer server to netopeer server #183

mashemat opened this issue Jul 19, 2019 · 8 comments

Comments

@mashemat
Copy link

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,

@michalvasko
Copy link
Member

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

@mashemat
Copy link
Author

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,

@michalvasko
Copy link
Member

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

@mashemat
Copy link
Author

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

@michalvasko
Copy link
Member

michalvasko commented Jul 23, 2019

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

@mashemat
Copy link
Author

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,

@michalvasko
Copy link
Member

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

Regards,
Michal

@pldmgh
Copy link

pldmgh commented Jun 19, 2020

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~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants