[PR #1465] [CLOSED] Add interfaces CSV import, interfaces list, and import/export buttons to device #12205

Closed
opened 2025-12-29 22:20:14 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/1465
Author: @netsiphon
Created: 9/1/2017
Status: Closed

Base: developHead: develop


📝 Commits (10+)

  • 1a8913f Changes to allow import of interfaces and show descriptions inline in interface...some work on description column display
  • ac8a23b Missed InterfacesBulkImportView changes.
  • f49a407 Adding export interface and interface list views
  • 61a12c5 Fix a heading
  • be98967 Fixed reference to InterfaceBulkImportView
  • d4dd073 Fix object type
  • 20f03db Fix InterfaceListView queryset
  • 306f0a8 .
  • df59845 Fixed permission value and working on queryset options for export
  • 44f8bc4 Added InterfaceListTable for queryset and updated view InterfaceViewList

📊 Changes

11 files changed (+363 additions, -2 deletions)

View changed files

📝 netbox/dcim/constants.py (+13 -0)
📝 netbox/dcim/filters.py (+88 -0)
📝 netbox/dcim/forms.py (+109 -1)
📝 netbox/dcim/models.py (+24 -1)
📝 netbox/dcim/tables.py (+45 -0)
📝 netbox/dcim/urls.py (+2 -0)
📝 netbox/dcim/views.py (+15 -0)
📝 netbox/project-static/css/base.css (+14 -0)
📝 netbox/templates/_base.html (+4 -0)
📝 netbox/templates/dcim/device.html (+25 -0)
netbox/templates/dcim/interface_list.html (+24 -0)

📄 Description

Fixes: #1347 Bulk CSV import for more object types

If you would prefer I can open a feature request/requests specifically for these changes under my name and resubmit. Apologize for all of the tiny commits...netbox dev running on non-local vm and I'm a Django novice.

Proposed changes:

  1. Add Import Interfaces CSV form
  2. Add Interfaces List form to allow search and filtering for export
  3. Add Import and Export Interfaces buttons to Device view with direct link to Interface List form export(for specific device).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/1465 **Author:** [@netsiphon](https://github.com/netsiphon) **Created:** 9/1/2017 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (10+) - [`1a8913f`](https://github.com/netbox-community/netbox/commit/1a8913f625c87ae19944b0fb0651af29dfbf0fc3) Changes to allow import of interfaces and show descriptions inline in interface...some work on description column display - [`ac8a23b`](https://github.com/netbox-community/netbox/commit/ac8a23bd8a2c51fbffc4cce50e98081a09cd2649) Missed InterfacesBulkImportView changes. - [`f49a407`](https://github.com/netbox-community/netbox/commit/f49a4074518f868f323cb7d5e756743bdb75b28d) Adding export interface and interface list views - [`61a12c5`](https://github.com/netbox-community/netbox/commit/61a12c5850b8d3d22718d024911ab8c96dbf86c6) Fix a heading - [`be98967`](https://github.com/netbox-community/netbox/commit/be9896733614709af5c22c3ad493d0e5531f7d22) Fixed reference to InterfaceBulkImportView - [`d4dd073`](https://github.com/netbox-community/netbox/commit/d4dd073b840cdb54143e2495ac46502fa4a99124) Fix object type - [`20f03db`](https://github.com/netbox-community/netbox/commit/20f03db8e53913475f4d1957ed61d4409f434e83) Fix InterfaceListView queryset - [`306f0a8`](https://github.com/netbox-community/netbox/commit/306f0a84e9090ad85f43518467d284cc3b813d2d) . - [`df59845`](https://github.com/netbox-community/netbox/commit/df59845c17f6181345586867011b8ee9407469c7) Fixed permission value and working on queryset options for export - [`44f8bc4`](https://github.com/netbox-community/netbox/commit/44f8bc47e88f2b417a5b93386a1d041b814e28da) Added InterfaceListTable for queryset and updated view InterfaceViewList ### 📊 Changes **11 files changed** (+363 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/constants.py` (+13 -0) 📝 `netbox/dcim/filters.py` (+88 -0) 📝 `netbox/dcim/forms.py` (+109 -1) 📝 `netbox/dcim/models.py` (+24 -1) 📝 `netbox/dcim/tables.py` (+45 -0) 📝 `netbox/dcim/urls.py` (+2 -0) 📝 `netbox/dcim/views.py` (+15 -0) 📝 `netbox/project-static/css/base.css` (+14 -0) 📝 `netbox/templates/_base.html` (+4 -0) 📝 `netbox/templates/dcim/device.html` (+25 -0) ➕ `netbox/templates/dcim/interface_list.html` (+24 -0) </details> ### 📄 Description Fixes: #1347 Bulk CSV import for more object types If you would prefer I can open a feature request/requests specifically for these changes under my name and resubmit. Apologize for all of the tiny commits...netbox dev running on non-local vm and I'm a Django novice. Proposed changes: 1. Add Import Interfaces CSV form 2. Add Interfaces List form to allow search and filtering for export 3. Add Import and Export Interfaces buttons to Device view with direct link to Interface List form export(for specific device). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:20:14 +01:00
adam closed this issue 2025-12-29 22:20:14 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12205