Add YAML Input for Config Contexts #8505
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
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
The text was updated successfully, but these errors were encountered: