-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
I am not sure how this code is doing VLAN lookups and relation to NetBox, it in my example it's hijacking a VLAN that belongs to a different tenant/site. For example I might have a VLAN10 at Site 1, and this script is syncing Site 2 that also has a VLAN10. The code is seemingly finding the "other" VLAN10 and overwriting it (for example by adding tags). Infact after a review, it looks like it's just the tag handling.
I did a quick read and my theory is that it's looking at VLAN ID as the matching attribute. In a multi-tenant multi-site setup this can't be the case, as you will definitely have the same VLAN ID existing at multiple sites/locations/regions. Perhaps it should be making sure both ID and NAME match? Or ID+NAME+SITE/CLUSTER?
Metadata
Metadata
Assignees
Labels
No labels