Hi guys, 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). In addition, simple_switch_12.py also has no code for non-buffering switch too, in here; https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_12.py#L83 Please backport this feature to old brothers of Simple Switch. It will help all RYU newbies who has their buffer-less hardware switches. I am sure simple_switch.py (1.0) does work with this fix. I did not tested on simple_switch_12.py, but it seems ok, as your guys fixed it on 1.3 version. Thanks. ---- Yutaka Yasuda, Kyoto Sangyo University, Japan. ------------------------------------------------------------------------------ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
