mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-25 20:38:34 +00:00
tests: iproute2_check_path_selection call the actual command
For some reason this was missing. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
d1433ee9a8
commit
c8a947e12b
@ -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