From 0917539231013034b1e2b98cc900ad18e7e16bb2 Mon Sep 17 00:00:00 2001 From: Shivani-gslab Date: Mon, 11 Nov 2024 16:31:53 +0530 Subject: [PATCH] hold-forever --- .../pyavd/_eos_cli_config_gen/j2templates/eos/router-bgp.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-bgp.j2 b/python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-bgp.j2 index 3411f7cc583..59ae4393d11 100644 --- a/python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-bgp.j2 +++ b/python-avd/pyavd/_eos_cli_config_gen/j2templates/eos/router-bgp.j2 @@ -30,7 +30,7 @@ router bgp {{ router_bgp.as }} no bgp default ipv4-unicast transport ipv6 {% endif %} {% if router_bgp.timers.keepalive_time is arista.avd.defined and - (router_bgp.timers.hold_time is arista.avd.defined or router_bgp.timers.hold_forever is arista.avd.defined) %} + (router_bgp.timers.hold_time is arista.avd.defined or router_bgp.timers.hold_forever is arista.avd.defined(true)) %} {% set timers_bgp_cli = "timers bgp " ~ router_bgp.timers.keepalive_time %} {% if router_bgp.timers.hold_time is arista.avd.defined %} {% set timers_bgp_cli = timers_bgp_cli ~ " " ~ router_bgp.timers.hold_time %}