From a5b92ceff7d2ba0c5f59a653b5dc636462883680 Mon Sep 17 00:00:00 2001 From: Viacheslav Date: Fri, 10 Oct 2025 12:48:57 +0000 Subject: T7890: VPP fix verify_dev_driver The verify_dev_driver must return bool value, but it a device does not have PCI address (for example veth interface) it returns Traceback Fix this --- src/conf_mode/vpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/vpp.py b/src/conf_mode/vpp.py index 81502c0b4..d3bf86ada 100755 --- a/src/conf_mode/vpp.py +++ b/src/conf_mode/vpp.py @@ -604,7 +604,7 @@ def initialize_interface(iface, driver, iface_config) -> None: try: if control_host.get_eth_driver(f'defunct_{iface}') == 'mlx5_core': control_host.rename_iface(f'defunct_{iface}', iface) - except FileNotFoundError: + except Exception: pass # Replace a driver with original for VMBus interfaces and rename it -- cgit v1.2.3