diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2026-03-11 12:14:54 +0000 |
|---|---|---|
| committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2026-03-11 12:21:30 +0000 |
| commit | 8d40fac8aad3588a0bb5615a176d857c6da41fc4 (patch) | |
| tree | 7c124708e6a209743547672dd7b6dfe9da265238 /python | |
| parent | 44e5e9f0b26ce496b04f603bb68c82ecf01dc54a (diff) | |
| download | vyos-1x-8d40fac8aad3588a0bb5615a176d857c6da41fc4.tar.gz vyos-1x-8d40fac8aad3588a0bb5615a176d857c6da41fc4.zip | |
T8357: Allow prefix vpp for show interfaces
Add prefix `vpp` for the op-mode output of `show interfaces`
Diffstat (limited to 'python')
| -rw-r--r-- | python/vyos/ifconfig/section.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/section.py b/python/vyos/ifconfig/section.py index 201494736..7f110de04 100644 --- a/python/vyos/ifconfig/section.py +++ b/python/vyos/ifconfig/section.py @@ -97,7 +97,9 @@ class Section: for ifname in interfaces: ifsection = cls.section(ifname) - if not ifsection and not ifname.startswith('vrrp'): + if not ifsection and not ( + ifname.startswith('vrrp') or ifname.startswith('vpp') + ): continue if section and ifsection != section: |
