vyos@r14:~$ show dhcp client leases Traceback (most recent call last): File "/usr/libexec/vyos/op_mode/dhcp.py", line 386, in <module> res = vyos.opmode.run(sys.modules[__name__]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/vyos/opmode.py", line 263, in run res = func(**args) ^^^^^^^^^^^^ File "/usr/libexec/vyos/op_mode/dhcp.py", line 382, in show_client_leases return _get_formatted_client_leases(lease_data, family=family) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/libexec/vyos/op_mode/dhcp.py", line 341, in _get_formatted_client_leases from vyos.validate import is_intf_addr_assigned ModuleNotFoundError: No module named 'vyos.validate' vyos@r14:~$
Check directly
vyos@r14:~$ sudo python3 Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from vyos.validate import is_intf_addr_assigned Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'vyos.validate' >>>