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/topotests/lib/common_config.py | |
| parent | 93ab9a2c0ba77bffa15f72843c887b398c5054a7 (diff) | |
| parent | 853585a7cd6eeb527fbd8a9ed02c86eb8c7aafa1 (diff) | |
Merge pull request #11408 from donaldsharp/common_config
Diffstat (limited to 'tests/topotests/lib/common_config.py')
| -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 6001bef2c9..0e9e0ba403 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] |
