diff --git a/napalm_proxmox/system_mixin.py b/napalm_proxmox/system_mixin.py index 3559bab..c6b52a6 100644 --- a/napalm_proxmox/system_mixin.py +++ b/napalm_proxmox/system_mixin.py @@ -711,6 +711,18 @@ class ProxmoxSystemMixin: old_short, short_hostname, fqdn, ) + # ------------------------------------------------------------------ # + # _send_command — generic SSH command helper used by netOrk core + # ------------------------------------------------------------------ # + + def _send_command(self, command: str) -> str: + """Execute *command* on the node and return its output. + + Delegates to _exec_ssh_command so that netOrk's generic helpers + (e.g. the reboot action) work without knowing the driver internals. + """ + return self._exec_ssh_command(command) + def get_disk_smart(self) -> dict: """Return SMART health data for all disks on this Proxmox node.