From 8d40fac8aad3588a0bb5615a176d857c6da41fc4 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Wed, 11 Mar 2026 12:14:54 +0000 Subject: T8357: Allow prefix vpp for show interfaces Add prefix `vpp` for the op-mode output of `show interfaces` --- python/vyos/ifconfig/section.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'python') 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: -- cgit v1.2.3