Training
Bootcamp
Courses
Tech Sessions
Resources
Blog
Tips
GitHub
YouTube
Newsletter
Playgrounds
Pricing
Sign In
Become Member
Jinja2 Renderer
Validate and test the rendering of your Jinja templates
Tools
J2 Renderer
TTP Parser
TextFSM Parser
XPath Tester
Members Only
JMESPath Validator
JSON Schema Validator
Data Format Converter
Help Us Improve
Jinja Template
hostname {{ device }} {% for server in ntp_servers %} ntp server {{ server }} {% endfor %} {% for syslog_server in syslog_servers %} logging hosdddddddt {{ syslog_server }} {% endfor %} {{ device.interfaces }}
Jinja Data
{'device': 'leaf6-eos', 'ntp_servers': ['192.168.100.1', '192.168.100.2'], 'syslog_servers': ['192.168.200.1', '192.168.200.2'] }
Result
hostname leaf6-eos ntp server 192.168.100.1 ntp server 192.168.100.2 logging hosdddddddt 192.168.200.1 logging hosdddddddt 192.168.200.2
Show whitespace
Trim blocks
Lstrip blocks
Render
Share
Auto-Sync