[OPNFLWPLUG-67] OpenFlow 1.3 plugin does not discover topology with mininet 2.0 on Ubuntu Precise Created: 02/Feb/14 Updated: 27/Sep/21 Resolved: 12/Aug/14 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Thomas Glanzmann | Assignee: | Luis Gomez |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| External issue ID: | 400 | ||||||||
| Priority: | Normal | ||||||||
| Description |
|
Hello, Download the controller from http://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distributions-base/0.1.0/distributions-base-0.1.0-osgipackage.zip and run it with ./run.sh -of13 Install Ubuntu Precise 64 Bit. And issue the following commands: apt-get install mininet class SampleTopo( Topo ): def _init_( self ):
self.addLink( h3, s2 ) self.addLink( h5, s3 ) self.addLink( s1, s2 ) self.addLink( s4, h7 ) topos = { 'sampletopo': ( lambda: SampleTopo() ) }EOF (ubuntu) [/root] mn --custom mininet_sample_topo.py --mac --topo sampletopo --switch ovsk,protocols=OpenFlow13 --controller remote,ip=<ip> Find the log file attached. Cheers, |
| Comments |
| Comment by Thomas Glanzmann [ 02/Feb/14 ] |
|
Attachment screen-exchange.bz2 has been added with description: Output of the error messages of the controller |
| Comment by Deepankar Gupta [ 05/Feb/14 ] |
|
Hi Thomas Glanzmann, Please find below the inline comments: 1. I have downloaded the controller from http://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distributions-base/0.1.0/distributions-base-0.1.0-osgipackage.zip and run it with ./run.sh -of13 2. I use the following mininet script to create the topology: ------------------------------------------------------------------------------- #!/usr/bin/python from mininet.net import Mininet Switch = OVSKernelSwitch def addHost( net, N ): def multiControllerNet(): net = Mininet( controller=RemoteController, switch=Switch, host=CPULimitedHost, link=TCLink) c1 = net.addController( 'c1',controller=RemoteController,ip="192.168.56.1",port=6633 ) print "*** Creating switches" print "*** Creating hosts" print "*** Creating links" print "*** Starting network" print "*** Running CLI" print "*** Stopping network" if _name_ == '_main_': -------------------------------------------------------------------------------- 3. run the topology in mininet 4. Used opendaylight controller UI i.e at http://localhost:8080 and am able to view the topology. 5. I tested 4-5 times by connecting mininet topology with the controller and checked the OpenDayLight dashboard and it worked fine. Please re-verify and confirm for the bug closure. Thanks |
| Comment by Deepankar Gupta [ 05/Feb/14 ] |
|
Attachment |
| Comment by Thomas Glanzmann [ 05/Feb/14 ] |
|
Hello Deepankar, (ubuntu) [/root] mn --custom mininet_sample_topo.py --mac --topo sampletopo --switch ovsk,protocols=OpenFlow13 --controller remote,ip=192.168.0.7
See also: https://upload.gmvl.de/stillaproblem.png It also looks that in your test case you have connected using OpenFlow 1.0 and I also see a lot of error messages on the controller: https://thomas.glanzmann.de/tmp/screen-exchange.bz2 java.lang.IllegalArgumentException: adflow is unknown Actually I get flooded with that. This is with mininet on ubuntu precise. Cheers, |
| Comment by Michal Rehak [ 06/Mar/14 ] |
|
Hi Thomas,
On second run pings were fast and complete. Could you retest you scenario? |
| Comment by Thomas Glanzmann [ 07/Mar/14 ] |
|
Hello, started it with ./run.sh -of13 and conncted the same mininet topolgy on Ubuntu (ubuntu) [/root] mn --custom mininet_sample_topo.py --mac --topo sampletopo --switch ovsk,protocols=OpenFlow13 --controller remote,ip=192.168.0.7
Which mininet version do you use on which operating system? Cheers, |
| Comment by Michal Rehak [ 07/Mar/14 ] |
|
Thomas, could you try with current integration build? Thank you. |
| Comment by Abhijit Kumbhare [ 24/Mar/14 ] |
|
Thomas, Can you try with the latest build as per Michal Rehak's suggestion? Thanks, |
| Comment by Abhijit Kumbhare [ 14/Apr/14 ] |
|
Thomas, Any update? Thanks, |
| Comment by Abhijit Kumbhare [ 12/Aug/14 ] |
|
Luis, Chris, Can we close this bug? I think this is very old one - and likely not happening anymore (there was also no response from Thomas Glanzmann - the reporter). Thanks, |
| Comment by Abhijit Kumbhare [ 12/Aug/14 ] |
|
Closing as per Chris O'Shea's thoughts over the IRC that it does not exist any longer. |