Hello, i think there maybe a bug in the last release:
vyos@stronghold:~$ show interfaces wireguard wg05
Possible completions:
Execute the current command
allowed-ips Show all IP addresses allowed for the specified interface
endpoints Show all endpoints for the specified interface
event-log Show network interface change event log
peers Show all peer IDs for the specified interface
public-key Show interface public-key
summary Shows current configuration and device information
vyos@stronghold:~$ show interfaces wireguard wg05 summary
Traceback (most recent call last):
File “/usr/libexec/vyos/op_mode/interfaces_wireguard.py”, line 48, in
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()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Does show interfaces show you wg05 with no issues?
I’ll test this myself and see what I find.
Can you be clear when you say the “latest release” exactly what version of VyOS you’re running?
Thanks!
vyos@shieldgate:~$ show interfaces wireguard wg05 summary
Traceback (most recent call last):
File “/usr/libexec/vyos/op_mode/interfaces_wireguard.py”, line 48, in
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()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/vyos/ifconfig/wireguard.py”, line 121, in show_interface
delta = timedelta(
^^^^^^^^^
NameError: name ‘timedelta’ is not defined