Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jinja-yaml - add whitespace around variable in curly braces #131

Merged
merged 2 commits into from
Mar 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
jinja-yaml - remove extra space from end of jinja comments (vxlan vrf)
  • Loading branch information
mjbear committed Mar 11, 2024
commit 47103af688b20934a99548e9caa63d675c283e3b
4 changes: 2 additions & 2 deletions workshops/jinja-yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ First we will look at the `vrf` variables, and we will do this by changing the t
vxlan source-interface loopback1
vxlan udp-port 4789 #}
{% for vrf,vrf_values in vrf.items() %}
{# vxlan vrf {{ vrf }} vni {{ vrf_values['l3vni'] }} #}
{# vxlan vrf {{ vrf }} vni {{ vrf_values['l3vni'] }} #}
{{ vrf }}

{% for vlan,vlan_values in vrf_values['vlans'].items() %}
Expand Down Expand Up @@ -994,7 +994,7 @@ Now let's take a look at the `_params` variable. Changing the template to what f
vxlan source-interface loopback1
vxlan udp-port 4789 #}
{% for vrf,vrf_values in vrf.items() %}
{# vxlan vrf {{ vrf }} vni {{ vrf_values['l3vni'] }} #}
{# vxlan vrf {{ vrf }} vni {{ vrf_values['l3vni'] }} #}
{# {{ vrf }} #}
{{ vrf_values }}

Expand Down
Loading