pytest-testinfra icon indicating copy to clipboard operation
pytest-testinfra copied to clipboard

host.interface.default does not work consistently

Open sealeg opened this issue 3 years ago • 1 comments

Looks like it expects the interface name to be at the end of ip route ls line.

So it works for something like: default via 172.17.0.1 dev eth0 but not default via 10.101.1.1 dev ens3 proto dhcp src 10.101.1.33 metric 100.

sealeg avatar Apr 28 '22 13:04 sealeg

I have fixed with a regex in #651

sealeg avatar Apr 28 '22 13:04 sealeg

@philpep: Please close this ticket as the issue has already been resolved with MR #651.

CarstenGrohmann avatar Mar 24 '24 21:03 CarstenGrohmann