Templates
Author Jinja2 configuration templates with variables, versioning, rendering, and reusable examples.
6 articles
Template Basics
Introduction to configuration templates in NetStacks -- what they are, how to create one, and when to use them for network config management.
Jinja2 Syntax
Complete reference for Jinja2 templating syntax in NetStacks -- filters, conditionals, loops, macros, inheritance, and sandboxed execution.
Variables & Extraction
How NetStacks automatically discovers variables from templates and how variable values are populated from manual entry, device data, and API sources.
Template Versioning
How NetStacks tracks every template change with immutable versions, and how to compare, diff, and roll back template versions.
Rendering & Preview
How to preview rendered template output, validate Jinja2 syntax, diff against running configs, and use dry-run mode before deploying.
Example Templates
Production-ready Jinja2 template examples for VLAN, ACL, BGP, OSPF, and interface configurations across Cisco IOS, NX-OS, Juniper JunOS, and Arista EOS.
Need Help?
Can't find what you're looking for? Browse all documentation or get in touch.