yes, i used mininet to emulate.
the topology is like this,
h1 - S1 - S2 - h2
2013/11/12 watanabe.fumitaka <[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]> 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]>>
>>
>>
>> Hi,
>>
>> On Mon, 11 Nov 2013 16:42:25 +0800
>> Wei-li Tang <[email protected] <mailto:[email protected]>> wrote:
>>
>> > 2013/11/11 許珈榮 <[email protected] <mailto:
>> [email protected]>>:
>>
>> >> hi guys,
>> >> these days, i searches about some routing information about Ryu.
>> >> 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
>>
>>
>>
>> _______________________________________________
>> Ryu-devel mailing list
>> [email protected]
>> 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