Prevent duplicate vlans #429

Closed
opened 2025-12-29 16:21:58 +01:00 by adam · 1 comment
Owner

Originally created by @harsh-kotak on GitHub (Sep 9, 2016).

I was adding vlans for tentants using Import vlan feature but accidentally I imported the same csv data multiple time. Can we have an option to prevent duplicate vlan or at least an option to select mutiple vlans and then delete?

Originally created by @harsh-kotak on GitHub (Sep 9, 2016). I was adding vlans for tentants using Import vlan feature but accidentally I imported the same csv data multiple time. Can we have an option to prevent duplicate vlan or at least an option to select mutiple vlans and then delete?
adam closed this issue 2025-12-29 16:21:58 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 12, 2016):

NetBox will allow the creation of duplicate VLANs within a site, except within a defined VLAN group. This is to allow sufficient flexibility to represent the real world, where VLAN IDs may be reused within a site. Each VLAN ID within a VLAN group, however, must be unique. You can enforce unique VLAN IDs per site by creating a single VLAN group per site.

@jeremystretch commented on GitHub (Sep 12, 2016): NetBox will allow the creation of duplicate VLANs within a site, except within a defined VLAN group. This is to allow sufficient flexibility to represent the real world, where VLAN IDs may be reused within a site. Each VLAN ID within a VLAN group, however, must be unique. You can enforce unique VLAN IDs per site by creating a single VLAN group per site.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#429