render_template
Generate network device configurations and commands by rendering Jinja2 templates with dynamic variables.
Instructions
Render a Jinja2 template with provided variables.
Jinja2 templates are commonly used in network automation for generating device configurations, commands, and other text-based content by combining template structures with dynamic variable values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes | The Jinja2 template string | |
| variables | No | Zero or more variables to associate with this template |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The fully rendered template with variables substituted |