On Mon, 25 Aug 2014 15:55:49 +0000
MARIA VICTORIA ALVAREZ SIERRA <mariavictoria.alvarezsie...@telefonica.com> 
wrote:

> When we start ryu with: gui_topology.py, switches.py, rest_topology.py, 
> ofctl_rest.py
> 
> we obtain the next error:
> 
> hub: uncaught exception: Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 52, in 
> _launch
>     func(*args, **kwargs)
>   File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", line 
> 274, in _event_loop
>     handler(ev)
>   File "/usr/local/lib/python2.7/dist-packages/ryu/topology/switches.py", 
> line 687, in packet_in_handler
>     src_dpid, src_port_no = LLDPPacket.lldp_parse(msg.data)
>   File "/usr/local/lib/python2.7/dist-packages/ryu/topology/switches.py", 
> line 397, in lldp_parse
>     pkt = packet.Packet(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/lldp.py", line 
> 132, in parser
>     tlv = cls._tlv_parsers[tlv_type](buf)
>   File "/usr/local/lib/python2.7/dist-packages/ryu/lib/packet/lldp.py", line 
> 336, in __init__
>     super(SystemDescription, self).__init__(buf, *args, **kwargs)
>   File "/usr/local/lib/python2.7/dist-packages/ryu/lib/packet/lldp.py", line 
> 89, in __init__
>     assert len(buf) >= self.len + LLDP_TLV_SIZE
> AssertionError
> 
> we have been looking for this error in several mailing list archives 
> proposing modifications to lldp.py, without any result (e.g., 
> http://sourceforge.net/p/ryu/mailman/message/31079049/ )
> 
> We are using two switches with this controller: one openvswitch and one HP 
> physical switch. When starting RYU the controller is capable to show both 
> switches but after some time running it seems to become broken.

Can you send the pcap file that crashes the lldp code?

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to