Thanks for the report!

On Tue, 28 Oct 2014 17:59:05 +0900
Yutaka Yasuda <[email protected]> wrote:

> I tried to test RYU + Simple Switch (1.0) app with my Arista 7050T switch but 
> it did not work correctly. 
> Today I am happy that I could figure out the reason why.
> 
> Just simple_switch.py does not consider about the non-buffering type switch 
> such as Arista.
> And simple_switch_13.py includes that treatment as follows;
> 
> https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_13.py#L95-L97
> 
> ;        data = None
> ;        if msg.buffer_id == ofproto.OFP_NO_BUFFER:
> ;            data = msg.data
> 
> (and variable 'data' will be used as the last argument of 
> parser.OFPPacketOut() call. )
> 
> So, the lack of this handling, the first ARP request will not be flooded.
> Then Simple Switch (1.0) did not work with Arista correctly (and some kind of 
> hardware based switches, I guess). 

I've just pushed fixes for simple switch code for 1.0 and 1.2. I've
not tested them at all. Hopefully, I don't mess up. :)

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to