Ask Your Question
0

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=127.0.0.1"

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
0

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
0

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
0

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 org.opendaylight.openflowplugin.openflow.md.core.HandshakeStepWrapper@1503c612 rejected from org.opendaylight.openflowplugin.openflow.md.core.ThreadPoolLoggingExecutor@113c506a[Shutting down, pool size = 0, active threads = 0, queued tasks = 1, completed tasks = 0] at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047) at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369) at org.opendaylight.openflowplugin.openflow.md.core.ConnectionConductorImpl.onConnectionReady(ConnectionConductorImpl.java:451) at org.opendaylight.openflowjava.protocol.impl.core.connection.ConnectionAdapterImpl$1.run(ConnectionAdapterImpl.java:185) at java.lang.Thread.run(Thread.java:745)

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

Follow
1 follower

Stats

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

Seen: 667 times

Last updated: May 24 '16