summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/bgp.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/lib/bgp.py')
-rw-r--r--tests/topotests/lib/bgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/lib/bgp.py b/tests/topotests/lib/bgp.py
index 2be0f5773b..aa7b4a2174 100644
--- a/tests/topotests/lib/bgp.py
+++ b/tests/topotests/lib/bgp.py
@@ -4277,7 +4277,7 @@ def verify_attributes_for_evpn_routes(
for _rd, route_data in evpn_rd_value_json.items():
if route_data["ip"] == route:
for rt_data in route_data["paths"]:
- if vni_dict[vrf] == rt_data["VNI"]:
+ if vni_dict[vrf] == rt_data["vni"]:
rt_string = rt_data["extendedCommunity"][
"string"
]