Closed Michael-Swartz closed 1 year ago
Just realized this caused another issue with the Netbox integration where the interfaces now always show up as blank. Going to investigate more.
I'd like to see a test case dealing with this particular behaviour.
Also, isn't the "model" expecting either a MAC address or nothing? Now it could be potentially anything.
I resolved an issue of receiving a netaddr.core.AddrFormatError while using get_lldp_neighbors and get_lldp_neighbors_details with Netbox. It seems as though the mac addresses that were returned on line 323 would would throw a netaddr.core.AddrFormatError exception. So now instead of returning an error, it will return lldp_entry[k] as ' ' if it cannot parse the mac address.