Device Types "All Data (YAML)" export does not include Description #9312

Closed
opened 2025-12-29 20:48:15 +01:00 by adam · 2 comments
Owner

Originally created by @szeestraten on GitHub (Mar 1, 2024).

Originally assigned to: @jeremystretch on GitHub.

Deployment Type

Self-hosted

NetBox Version

v3.7.3

Python Version

3.8

Steps to Reproduce

  1. Create Device Type with a description
  2. Export Device Types with "All Data (YAML)" export
  3. Examine export which does not include the Description field of the device type the set description that was set

Reproducible on demo.netbox.dev

Expected Behavior

Expect the Description field to be present in export.

Observed Behavior

No Description field is present in export.

Originally created by @szeestraten on GitHub (Mar 1, 2024). Originally assigned to: @jeremystretch on GitHub. ### Deployment Type Self-hosted ### NetBox Version v3.7.3 ### Python Version 3.8 ### Steps to Reproduce 1. Create Device Type with a description 2. Export Device Types with "All Data (YAML)" export 3. Examine export which does not include the Description field of the device type the set description that was set Reproducible on demo.netbox.dev ### Expected Behavior Expect the Description field to be present in export. ### Observed Behavior No Description field is present in export.
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 20:48:15 +01:00
adam closed this issue 2025-12-29 20:48:15 +01:00
Author
Owner

@jeremystretch commented on GitHub (Mar 1, 2024):

Looks like the description field is missing from the to_yaml() method on the DeviceType model. It's probably worth a quick audit for missing fields in the method on other models too.

@jeremystretch commented on GitHub (Mar 1, 2024): Looks like the description field is missing from the `to_yaml()` method on the DeviceType model. It's probably worth a quick audit for missing fields in the method on other models too.
Author
Owner

@jeremystretch commented on GitHub (Mar 13, 2024):

The description field is missing from ModuleType as well.

@jeremystretch commented on GitHub (Mar 13, 2024): The `description` field is missing from ModuleType as well.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9312