netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
16.22k stars 2.59k forks source link

Add ability to render template with context data from within GUI #14400

Open DanSheps opened 11 months ago

DanSheps commented 11 months ago

NetBox version

v3.6.6

Feature type

Change to existing functionality

Proposed functionality

Add ability to pass some context data and render a template within the GUI based on the context data.

Use case

Currently, you are able to render the configuration templates manually within the API (POST /api/extras/config-templates/9/render/) however no such ability exists within the GUI.

Having the ability to pass context data via a form and produced rendered content would bring parity to this feature between the API and the GUI.

It would allow testing and validation of templates prior to deploying them to a new platform and allow for "snippets" to be generated to make changes.

Changes required

Database changes

No database changes

External dependencies

No response

github-actions[bot] commented 8 months ago

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. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.