mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 10:04:18 +00:00
Merge pull request #17127 from FRRouting/mergify/bp/dev/10.2/pr-17107
tests: iproute2_check_path_selection call the actual command (backport #17107)
This commit is contained in:
commit
eb83a1f5fc
@ -58,7 +58,7 @@ def iproute2_check_path_selection(router, ipaddr_str, expected, vrf_name=None):
|
|||||||
else:
|
else:
|
||||||
cmdstr = f"ip -json route show {ipaddr_str}"
|
cmdstr = f"ip -json route show {ipaddr_str}"
|
||||||
try:
|
try:
|
||||||
output = json.loads(cmdstr)
|
output = json.loads(router.cmd(cmdstr))
|
||||||
except:
|
except:
|
||||||
output = []
|
output = []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user