Hi, please tell me the mininet commands used for topology building. and result of "net" mininet command.
mininet> net thanks. On Tue, 12 Nov 2013 12:45:24 +0800 許珈榮 <[email protected]> wrote: > yes, i used mininet to emulate. > the topology is like this, > h1 - S1 - S2 - h2 > > > > 2013/11/12 watanabe.fumitaka <[email protected] > <mailto:[email protected]>> > > Hi, > > STP bridge needs one port at least. > Does your sw have a port? > > > thanks. > > > > > On Mon, 11 Nov 2013 18:50:27 +0800 > 許珈榮 <[email protected] <mailto:[email protected]>> wrote: > > hi guys, > another question. > Now i downloaded the simple_switch_stp.py > i type the command "ryu-manager ryu/app/simple_switch_stp.py" > below is error message > -- error msg--- > > loading app simple_switch_stp.py > loading app ryu.controller.ofp_handler > creating context stplib > instantiating app ryu.controller.ofp_handler > instantiating app simple_switch_stp.py > [STP][INFO] dpid=0000000000000003: Join as stp bridge. > hub: uncaught exception: Traceback (most recent call last): > File "/usr/local/lib/python2.7/__dist-packages/ryu/lib/hub.py", > line 48, in _launch > func(*args, **kwargs) > File > "/usr/local/lib/python2.7/__dist-packages/ryu/base/app___manager.py", line > 110, in _event_loop > handler(ev) > File > "/usr/local/lib/python2.7/__dist-packages/ryu/lib/stplib.__py", line 215, in > dispacher_change > self._register_bridge(ev.__datapath) > File > "/usr/local/lib/python2.7/__dist-packages/ryu/lib/stplib.__py", line 227, in > _register_bridge > self.send_event_to_observers) > File > "/usr/local/lib/python2.7/__dist-packages/ryu/lib/stplib.__py", line 365, in > __init__ > system_id = dp.ports.values()[0].hw_addr > IndexError: list index out of range > > ----- > how do i fix it > > thx~ > > > > > 2013/11/11 FUJITA Tomonori <[email protected] > <mailto:[email protected]> > <mailto:fujita.tomonori@lab.__ntt.co.jp > <mailto:[email protected]>>> > > > Hi, > > On Mon, 11 Nov 2013 16:42:25 +0800 > Wei-li Tang <[email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>>> wrote: > > > 2013/11/11 許珈榮 <[email protected] > <mailto:[email protected]> <mailto:crazygod1100908@gmail.__com > <mailto:[email protected]>>>: > > >> hi guys, > >> these days, i searches about some routing information > about Ryu. > >> > http://sourceforge.net/__mailarchive/message.php?msg___id=31438818 > <http://sourceforge.net/mailarchive/message.php?msg_id=31438818> > >> this website mentioned about spanning tree > >> does someone know where to download the STP source code? > >> or Ryu would update these codes? > >> > > > > The code is shown on the webpage. Copy the patch and apply it > to your > > ryu repository by "patch" or "git apply" command. > > I've just applied the above patch. You can use the latest code. > > Thanks, > > > > > > ------------------------------__------------------------------__------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get > the most > from the latest Intel processors and coprocessors. See abstracts and > register > > http://pubads.g.doubleclick.__net/gampad/clk?id=60136231&iu=__/4140/ostg.clktrk > <http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk> > > > > _________________________________________________ > Ryu-devel mailing list > [email protected].__net > <mailto:[email protected]> > https://lists.sourceforge.net/__lists/listinfo/ryu-devel > <https://lists.sourceforge.net/lists/listinfo/ryu-devel> > > > > > ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
