Hi all,

We plugged an HP ProCurve switch into an OpenFlow switch today and it caused crashes in discovery:

00002|pyrt|ERR:unable to invoke a Python event handler:
Traceback (most recent call last):
 File "./nox/lib/util.py", line 115, in f
   event.total_len, buffer_id, packet)
 File "./nox/apps/discovery/discovery.py", line 148, in <lambda>
   discovery.lldp_input_handler(self,dp,inport,reason,len,bid,packet),
 File "./nox/apps/discovery/discovery.py", line 235, in lldp_input_handler
   (portid,)  =  struct.unpack("!H", lldph.tlvs[1].id)
 File "/usr/lib/python2.5/struct.py", line 87, in unpack
   return o.unpack(s)
error: unpack requires a string argument of length 2

Attached is the Packet In message containing the LLDP packet.

Let me know if there's any other info you need,
Glen

Attachment: procurve_lldp.pcap
Description: application/cap

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to