Page MenuHomeVyOS Platform

show vpp interfaces hardware not working
Open, NormalPublicBUG

Description

hi,

start playing around with vpp I found out that show vpp interface hardware is not wroking ob current rolling:

vyos@vyos:~$ show vpp interfaces hardware 
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/show_vpp_interfaces.py", line 257, in <module>
    show_interfaces_hardware(intf_name=args.intf_name)
  File "/usr/libexec/vyos/op_mode/show_vpp_interfaces.py", line 190, in show_interfaces_hardware
    statistics = vpp_ifaces_stats(intf_name)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/vyos/vpp/utils.py", line 216, in vpp_ifaces_stats
    stats_list: list[str] = stats.ls([f'^/interfaces/{iface_name}'])
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/vpp_papi/vpp_stats.py", line 270, in ls
    self.connect()
  File "/usr/lib/python3/dist-packages/vpp_papi/vpp_stats.py", line 145, in connect
    sock.connect(self.socketname)
FileNotFoundError: [Errno 2] No such file or directory
vyos@vyos:~$

Details

Version
2025.12.01-0024-rolling
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Related Objects

StatusSubtypeAssignedTask
OpenBUGNone
OpenBUGNone

Event Timeline

Do interfaces exist in the config, or did you add them to the already loaded system but there is no interface ethernet ethX config?

Yes after reboot the command works. So to male it work it seems to be necessary to reboot the system after adding the interface.

Viacheslav triaged this task as Normal priority.Thu, Dec 4, 12:48 PM