Device Name (Asset Tag) is breaking NAPALM/LLDP #5779

Closed
opened 2025-12-29 19:32:36 +01:00 by adam · 2 comments
Owner

Originally created by @bitcollector1 on GitHub (Dec 15, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.1.1

Python version

3.8

Steps to Reproduce

  1. click on LLDP Neighbors Tab

Expected Behavior

LLDP Neighbors with matching names should be green

Observed Behavior

LLDP Neighbors are red since the newest version of NetBox has asset tags as well in the name.

LLDP-FAIL
Originally created by @bitcollector1 on GitHub (Dec 15, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.1.1 ### Python version 3.8 ### Steps to Reproduce 1. click on LLDP Neighbors Tab ### Expected Behavior LLDP Neighbors with matching names should be green ### Observed Behavior LLDP Neighbors are red since the newest version of NetBox has asset tags as well in the name. <img width="1317" alt="LLDP-FAIL" src="https://user-images.githubusercontent.com/50723251/146145262-06775a07-e179-451e-9db0-3cc97f34c6ee.png">
adam added the type: bugstatus: accepted labels 2025-12-29 19:32:36 +01:00
adam closed this issue 2025-12-29 19:32:36 +01:00
Author
Owner

@bitcollector1 commented on GitHub (Dec 15, 2021):

I fixed one of my scripts that broke after the upgrade by replacing device.display with device.name

@bitcollector1 commented on GitHub (Dec 15, 2021): I fixed one of my scripts that broke after the upgrade by replacing device.display with device.name
Author
Owner

@bitcollector1 commented on GitHub (Dec 22, 2021):

Nice, thanks for getting this fixed so quickly, we rely on LLDP heavily in our labs!

@bitcollector1 commented on GitHub (Dec 22, 2021): Nice, thanks for getting this fixed so quickly, we rely on LLDP heavily in our labs!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5779