I'm guessing it's because the packet is vlan tagged before the LLDP header.
Can you change the code to print packet.type before the assert?

Aaron

On Sun, Apr 8, 2012 at 9:38 AM, Theophlius Benson <[email protected]>wrote:

> Good Morning,
>
> I'm running the "routing" module. I get the following errors and each link
> in the topology times out and goes down.
>
> 01954|pyrt|ERR:unable to invoke a Python event handler:
> Traceback (most recent call last):
>  File "./nox/lib/util.py", line 114, in f
>    event.total_len, buffer_id, packet)
>  File "./nox/netapps/discovery/**discovery.py", line 163, in<lambda>
>    discovery.lldp_input_handler(**self,dp,inport,reason,len,bid,**packet),
>  File "./nox/netapps/discovery/**discovery.py", line 250, in
> lldp_input_handler
>    assert (packet.type == ethernet.LLDP_TYPE)
> AssertionError
>
>


-- 
Aaron O. Rosen
Masters Student - Network Communication
306B Fluor Daniel

Reply via email to