diff options
author | Martin Winter <mwinter@opensourcerouting.org> | 2022-06-16 18:45:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 18:45:15 +0200 |
commit | 22ad701ec0936a7fec6051908838dac4262ffeae (patch) | |
tree | e9d4c122590d28d7ccc3744d5c9cfed892baa85f /tests | |
parent | Merge pull request #11409 from donaldsharp/zebra_nhg_debug (diff) | |
parent | tests: Fix verify_rib such that it will look at the selected route (diff) | |
download | frr-22ad701ec0936a7fec6051908838dac4262ffeae.tar.xz frr-22ad701ec0936a7fec6051908838dac4262ffeae.zip |
Merge pull request #11408 from donaldsharp/common_config
Diffstat (limited to 'tests')
-rw-r--r-- | tests/topotests/lib/common_config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/topotests/lib/common_config.py b/tests/topotests/lib/common_config.py index 6001bef2c..0e9e0ba40 100644 --- a/tests/topotests/lib/common_config.py +++ b/tests/topotests/lib/common_config.py @@ -3385,6 +3385,9 @@ def verify_rib( next_hop = [next_hop] for mnh in range(0, len(rib_routes_json[st_rt])): + if not "selected" in rib_routes_json[st_rt][mnh]: + continue + if ( "fib" in rib_routes_json[st_rt][mnh]["nexthops"][0] |