diff options
| author | Viacheslav <v.gletenko@vyos.io> | 2025-10-10 12:48:57 +0000 |
|---|---|---|
| committer | Viacheslav <v.gletenko@vyos.io> | 2025-10-16 09:29:11 +0000 |
| commit | a5b92ceff7d2ba0c5f59a653b5dc636462883680 (patch) | |
| tree | 8f249cbac139f7220d45e3d6fb5c0624c10f5148 /src | |
| parent | f35c980de595ee6adc8b5b28b913224564ee2d94 (diff) | |
| download | vyos-1x-a5b92ceff7d2ba0c5f59a653b5dc636462883680.tar.gz vyos-1x-a5b92ceff7d2ba0c5f59a653b5dc636462883680.zip | |
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
Diffstat (limited to 'src')
| -rwxr-xr-x | src/conf_mode/vpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
