feat(updates): the update history before PVE 9.3 from apt's log over SSH (NetOrk/netork#2728)

Below 9.3 get_update_history reads apt's history log over the node's SSH session
with napalm-device-types' AptHistoryMixin, which names a transaction as
GET /nodes/{node}/apt/history does, so the ids stay when the node moves to 9.3.
A node without an SSH login still raises NotImplementedError. Requires
napalm-device-types 4.47.0.
This commit is contained in:
Christian Manivong committed 2026-11-26 23:07:22 +01:00
1 parent dc0d6345a8
commit 707b24748b
5 files changed
+123 -17

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ classifiers = [
requires-python = ">=3.12"
dependencies = [
"napalm>=5.0.0",
"napalm_device_types>=4.46.0", # ServicesRestartMixin with LXC left out; CredentialExpiryMixin
"napalm_device_types>=4.47.0", # AptHistoryMixin; ServicesRestartMixin with LXC left out
"paramiko>=5.0.0", # CVE-2026-44405; imported directly for the node's SSH session (_base.py)
"proxmoxer>=2.0.0",
"netaddr>=0.9.0",