Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add YAML Input for Config Contexts #8505

Closed
romulus-ai opened this issue Feb 1, 2022 · 2 comments
Closed

Add YAML Input for Config Contexts #8505

romulus-ai opened this issue Feb 1, 2022 · 2 comments
Labels
pending closure Requires immediate attention to avoid being closed for inactivity status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation type: feature Introduction of new functionality to the application

Comments

@romulus-ai
Copy link

NetBox version

v3.1.6

Feature type

Change to existing functionality

Proposed functionality

Configcontexts currently could only be added in JSON Format, however they could be displayed as YAML as well. Since YAML is the more comfortable format to add configuration Data it would be nice to be able to add config contexts in YAML format.

I.e. you could allow to add YAML configuration and translate it to JSON before you save it in the DB, this way only a change of the View and/or Controller should be neccessary.

Use case

It is much easier to manually manipulate YAML Text instead of JSON, additionally an example.

When you use Netbox as Inventory source for you ansible Playbooks, the transfer of the inventory configuration written in YAML would be much much easier than translating this YAML to JSON first manually.

Database changes

Don't think that there are any DB Changes neccessary

External dependencies

Don't think there are external Dependencies neccessary

@romulus-ai romulus-ai added the type: feature Introduction of new functionality to the application label Feb 1, 2022
@jeremystretch jeremystretch added the status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation label Mar 30, 2022
@github-actions
Copy link
Contributor

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.

@github-actions github-actions bot added the pending closure Requires immediate attention to avoid being closed for inactivity label May 30, 2022
@github-actions
Copy link
Contributor

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pending closure Requires immediate attention to avoid being closed for inactivity status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

2 participants