Hi:
I am trying to intercept ARP packets with OpenvSwitch (ovs) and send them
to RYU. However, I seemed to encounter the following error when RYU is
dealing with PACKET_IN event triggered by ARP packet:
Error in the datapath 00004a4e285e4b43 from ('192.168.254.10', 47545)
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/controller/controller.py",
line 312, in datapath_connection_factory
datapath.serve()
File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py",
line 232, in serve
self._recv_loop()
File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py",
line 97, in deactivate
method(self)
File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py",
line 165, in _recv_loop
version, msg_type, msg_len, xid, buf)
File "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_parser.py",
line 54, 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 1732, in parser
msg.buf, ofproto_v1_0.OFP_HEADER_SIZE)
error: unpack_from requires a buffer of at least 12 bytes
To add some information, I am using OpenvSwitch version 1.9.90 and RYU
version 3.0.
The flow lying in virtual bridge did show that the ARP packets were
captured.
I'm running ryu+ovs on a small real network (*NOT *mininet).
I also notice that some other people reported similar errors. I'm wondering
whether the problem was solved.
--
Thanks,
Chen
------------------------------------------------------------------------------
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