summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/common_config.py
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2024-10-04 10:28:58 -0400
committerGitHub <noreply@github.com>2024-10-04 10:28:58 -0400
commit15991e1a08e7dda6c6decb0b2e2fca23f96b78f7 (patch)
tree403bbb0a225c2ad3567056fef96d26880f7de645 /tests/topotests/lib/common_config.py
parentc6e9443086bb907fbdda9e7d68b3b6f24231fb76 (diff)
parentf02d76f0fd1085c522bc89f5c3aae8d03230ab6e (diff)
Merge pull request #16800 from donaldsharp/nhg_reuse_intf_down_up
Nhg reuse intf down up
Diffstat (limited to 'tests/topotests/lib/common_config.py')
-rw-r--r--tests/topotests/lib/common_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/lib/common_config.py b/tests/topotests/lib/common_config.py
index cb71112af3..f34c48b890 100644
--- a/tests/topotests/lib/common_config.py
+++ b/tests/topotests/lib/common_config.py
@@ -3371,7 +3371,7 @@ def verify_rib(
found_hops = [
rib_r["ip"]
for rib_r in rib_routes_json[st_rt][0]["nexthops"]
- if "ip" in rib_r
+ if "ip" in rib_r and "active" in rib_r
]
# If somehow key "ip" is not found in nexthops JSON