Automate export of DeviceTypes in YAML export #3099

Closed
opened 2025-12-29 18:25:37 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Dec 27, 2019).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.6.8
  • NetBox version: 2.7-beta1

Proposed Functionality

Change the built-in DeviceType export format from CSV to YAML, with each DeviceType instance represented as a discrete YAML document

Use Case

Now that YAML-based import is supported, it makes sense to export DeviceTypes as YAML rather than CSV. This should also help people more easily contribute to the community device type library.

Database Changes

None

External Dependencies

None

Originally created by @jeremystretch on GitHub (Dec 27, 2019). Originally assigned to: @jeremystretch on GitHub. ### Environment * Python version: 3.6.8 * NetBox version: 2.7-beta1 ### Proposed Functionality Change the built-in DeviceType export format from CSV to YAML, with each DeviceType instance represented as a discrete YAML document ### Use Case Now that YAML-based import is supported, it makes sense to export DeviceTypes as YAML rather than CSV. This should also help people more easily contribute to the community [device type library](https://github.com/netbox-community/devicetype-library). ### Database Changes None ### External Dependencies None
adam added the status: acceptedtype: feature labels 2025-12-29 18:25:37 +01:00
adam closed this issue 2025-12-29 18:25:37 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3099