Support for creation of ConfigContexts using YAML-formatted data #3377

Closed
opened 2025-12-29 18:28:31 +01:00 by adam · 5 comments
Owner

Originally created by @jeremystretch on GitHub (Feb 21, 2020).

Environment

  • Python version: 3.6.9
  • NetBox version: 2.7.7

Proposed Functionality

Implement the ability to create and edit config context data in YAML format. (Currently only JSON is available.) This follows #3313, which enabled the display of data in YAML format.

Use Case

Offers convenience for users who have data already in YAML format, and achieves parity with the current ability to display data in either YAML or JSON.

Database Changes

None

External Dependencies

None

Originally created by @jeremystretch on GitHub (Feb 21, 2020). ### Environment * Python version: 3.6.9 * NetBox version: 2.7.7 ### Proposed Functionality Implement the ability to create and edit config context data in YAML format. (Currently only JSON is available.) This follows #3313, which enabled the display of data in YAML format. ### Use Case Offers convenience for users who have data already in YAML format, and achieves parity with the current ability to display data in either YAML or JSON. ### Database Changes None ### External Dependencies None
adam added the type: featurestatus: needs ownerpending closure labels 2025-12-29 18:28:31 +01:00
adam closed this issue 2025-12-29 18:28:31 +01:00
Author
Owner

@sdktr commented on GitHub (Feb 21, 2020):

What to do with fields that are a superset of JSON? Like comments and anchor options?

@sdktr commented on GitHub (Feb 21, 2020): What to do with fields that are a superset of JSON? Like comments and anchor options?
Author
Owner

@jeremystretch commented on GitHub (Feb 21, 2020):

The data is still stored as JSON in the database, so we either strip them silently or fail on validation.

@jeremystretch commented on GitHub (Feb 21, 2020): The data is still stored as JSON in the database, so we either strip them silently or fail on validation.
Author
Owner

@stale[bot] commented on GitHub (Mar 6, 2020):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@stale[bot] commented on GitHub (Mar 6, 2020): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@stale[bot] commented on GitHub (Sep 7, 2020):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@stale[bot] commented on GitHub (Sep 7, 2020): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@stale[bot] commented on GitHub (Sep 23, 2020):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@stale[bot] commented on GitHub (Sep 23, 2020): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3377