Skip to content

Commit

Permalink
Fix (eos_cli_config_gen): Fix extra blank lines in upgrade templates
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausHolbechArista committed Dec 17, 2021
1 parent 923566e commit d5b521c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ aaa_accounting:
- commands: 0
logging: true
type: start-stop

Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ vxlan_interface:
vni: 10110
111:
vni: 10111

vrfs:
Tenant_A_OP_Zone:
vni: 10
Tenant_A_WEB_Zone:
vni: 11

Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
aaa_accounting:
commands:
default:
{{ aaa_accounting.commands.commands_default | to_nice_yaml(indent=2) | indent(6, false) }}
{{ aaa_accounting.commands.commands_default | to_nice_yaml(indent=2) | indent(6, false) -}}
{% endif %}
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ vxlan_interface:
{% endif %}
{% if vxlan_tunnel_interface.Vxlan1.vxlan_vni_mappings.vlans is arista.avd.defined %}
vlans:
{{ vxlan_tunnel_interface.Vxlan1.vxlan_vni_mappings.vlans | to_nice_yaml(indent=2) | indent(8, false) }}
{{ vxlan_tunnel_interface.Vxlan1.vxlan_vni_mappings.vlans | to_nice_yaml(indent=2) | indent(8, false) -}}
{% endif %}
{% if vxlan_tunnel_interface.Vxlan1.vxlan_vni_mappings.vrfs is arista.avd.defined %}
vrfs:
{{ vxlan_tunnel_interface.Vxlan1.vxlan_vni_mappings.vrfs | to_nice_yaml(indent=2) | indent(8, false) }}
{{ vxlan_tunnel_interface.Vxlan1.vxlan_vni_mappings.vrfs | to_nice_yaml(indent=2) | indent(8, false) -}}
{% endif %}
{% endif %}

0 comments on commit d5b521c

Please sign in to comment.