Hi, Which version(ryu) you use? maybe this bug fixed before v3.23.

2015-07-06 0:46 GMT+08:00 Mehrdad Moradi <[email protected]>:

> Hi,
>
> Did you bring down the two links manually to see the output? Are these the
> only output you have received? For me, it never stops and I continuously
> get link down events. I also was able to reproduce the same problem on
> other machines.
> The problem is why do you have only two links? The linear topology should
> have four links?
>
> Best Regards,
> —Mehrdad
>
> On Jul 5, 2015, at 1:56 AM, Yi Tseng <[email protected]> wrote:
>
> Hello
>
> It works fine on my computer.
>
> mn command:
> sudo mn --controller=remote,ip=10.10.10.10 --topo=linear,3 --mac
> --switch=ovsk,protocols=OpenFlow13
>
> New Link Delete Link: Port<dpid=1, port_no=2, DOWN> to Port<dpid=2,
> port_no=2, LIVE>
>     Current links After Deletion Link: Port<dpid=2, port_no=3, LIVE> to
> Port<dpid=3, port_no=2, LIVE>
>     Current links After Deletion Link: Port<dpid=3, port_no=2, LIVE> to
> Port<dpid=2, port_no=3, LIVE>
> New Link Delete Link: Port<dpid=2, port_no=2, LIVE> to Port<dpid=1,
> port_no=2, LIVE>
>     Current links After Deletion Link: Port<dpid=2, port_no=3, LIVE> to
> Port<dpid=3, port_no=2, LIVE>
>     Current links After Deletion Link: Port<dpid=3, port_no=2, LIVE> to
> Port<dpid=2, port_no=3, LIVE>
>
>
> My env:
> ryu v3.23 with python 3.4 on OSX
> mininet 2.2.1 with ovs 2.0.2 on Ubuntu 14.04 VM
>
>
>
>
>
> 2015-07-05 3:03 GMT+08:00 Mehrdad Moradi <[email protected]>:
>
>> Hi All,
>>
>> I am using mininet and ryu to do some research work. Unfortunately, it
>> seems the link down events are not stable in the RYU source code.  I have
>> simply added the following block to simple_switch_13 to see the link down
>> events.
>>
>>     @set_ev_cls(event.EventLinkDelete, MAIN_DISPATCHER)
>>     def linkDeleteHandler(self, ev):
>>         link_list = get_link(self.topology_api_app, None)
>>         self.logger.info("New Link Delete %s", ev.link)
>>         for link in link_list:
>>             self.logger.info("\tCurrent links After Deletion %s", link)
>>
>> I am receiving numerous link down events for the links that exist while
>> the topology is the same before and after such events. To reproduce this
>> issue, please do the following:
>>
>> 1) sudo mn --topo linear,3 --mac --controller remote --switch ovsk
>> 2) sudo ovs-vsctl set bridge s1 protocols=OpenFlow13
>> 3) sudo ovs-vsctl set bridge s2 protocols=OpenFlow13
>> 4) sudo ovs-vsctl set bridge s3 protocols=OpenFlow13
>> 5) ryu-manager --observe-links   simple_switch-bug.py (attached)
>>
>> You can see the following block continuously in the output. You have
>> received a link down events
>> for the link that exist in the self.topology_api_app.
>>
>> New Link Delete Link:* Port<dpid=3, port_no=2, LIVE> to Port<dpid=2,
>> port_no=3, LIVE>*
>> Current links After Deletion Link: Port<dpid=2, port_no=3, LIVE> to
>> Port<dpid=3, port_no=2, LIVE>
>> Current links After Deletion Link: *Port<dpid=3, port_no=2, LIVE> to
>> Port<dpid=2, port_no=3, LIVE>*
>> Current links After Deletion Link: Port<dpid=3, port_no=2, LIVE> to
>> Port<dpid=1, port_no=2, LIVE>
>> Current links After Deletion Link: Port<dpid=2, port_no=2, LIVE> to
>> Port<dpid=1, port_no=2, LIVE>
>> Current links After Deletion Link: Port<dpid=1, port_no=2, LIVE> to
>> Port<dpid=3, port_no=2, LIVE>
>> Current links After Deletion Link: Port<dpid=1, port_no=2, LIVE> to
>> Port<dpid=2, port_no=2, LIVE>
>>
>> Best Regards
>> —Mehrdad
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Don't Limit Your Business. Reach for the Cloud.
>> GigeNET's Cloud Solutions provide you with the tools and support that
>> you need to offload your IT needs and focus on growing your business.
>> Configured For All Businesses. Start Your Cloud Today.
>> https://www.gigenetcloud.com/
>> _______________________________________________
>> Ryu-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>
>>
>
>
> --
> Yi Tseng (a.k.a Takeshi)
> Taiwan National Chiao Tung University
> Department of Computer Science
> W2CNLab
>
>
>


-- 
Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science
W2CNLab
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to