Skip to content

Welcome to YAML & Jinja

Jinja YAML Banner

These sections will cover Jinja and YAML, two interdependent pieces within network automation. While both YAML and Jinja can become relatively complex in terms of what they can accomplish and what can be done with them, we will only cover what is necessary to utilize these tools for network automation and DevOps. We will tie everything together at the end of the YAML and Jinja sections by rendering some device configurations.

If you are just getting started, jump into the first section, the YAML overview.

  • YAML


    Introduce learners to YAML (YAML Ain't Markup Language), its syntax, structure, and use in configuration files.

    Access This Content

  • YAML Lab


    This is the follow-up YAML lab section, which walks through editing some YAML files and creating the data models necessary to build some network device configurations.

    Access This Lab

  • Jinja


    Introduce learners to Jinja, a powerful templating engine for Python, commonly used in web development and configuration file generation (for example, Ansible, Flask, YAML templates).

    Access This Content

  • Jinja Lab


    This is the follow-up Jinja lab section, which walks through editing some Jinja templates to render the network device configurations using the data models created in the YAML lab section.

    Access This Lab