diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2026-03-26 13:14:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-26 13:14:42 +0200 |
| commit | fa866ce702e9235b0803f926364eef3c9d3b3dc4 (patch) | |
| tree | 4c39d4bc277609ae48fee9d40fb64c0813f90db7 | |
| parent | 2e100ed0c3b9b02bd9722092b8db10b38d7b0977 (diff) | |
| parent | 77846124a40a3263d5d7d51197d452fc074a6555 (diff) | |
| download | vyos-1x-fa866ce702e9235b0803f926364eef3c9d3b3dc4.tar.gz vyos-1x-fa866ce702e9235b0803f926364eef3c9d3b3dc4.zip | |
Merge pull request #5088 from alexandr-san4ez/T8432-current
vpp: T8432: Fix AttributeError for enabling vpp interface
| -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 b2166e811..ecf7f09b1 100755 --- a/src/conf_mode/vpp.py +++ b/src/conf_mode/vpp.py @@ -252,7 +252,7 @@ def _is_device_allowed(config: dict, iface: str): if 'allow_unsupported_nics' in config['settings']: return True - persist_config = dict_search('persist_config.iface', config) + persist_config = dict_search(f'persist_config.{iface}', config, default={}) pci_id = persist_config.get('pci_id') # PCI ID is sufficient by itself, if presented |
