Madhusudhan Kandadai <madhusudhan.opendaylight@...>
Thanks Reinaldo.
I installed docker image mentioned
at https://wiki.opendaylight.org/view/OpenDaylight_Controller:Config:Examples:Netconf#Docker_image and I am able to see the response sent by server in XML after doing "ssh root@localhost -p 1831 -s netconf."
I have created an xml mentioned at https://wiki.opendaylight.org/view/OpenDaylight_Controller:Config:Examples:Netconf#Editing_Netconf_Client_Configuration_by_Creating_Initial_Controller_Config_File and named it as "04-libnetconfd.xml". Have enabled the logs at logback.xml. After restarting the controller, when I issue GET request "http://localhost:8080/restconf/operational/opendaylight-inventory:nodes" I do get the following response:
{ "nodes": { "node": [ {
"id": "libnetconfd" } ] } }
Could you please suggest in-order to get the correct response mentioned at https://wiki.opendaylight.org/view/OpenDaylight_Controller:Config:Examples:Netconf#Editing_Netconf_Client_Configuration_by_Creating_Initial_Controller_Config_File
Sorry for my repeated question.
Thanks, Madhusudhan On Friday, March 28, 2014 6:38 PM, Reinaldo Penno <rapenno@...> wrote:
toggle quoted message
Show quoted text
On Fri, Mar 28, 2014 at 2:45 PM, Madhusudhan Kandadai <madhusudhan.opendaylight@...> wrote:
Thanks Reinaldo. I have two scenarios in testing netconf SB plugin:
(a) Have LINC switch in another VM which actually runs netconf code. I tried to make it work in testing netconf plugin by starting LINC switch in another VM. Have changed IP address, username,port(I used 830 for ssh and put"false" in tcp-only), enabled the log. Unable to
recollect where I got stuck. I am still refining it to get more details about this
I got this error: .obj/src/server_comm_dbus.o: In function
`comm_loop': server_comm_dbus.c:(.text+0xee3): undefined reference to `server_sessions_get_by_ncid'. This is similar to the one : http://pastebin.com/vcvZp4bm. I could not find any resolution there.
Just checking whether anyone working/worked on this netconf plugin faced this error before? If yes, could you advise on how to overcome this error?
Thanks, Madhusudhan
On Tuesday, March 25, 2014 6:04 PM, Reinaldo Penno
<rapenno@...> wrote: okay, there seems a confusion.
ODL has an internal Netconf server. This server is used for configuration of internal ODL stuff.
In order to test the Netconf SB plug-in you need an _external_ Netconf server device - outside ODL. This can be a number of devices or a stand-alone daemon like netopeer running Netconf Server code.
On Tue, Mar 25, 2014 at 4:42 PM, Madhusudhan Kandadai <madhusudhan.opendaylight@...> wrote:
Hi Reinaldo,
I believe netconf server will be started automatically after starting the controller. Here is the following lines called from config.ini. (Please correct me if I am wrong)
# Netconf startup
configuration netconf.tcp.address=127.0.0.1 netconf.tcp.port=8383
netconf.tcp.client.address=127.0.0.1 netconf.tcp.client.port=8383
netconf.ssh.address=0.0.0.0
netconf.ssh.port=1830 netconf.ssh.pk.path = ./configuration/RSA.pk
so, do you think I have to change the ip address, port#, which are defined at 02-libnetconfd.xml according to the one mentioned above? If not, can you please shed some light on this ? Sorry if this is a basic question.
Thanks, Madhusudhan
On Monday, March 24, 2014 8:20 PM, Reinaldo Penno <rapenno@...> wrote:
Which device are you using as a netconf server? You have to substitute the IP address on the example by the IP address of your netconf device. You need to make sure netconf is running on the device, etc.
On Mon, Mar 24, 2014 at 7:52 PM, Madhusudhan Kandadai <madhusudhan.opendaylight@...> wrote:
Then started the controller using of13 plugin, but I could not see any notification like this:
2014-02-12 04:42:10.043 PST [pool-23-thread-1] INFO o.o.c.s.c.n.NetconfDevice#libnetconfd - Starting Netconf Client on: /10.0.1.27:830
Am I doing something wrong?
Thanks,
Madhusudhan
On Monday, March 24, 2014 7:37 PM, Reinaldo Penno <rapenno@...> wrote:
If the file is correct, nothing else is needed and a netconf session will be established between ODL and netconf server (device)
|