CSV Import IP range #1314

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

Originally created by @idiotproven on GitHub (Oct 16, 2017).

Issue type

[X] Feature request
[ ] Bug report
[ ] Documentation

Environment

Python version: 3.5.2
NetBox version: 2.2.1

Description

When using the IP Address Import (from CSV) you are today unable to add an IP range like in the bulk option when adding manually.

Would be nice to be able to import ranges instead of individual IPs.

E.g:
address,status
10.10.10.[50-60],active

Originally created by @idiotproven on GitHub (Oct 16, 2017). ### Issue type [X] Feature request [ ] Bug report [ ] Documentation ### Environment Python version: 3.5.2 NetBox version: 2.2.1 ### Description When using the IP Address Import (from CSV) you are today unable to add an IP range like in the bulk option when adding manually. Would be nice to be able to import ranges instead of individual IPs. E.g: address,status 10.10.10.[50-60],active
adam closed this issue 2025-12-29 16:31:23 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 16, 2017):

CSV import requires exactly one object per line. This is a fairly universal scheme and we won't deviate from it. If you need to replicate many addresses within a range, you'll need to either script out the generation of a CSV, or script out their creation directly within the Python shell.

@jeremystretch commented on GitHub (Oct 16, 2017): CSV import requires exactly one object per line. This is a fairly universal scheme and we won't deviate from it. If you need to replicate many addresses within a range, you'll need to either script out the generation of a CSV, or script out their creation directly within the Python shell.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1314