Skip to content

Commit

Permalink
Update python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/tacacs-se…
Browse files Browse the repository at this point in the history
…rvers.j2
  • Loading branch information
ClausHolbechArista authored and Vibhu-gslab committed Nov 11, 2024
1 parent 38a6d77 commit 6c666e1
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ tacacs-server policy unknown-mandatory-attribute ignore
{% if host.single_connection is arista.avd.defined(true) %}
{% set host_cli = host_cli ~ " single-connection" %}
{% endif %}
{% if host.vrf is arista.avd.defined %}
{% if host.vrf != 'default' %}
{% set host_cli = host_cli ~ " vrf " ~ host.vrf %}
{% endif %}
{% if host.vrf is arista.avd.defined and host.vrf != 'default' %}
{% set host_cli = host_cli ~ " vrf " ~ host.vrf %}
{% endif %}
{% if host.timeout is arista.avd.defined %}
{% set host_cli = host_cli ~ " timeout " ~ host.timeout %}
Expand Down

0 comments on commit 6c666e1

Please sign in to comment.