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


Web ui not showing all hosts in a topology

asked 2016-05-22 13:36:40 -0700

mann8352 gravatar image

updated 2016-05-22 13:45:54 -0700

Hello everyone, I am using distribution-karaf-0.3.0-Lithium of ODL. I have installed following features in ODL:

opendaylight-user@root>feature:install odl-dlux-core

opendaylight-user@root>feature:install odl-l2switch-switch

I tried to create a linear topology of 3 switches using ODL and mininet using the command:

"sudo mn --topo linear,3 --controller remote,ip="

Instead of showing 3 hosts, the web UI of ODL shows only 2 hosts. I tried to ping all hosts but the ping fails. The result of "pingall" shows following:

mininet> pingall

* Ping: testing ping reachability

h1 -> h2 X

h2 -> h1 h3

h3 -> X h2

* Results: 33% dropped (4/6 received)

But the "nodes" command shows 3 hosts. The result is as:

mininet> nodes

available nodes are:

c0 h1 h2 h3 s1 s2 s3

What could be the reason behind this? If anyone can please help.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2016-05-23 21:25:23 -0700

karthik330 gravatar image

updated 2016-05-23 21:38:03 -0700

Try odl-l2switch-all , Hope ping will reach each node. Reason might be Flow rules not installed in switch(I may wrong). check the flows in each switch. If ping all works fine, then in Dlux UI you could see all the nodes!

edit flag offensive delete publish link more

answered 2016-05-24 08:49:33 -0700

jamoluhrsen gravatar image

you can install just "odl-l2switch-switch-ui" and that will bring in the GUI (DLUX) as well as all the other features you need. Try starting from a clean slate. unzip the distribution, start karaf, install the feature. After a few mins (you can monitor CPU usage and wait until it calms down) start mininet and then see if the pings are successful.

If not, then I would look at the karaf.log for any obvious ERROR messages. You could check the flows on the mininet switches (as karthik330 alludes to).

edit flag offensive delete publish link more

answered 2016-05-24 12:02:37 -0700

mann8352 gravatar image

updated 2016-05-24 12:06:16 -0700

Thanks @karthik330 and @jamoluhrsen. As suggested I installed the following feature in ODL

opendaylight-user@root>feature:install odl-l2switch-switch-ui

While connecting two switches I get the following error in mininet

Error: RTNETLINK answers: No such file or directory(t24, a23)

where t24 and a23 are switch name. while pinging I get following exception in ODL:

Exception in thread "Thread-120" java.util.concurrent.RejectedExecutionException: Task rejected from[Shutting down, pool size = 0, active threads = 0, queued tasks = 1, completed tasks = 0] at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution( at java.util.concurrent.ThreadPoolExecutor.reject( at java.util.concurrent.ThreadPoolExecutor.execute( at at org.opendaylight.openflowjava.protocol.impl.core.connection.ConnectionAdapterImpl$ at

The web ui neither shows proper interconnection between switches nor hosts. What does this exception mean? Can you help me to resolve the issues?

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

Question Tools

1 follower


Asked: 2016-05-22 13:36:40 -0700

Seen: 745 times

Last updated: May 24 '16