mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-29 02:43:07 +00:00
Merge pull request #17107 from donaldsharp/actuallY_call_the_command
tests: iproute2_check_path_selection call the actual command
This commit is contained in:
commit
df482a0f79
@ -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