summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/bgp.py
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2023-02-01 15:39:18 -0500
committerGitHub <noreply@github.com>2023-02-01 15:39:18 -0500
commit33303f08bf179431326a65f394b76f5c0ca1e71e (patch)
treeb1d2c5e517de3658dd5e3d90beda169d485d27c1 /tests/topotests/lib/bgp.py
parentb54ec1733b4cbf52911a3922026bc5112e2810be (diff)
parentf932966b02478cf3a3dd443d98eea7cc95c8379a (diff)
Merge pull request #12713 from opensourcerouting/fix/json_naming_deprecation
*: Drop deprecated incorrect JSON fields with wrong naming
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"
]