Ryu-team,
We used Tcpdump to capture the packets and validated that it is an issue
related to "malfold openflow packet" sent by Open vSwitch to the Ryu
controller. We also used this patch (
http://www.mail-archive.com/[email protected]/msg02228.html)
to dump the error msg, which is e.g.,
*Encounter an error during parsing OpenFlow packet from switch.This implies
switch sending a malfold OpenFlow packet.version 0x01 msg_type 10 msg_len
18 xid 0 buf 0x1 0xa 0x0 0x12 0x0 0x0 0x0 0x0 0xff 0xff 0xff 0xff 0x0 0x2a
0x0 0x6 0x1 0x0*
*Traceback (most recent call last):*
* File
"/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_parser.py",
line 58, in msg*
* return msg_parser(datapath, version, msg_type, msg_len, xid, buf)*
* File
"/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_v1_0_parser.py",
line 53, in msg_parser*
* return parser(datapath, version, msg_type, msg_len, xid, buf)*
* File
"/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_v1_0_parser.py",
line 1743, in parser*
* msg.buf, ofproto_v1_0.OFP_HEADER_SIZE)*
*error: unpack_from requires a buffer of at least 12 bytes*
*Error in the datapath 000046c8c9b16440 from ('192.168.254.2', 48012)*
We used Open vSwitch version 1.9.90 and most recent Ryu code in the master
branch. Are there any known issues with compatibility between Ryu and Open
vSwitch? Or any special configurations needed to be taken care of? In our
expectation Ryu should be able to work with Open vSwitch smoothly just out
of the box, and not sure why even the first packets (we tried ARP, DHCP,
etc) crash Ryu abruptly. Btw, we are researchers from AT&T Labs Research
and University of Pennsylvania, and are using Ryu to build large-scale
virtual networks and also for OpenStack. We appreciate your help. Thanks.
Changbin
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel