summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/bgp.py
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@users.noreply.github.com>2021-03-05 11:22:47 +0000
committerGitHub <noreply@github.com>2021-03-05 11:22:47 +0000
commitee56932473df1da8fb58260711ad27cc618d108d (patch)
treee2da059cb44f560c3d284f91318c172012553ba3 /tests/topotests/lib/bgp.py
parentddbc1b4dd9775ea23759a684bb582ce8409abb8b (diff)
parent23f3a92e348207a22c58669971bb135f75aecaf7 (diff)
Merge pull request #8165 from wesleycoakley/misc-qol-fixups
staticd, pimd, tests: small fixups and cov fix
Diffstat (limited to 'tests/topotests/lib/bgp.py')
-rw-r--r--tests/topotests/lib/bgp.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/topotests/lib/bgp.py b/tests/topotests/lib/bgp.py
index 65e5840622..55b11dab3c 100644
--- a/tests/topotests/lib/bgp.py
+++ b/tests/topotests/lib/bgp.py
@@ -3880,6 +3880,7 @@ def verify_attributes_for_evpn_routes(
return errormsg
if rt == "auto":
+ vni_dict = {}
logger.info(
"[DUT: %s]: Verifying auto-rt value for " "evpn route %s:",
dut,
@@ -3887,8 +3888,6 @@ def verify_attributes_for_evpn_routes(
)
if rt_peer:
- vni_dict = {}
-
rnode = tgen.routers()[rt_peer]
show_bgp_json = run_frr_cmd(
rnode, "show bgp vrf all summary json", isjson=True