feat: Proxmox VE 9.3 API additions (NetOrk/netork#2728)

On a node running 9.3: HA maintenance over PUT /nodes/{node}/maintenance
(the target node's version decides, SSH below it), the guest uid in
get_vms, the cluster-id as ClusterDict.id, sync-time-on-resume on resume.
get_credential_expiry reads the expiry of the token or account the driver
logged in with; get_update_history lists the node's APT transactions.
Needs napalm-device-types 4.44.0.
This commit is contained in:
Christian Manivong committed 2026-11-26 17:35:50 +01:00
1 parent c2d9d7e75e
commit fddf8af680
17 files changed
+718 -17

No files matched your search

+4
View File
@@ -8,6 +8,10 @@ from typing import Any
_LIST_SEPARATORS = re.compile(r"[\s,;\0]+")
#: The first release with node maintenance over REST, guest uids, the cluster id,
#: clock sync on resume and the APT history (NetOrk/netork#2728).
PVE_9_3 = (9, 3)
def to_int(value: Any) -> int | None:
return None if value is None else int(value)