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
{% for interface in interfaces %} interface {{ interface.name }} description {{ interface.description }} ip address {{ interface.p2p }} no switchport no shut ! {% endfor %}
Jinja Data
interfaces: - name: Eth11 p2p: 10.10.10.1/30 description: TRANSIT-LINK - name: Eth12 p2p: 10.10.20.1/30 description: CUSTOMER-A - name: Eth13 p2p: 10.10.30.1/30 description: OUTSIDE
Result
interface Eth11 description TRANSIT-LINK ip address 10.10.10.1/30 no switchport no shut ! interface Eth12 description CUSTOMER-A ip address 10.10.20.1/30 no switchport no shut ! interface Eth13 description OUTSIDE ip address 10.10.30.1/30 no switchport no shut !
Show whitespace
Trim blocks
Lstrip blocks
Render
Share
Auto-Sync