Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Device not showing up on the ODL GUI after discovering ... Still waiting for help !

asked 2014-05-16 08:05:19 -0700

csadi gravatar image

updated 2014-05-16 12:43:45 -0700

Hello Experts

I created and modified "04-netconf-devices.xml" as per one of the posts to add a netconf device. I do see that there was netconf connection established and data exchanged.

What I dont see is the device in the GUI. Below are some additional information and logs.

On the browser, when I go to


I get,

Mount point does not contain any schema with modules.

Also, below is the snippet of the debug log,

I enabled debug logging for netconf and below is a snippet of the same. I’m still not seeing the node in the GUI

&revision=2014-01-23, urn:ietf:params:netconf:capability:rollback-on-error:1.0, urn:ietf:params:xml:ns:yang:ietf-yang-types?m odule=ietf-yang-types&revision=2010-09-24, 012-11-08, urn:ietf:params:netconf:capability:url:1.0?scheme=ftp,sftp,file, las-products, 2014-05-16 10:00:19.517 EDT [pool-29-thread-1] DEBUG o.o.c.s.c.n.NetconfDevice#Atlas7800Adi1 – Update device state transactio n DOM-2 putting operational data started. 2014-05-16 10:00:19.517 EDT [pool-29-thread-1] DEBUG o.o.c.s.c.n.NetconfDevice#Atlas7800Adi1 – Update device state transactio n DOM-2 putting operational data ended. 2014-05-16 10:00:19.520 EDT [pool-29-thread-1] DEBUG o.o.c.s.c.n.NetconfDevice#Atlas7800Adi1 – Update device state transactio n DOM-2 SUCCESSFUL. 2014-05-16 10:00:44.663 EDT [http-bio-8080-exec-1] INFO o.o.c.u.internal.UserManager – Local Authentication Succeeded for Us er: “admin” 2014-05-16 10:00:44.665 EDT [http-bio-8080-exec-1] INFO o.o.c.u.internal.UserManager – User “admin” authorized for the follo wing role(s): [Network-Admin]

Would really appreciate if someone could help me here so that I can have a successful device discovery on my ODL



edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted

answered 2014-05-16 09:24:36 -0700

To add, we can see the restconf output using below api - that means node is getting discovered in md-sal:


edit flag offensive delete publish link more

answered 2014-05-16 10:58:46 -0700

csadi gravatar image

updated 2014-05-16 14:56:59 -0700

I did check that [restconf output] and i got the below output on console and on the browser, I see the message "Restconf is not initialized yet. Please try again later"- How do I initialize restconf?

[root@bti-ma-sdn opendaylight]# 2014-05-16 17:50:52 EDT [com.sun.jersey.spi.container.ContainerResponse] SEVERE com.sun.jerse y.spi.container.ContainerResponse logException Mapped exception to response: 503 (Service Unavailable) org.opendaylight.controller.sal.restconf.impl.ResponseException at org.opendaylight.controller.sal.restconf.impl.ControllerContext.checkPreconditions( at org.opendaylight.controller.sal.restconf.impl.ControllerContext.toInstanceIdentifier( at org.opendaylight.controller.sal.restconf.impl.RestconfImpl.readConfigurationData( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke( at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker.dispatch(A at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatche at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept( at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept( at com.sun.jersey.server.impl.uri.rules.ResourceObjectRule.accept( at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept( at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept( at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest( at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest( at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest( at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest( at com.sun.jersey.spi.container.servlet.WebComponent.service( at com.sun.jersey.spi.container.servlet.ServletContainer.service( at com.sun.jersey.spi.container.servlet.ServletContainer.service( at javax.servlet.http.HttpServlet.service( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( at org.apache.catalina.core.ApplicationFilterChain.doFilter( at org.apache.catalina.filters.CorsFilter.handleNonCORS( at org.apache.catalina.filters.CorsFilter.doFilter( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( at org.apache.catalina.core.ApplicationFilterChain.doFilter( at org.apache.catalina.core.StandardWrapperValve.invoke( at org.apache.catalina.core.StandardContextValve.invoke( at org.apache.catalina.authenticator.AuthenticatorBase.invoke( at org.apache.catalina.core.StandardHostValve.invoke( at org.apache.catalina.valves.ErrorReportValve.invoke( at org.apache.catalina.valves.AccessLogValve.invoke( at org.apache.catalina.authenticator.SingleSignOn.invoke( at org.apache.catalina.core.StandardEngineValve.invoke( at org.apache.catalina.connector.CoyoteAdapter.service( at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor ... (more)

edit flag offensive delete publish link more


Hi Adi, Seems you have to wait for controller to startup properly. -Kanika

kanika28 ( 2014-05-18 05:36:21 -0700 )edit

Hi Kanika Im still seeing the same error "Restconf is not initialized yet. Please try again later" Have you seen this working before? Have you been able to see your netconf device on the GUI? Regards Adi

csadi ( 2014-05-19 06:19:24 -0700 )edit

In the log, Im seeing opendaylight.log:2014-05-19 09:19:40.264 EDT [ConfigPersister-registrator] WARN o.o.c.c.p.s.d.a.AutodetectDirectoryPersister - Unable to restore configuration snapshot from configuration/initial/04-netconf-devices.xml Not sure why ...

csadi ( 2014-05-19 07:29:44 -0700 )edit

I fixed the above - again, some issue with the xml file. Now Im back to square one. I dont see the device on the GUI

csadi ( 2014-05-19 08:54:10 -0700 )edit

No, I have not tried visualizing my netconf device on ODL GUI, I was more interested in RESTCONF API output.

kanika28 ( 2014-05-19 22:08:10 -0700 )edit

answered 2014-05-19 02:36:48 -0700

Tony Tkacik gravatar image

If you are refering to existing GUI in Opendaylight, this GUI shows only Flow Capable devices, not Netconf Devices.

edit flag offensive delete publish link more


Thanks Tony Do you mean to say, when I add another node, I will be able to see both on the GUI?

csadi ( 2014-05-19 06:36:53 -0700 )edit

Tony means that devices managed through netconf-devices.xml will not be visible on ODL GUI at all. You can only visualize them through RESTCONF APIs.

kanika28 ( 2014-05-19 22:06:01 -0700 )edit

@Tony Tkacik Does it mean that ODL's GUI read FlowNode tree and not the Node treaa?

kanika28 ( 2014-05-20 02:40:35 -0700 )edit

@kanika28 Yes, that is correct - currently to GUI only Flow capable nodes are exported.

Tony Tkacik ( 2014-05-20 10:09:14 -0700 )edit
Login/Signup to Answer


Asked: 2014-05-16 08:05:19 -0700

Seen: 1,215 times

Last updated: May 19 '14