hi,

ryu-de...@lists.sourceforge.net might be a better place
to ask ryu specific questions like this.

without looking at the packets in question, it's hard to tell
what's going wrong.  probably you want to enclose the packet decoding
in a try-block and collect appropriate info.

YAMAMOTO Takashi

> the other error:
> 
> 
> 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/base/app_manager.py", line 
> 256, in _event_loop
>     handler(ev)
>   File "/root/ryu-3.8/ryu/app/simple_switch_13.py", line 70, in 
> _packet_in_handler
>     pkt = packet.Packet(msg.data)
>   File "/usr/local/lib/python2.7/dist-packages/ryu/lib/packet/packet.py", 
> line 45, in __init__
>     self._parser(parse_cls)
>   File "/usr/local/lib/python2.7/dist-packages/ryu/lib/packet/packet.py", 
> line 51, in _parser
>     proto, cls, rest_data = cls.parser(rest_data)
>   File "/usr/local/lib/python2.7/dist-packages/ryu/lib/packet/ospf.py", line 
> 432, in parser
>     raise InvalidChecksum
> InvalidChecksum
> 
> 
> 
> 2014-06-03
> 
> 
> 
> jjf_neu_scu
> 
> 
> 
> \xe5\x8f\x91件人:"jjf_neu_scu"<jjf_neu_...@163.com>
> \xe5\x8f\x91送\xe6\x97\xb6\xe9\x97\xb4:2014-06-03 14:24
> 主\xe9\xa2\x98:[openflow-discuss] ryu error
> 收件人:"openflow-discuss"<openflow-discuss@lists.stanford.edu>
> 抄送:
> 
> Hello all:
> 
> 
> I tried my application in RYu 3.8 with mininet,It works well,But when I try 
> it with KVM and Openvswitch ,it show the list errors:
> 
> 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/base/app_manager.py", line 
> 142, in _event_loop
>     handler(ev)
>   File "/root/RyuGui/ryu/ryu/app/3FW.py", line 154, in _packet_in_handler
>     pkt = packet.Packet(msg.data)
>   File "/usr/local/lib/python2.7/dist-packages/ryu/lib/packet/packet.py", 
> line 45, in __init__
>     self._parser(parse_cls)
>   File "/usr/local/lib/python2.7/dist-packages/ryu/lib/packet/packet.py", 
> line 51, in _parser
>     proto, cls, rest_data = cls.parser(rest_data)
>   File "/usr/local/lib/python2.7/dist-packages/ryu/lib/packet/llc.py", line 
> 153, in parser
>     control, information = ctrl.parser(buf[cls._PACK_LEN:])
>   File "/usr/local/lib/python2.7/dist-packages/ryu/lib/packet/llc.py", line 
> 253, in parser
>     assert (control >> 12) & 0b1111 == 0
> AssertionError
> 
> 
> Could you help me to solved the problem!
> 2014-06-03
> 
> 
> 
> jjf_neu_scu
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to