[PR #3911] [MERGED] Closes #3801: Change DeviceType export from CSV to YAML #12693

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3911
Author: @jeremystretch
Created: 1/13/2020
Status: Merged
Merged: 1/13/2020
Merged by: @jeremystretch

Base: develop-2.7Head: 3801-devicetype-yaml


📝 Commits (3)

📊 Changes

5 files changed (+127 additions, -25 deletions)

View changed files

📝 docs/release-notes/version-2.7.md (+1 -0)
📝 netbox/dcim/models/__init__.py (+91 -16)
📝 netbox/dcim/tests/test_views.py (+12 -0)
📝 netbox/dcim/views.py (+6 -3)
📝 netbox/utilities/views.py (+17 -6)

📄 Description

Fixes: #3801

Switch the DeviceType list view export format from CSV to YAML. This allows users to create definitions for the device type library with minimal editing.


🔄 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/3911 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 1/13/2020 **Status:** ✅ Merged **Merged:** 1/13/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop-2.7` ← **Head:** `3801-devicetype-yaml` --- ### 📝 Commits (3) - [`0dad9f8`](https://github.com/netbox-community/netbox/commit/0dad9f8901275a4239aa06d98f1dd72c4bb824d3) Change DeviceType export from CSV to YAML - [`f170a57`](https://github.com/netbox-community/netbox/commit/f170a579de2718761ba087ef78e8f6bd3e4accb1) Add test for DeviceType YAML export - [`ce0e351`](https://github.com/netbox-community/netbox/commit/ce0e351d76df27d34a8385ef4dcae3ef1d851bbb) Changelog for #3801 ### 📊 Changes **5 files changed** (+127 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `docs/release-notes/version-2.7.md` (+1 -0) 📝 `netbox/dcim/models/__init__.py` (+91 -16) 📝 `netbox/dcim/tests/test_views.py` (+12 -0) 📝 `netbox/dcim/views.py` (+6 -3) 📝 `netbox/utilities/views.py` (+17 -6) </details> ### 📄 Description ### Fixes: #3801 Switch the DeviceType list view export format from CSV to YAML. This allows users to create definitions for the [device type library](https://github.com/netbox-community/devicetype-library) with minimal editing. --- <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:23:05 +01:00
adam closed this issue 2025-12-29 22:23:05 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12693