Ask Your Question
0

Problem in integrating netconf agent with karaf.

asked 2015-02-17 03:27:37 -0700

anonymous user

Anonymous

Hi all, I am trying to connect netconf agent with karaf. But the session in netconf agent is opening and closing continously. Can anyone tell why is this happening? Thanks in advance.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-02-17 08:43:33 -0700

Maros gravatar image

Hi, We are going to need a bit more information:

  • What version of ODL are you using ?
  • What agent are you connection ?
  • Do you have the log from the run ?
edit flag offensive delete publish link more
0

answered 2015-02-17 20:30:33 -0700

Divya gravatar image

updated 2015-02-17 22:07:49 -0700

1) The version we used is Helium 1.1 2) We have implemented our own netconf agent in java that we are trying to connect with ODL. 3) Yes we have log files which are generated at runtime.

When we connecting netconf agent with netopeer client(opensource) the agent is able to hold the session. But when we connect our netconf agent with ODL the session is not holding and showing the message as below

[org.apache.sshd.common.util.SecurityUtils] : BouncyCastle not registered, using the default JCE provider [net.i2cat.netconf.server.Server] : Host: '10.138.89.53', listenig port: 2224 [net.i2cat.netconf.server.Server] : Server configured. [net.i2cat.netconf.server.Server] : Starting server... [org.apache.sshd.common.io.nio2.Nio2Acceptor] : Creating Nio2Acceptor [org.apache.sshd.common.io.nio2.Nio2Acceptor] : Binding Nio2Acceptor to address /10.138.89.53:2224 [net.i2cat.netconf.server.Server] : Server started. /home/tcs/Desktop/12022015/NETCONF5.2.15/yanglib [Ljava.lang.String;@2ffa1294 [*] Waiting for messages. To exit press CTRL+C y2jsrc.com.ietfNetconf.Nc enable invoked y2jsrc.com.ietfInetTypes.Inet enable invoked y2jsrc.com.ietfNetconfAcm.Nacm enable invoked y2jsrc.com.ietfYangTypes.Yang enable invoked y2jsrc.com.ietfNetconfNotifications.Ncn enable invoked y2jsrc.com.vyattaFirewall.Fwall enable invoked [org.apache.sshd.common.io.nio2.Nio2Session] : Creating Nio2Session on /10.138.89.53:2224 from /10.138.89.53:51827 [org.apache.sshd.server.session.ServerSession] : Session created from /10.138.89.53:51827 [org.apache.sshd.common.io.nio2.Nio2Session] : Writing 25 bytes [org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider] : Generating host key... [org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider] : Unable to write key : java.io.FileNotFoundException: (No such file or directory) [org.apache.sshd.common.io.nio2.Nio2Session] : Writing 360 bytes [org.apache.sshd.common.io.nio2.Nio2Session] : Read 506 bytes [org.apache.sshd.server.session.ServerSession] : Client version string: SSH-2.0-SSHD-CORE-0.12.0 [org.apache.sshd.server.session.ServerSession] : Received packet SSHMSGKEXINIT [org.apache.sshd.server.session.ServerSession] : Received SSHMSGKEXINIT [org.apache.sshd.common.io.nio2.Nio2Session] : Read 152 bytes [org.apache.sshd.server.session.ServerSession] : Received packet SSHMSGKEXDHINIT [org.apache.sshd.server.kex.DHG1] : Received SSHMSGKEXDHINIT [org.apache.sshd.server.kex.DHG1] : KS: 00 00 00 07 73 73 68 2d 64 73 73 00 00 00 81 00 fd 7f 53 81 1d 75 12 29 52 df 4a 9c 2e ec e4 e7 f6 11 b7 52 3c ef 44 00 c3 1e 3f 80 b6 51 26 69 45 5d 40 22 51 fb 59 3d 8d 58 fa bf c5 f5 ba 30 f6 cb 9b 55 6c d7 81 3b 80 1d 34 6f f2 66 60 b7 6b 99 50 a5 a4 9f 9f e8 04 7b 10 22 c2 4f bb a9 d7 fe b7 c6 1b f8 3b 57 e7 c6 a8 a6 15 0f 04 fb 83 f6 d3 c5 1e c3 02 35 54 13 5a 16 91 32 f6 75 ... (more)

edit flag offensive delete publish link more
Login/Signup to Answer

Stats

Asked: 2015-02-17 03:27:37 -0700

Seen: 126 times

Last updated: Feb 17 '15