oli@firewall:~$ show version
Version: VyOS 1.5-rolling-202501290006
Release train: current
Release flavor: generic
Built by: [email protected]
Built on: Wed 29 Jan 2025 00:06 UTC
Build UUID: aeeb7fe8-743e-44d4-bbc6-688ded519c99
Build commit ID: 16f9226b1f8696
Architecture: x86_64
Boot via: installed image
System type: KVM guest
Secure Boot: n/a (BIOS)
Hardware vendor: QEMU
Hardware model: Standard PC (i440FX + PIIX, 1996)
Hardware S/N:
Hardware UUID: d153072d-d5cc-4ac2-9f5e-276548c4a072
Copyright: VyOS maintainers and contributors
oli@firewall:~$ show interfaces wireguard wg0 summary
Traceback (most recent call last):
File "/usr/libexec/vyos/op_mode/interfaces_wireguard.py", line 48, in <module>
res = vyos.opmode.run(sys.modules[__name__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/vyos/opmode.py", line 312, in run
res = func(**args)
^^^^^^^^^^^^
File "/usr/libexec/vyos/op_mode/interfaces_wireguard.py", line 35, in _wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/libexec/vyos/op_mode/interfaces_wireguard.py", line 43, in show_summary
return intf.operational.show_interface()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'WireGuardOperational' object has no attribute 'show_interface'. Did you mean: 'set_interface'?
oli@firewall:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address MAC VRF MTU S/L Description
----------- ---------------- ----------------- ------- ----- ----- --------------
eth0 10.0.1.254/24 bc:24:11:7b:37:f9 default 1450 u/u devnet
eth1 192.168.1.252/24 bc:24:11:0c:0d:82 default 1500 u/u home
eth2 10.0.10.254/24 bc:24:11:9b:34:5d default 1450 u/u vlan10
lo 127.0.0.1/8 00:00:00:00:00:00 default 65536 u/u
::1/128
wg0 10.100.1.2/30 n/a default 1420 u/u vpn to router2
2 Likes