Ask Your Question
0

topology is not updating in ODL when restart of mininet with different topo

asked 2015-04-22 08:09:23 -0700

venkatramireddy gravatar image

We started OpenDayLight and mininet with custom topology and we could see the topology in ODL UI but when we restart the mininet with different topology, the new updated topology is not reflecting in the ODL. Its always showing old topology.

We did the following steps:

  1. started karaf.( installed these features: feature:install odl-restconf odl-l2switch-switch odl-mdsal-apidocs odl-dlux-core ) 2.started mininet with custom topology ( mn --mac --custom=test.py --topo=mytopo --controller=remote,ip=127.0.0.1) 3.ODL UI shows proper topology and we could get all hosts and switches through API.
  2. stopped mininet and did mininet clean ( "mn -c")
  3. started mininet with different topology and added required flows and everything looks fine from mininet side.
  4. updated topology didn't reflect in ODL. Its always showing the old topology.

Please suggest.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-05 04:39:59 -0700

updated 2015-05-05 04:44:56 -0700

I tried with OpenDaylight Helium and Mininet 2.2.1. It works fine. Just had to hit the "reload" Tried the topologies tree and linear as below, sudo mn --controller=remote,ip=127.0.0.1 --topo tree,6 and sudo mn --controller=remote,ip=127.0.0.1 --topo linear,2

Also did a pingall from both topologies. Is it because of a browser cache that the browser is not updated? Can you clear the browser cache and confirm whether that was a possibility?

Also check the logs of ODL for potential hints. Logs can be found from the /data/log folder. https://ask.opendaylight.org/question/755/how-to-open-opendaylight-logs-in-karaf-distribution/

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

Question Tools

Follow
1 follower

Stats

Asked: 2015-04-22 08:09:23 -0700

Seen: 246 times

Last updated: May 05 '15