You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If a device already has interfaces with no MAC set (e.g. device type template interfaces) netbox-agent bails out. It seems it can't find the interface because it's searching by mac&name. I think it should be searching by device&name since this is enough to uniquely identify interfaces.
Expected behavior
MAC address should be updated for existing interfaces.
Configuration file
N/A
Environment:
N/A
Additional context
This is the patch I applied to get it to work for me. This probably breaks other stuff but at least shows what I mean.
Describe the bug
If a device already has interfaces with no MAC set (e.g. device type template interfaces) netbox-agent bails out. It seems it can't find the interface because it's searching by mac&name. I think it should be searching by device&name since this is enough to uniquely identify interfaces.
Expected behavior
MAC address should be updated for existing interfaces.
Configuration file
N/A
Environment:
N/A
Additional context
This is the patch I applied to get it to work for me. This probably breaks other stuff but at least shows what I mean.
The text was updated successfully, but these errors were encountered: