Page MenuHomeVyOS Platform

op-mode: lldp: "show lldp neighbors" IndexError: list index out of range
Closed, ResolvedPublicBUG


[email protected]:~$ show lldp neighbors 
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/", line 151, in <module>
    tmp['neighbors'].append( extract_neighbor(neighbor) )
  File "/usr/libexec/vyos/op_mode/", line 108, in extract_neighbor
    device['platform'] = chassis[0].getElementsByTagName('descr')[0][:20].replace(',',' ')
IndexError: list index out of range

Connected is an Arista vEOS switch and another VyOS router (back-2-back)


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)