Add VLAN in Interface Bulk Import #8261

Closed
opened 2025-12-29 20:34:27 +01:00 by adam · 3 comments
Owner

Originally created by @netopsab on GitHub (Jun 28, 2023).

NetBox version

3.5.4

Feature type

New functionality

Proposed functionality

Have the ability to pass VLAN (untagged and / or tagged) when importing interfaces (for creation or edition).

For untagged_vlan, I propose to use the VLAN name and for tagged_vlans, the VLAN name separated by commas, encased with double quotes (like tags). Below some examples :

Suggestion csv untagged mode

device,name,type,mode,untagged_vlan
sw01,xe-0/0/0,10gbase-x-sfpp,access,vlan1

Suggestion csv tagged mode

device,name,type,mode,tagged_vlans
sw01,xe-0/0/0,10gbase-x-sfpp,access,"vlan1,vlan2,vlan3"

Use case

Align functionality between bulk edit and import views.
Ability to import all informations at interface creation or edition (included VLAN).

Database changes

None

External dependencies

None

Originally created by @netopsab on GitHub (Jun 28, 2023). ### NetBox version 3.5.4 ### Feature type New functionality ### Proposed functionality Have the ability to pass VLAN (untagged and / or tagged) when importing interfaces (for creation or edition). For untagged_vlan, I propose to use the VLAN name and for tagged_vlans, the VLAN name separated by commas, encased with double quotes (like tags). Below some examples : Suggestion csv untagged mode ``` device,name,type,mode,untagged_vlan sw01,xe-0/0/0,10gbase-x-sfpp,access,vlan1 ``` Suggestion csv tagged mode ``` device,name,type,mode,tagged_vlans sw01,xe-0/0/0,10gbase-x-sfpp,access,"vlan1,vlan2,vlan3" ``` ### Use case Align functionality between bulk edit and import views. Ability to import all informations at interface creation or edition (included VLAN). ### Database changes None ### External dependencies None
adam added the type: featurepending closure labels 2025-12-29 20:34:27 +01:00
adam closed this issue 2025-12-29 20:34:27 +01:00
Author
Owner

@netopsab commented on GitHub (Jun 28, 2023):

I have a running code for this feature. So I could submit a PR for this if accepted.

@netopsab commented on GitHub (Jun 28, 2023): I have a running code for this feature. So I could submit a PR for this if accepted.
Author
Owner

@github-actions[bot] commented on GitHub (Sep 27, 2023):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Sep 27, 2023): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Oct 27, 2023):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Oct 27, 2023): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8261