Merge remote-tracking branch 'origin/main' into feature/certificates-2656
# Conflicts: # CHANGELOG.md # napalm_proxmox/driver.py
This commit is contained in:
commit
24089412a7
17 files changed
+720
-19
No files matched your search
+31
-2
@@ -7,8 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.14.0] - 2026-11-26
|
||||
|
||||
### Added
|
||||
- `get_certificates()` on both drivers (NetOrk/netork#2656): the node's TLS certificates from
|
||||
`GET /nodes/{node}/certificates/info` (PBS: `/nodes/localhost/certificates/info`) in
|
||||
@@ -21,6 +19,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
an unreadable config reads as no ACME. The PEM is not returned. Unreadable certificates are
|
||||
`[]`, as on OPNsense.
|
||||
|
||||
## [0.14.0] - 2026-11-26
|
||||
|
||||
### Added
|
||||
- Proxmox VE 9.3's API additions (NetOrk/netork#2728), each taken only on a node whose
|
||||
`GET /version` says 9.3 or later (`_version_at_least`); an older node does what it did.
|
||||
- `get_vms()`: each guest carries PVE 9.3's `uid`, an identity that survives a migration, a
|
||||
restore and a changed vmid, from one `GET /cluster/resources?type=vm` per call, joined by
|
||||
node and vmid (napalm-device-types `VMDict.uid`). A guest without one, an older node and a
|
||||
listing that cannot be read leave the key out; the guests are listed as before.
|
||||
- `get_clusters()`: `id` is the cluster's `cluster-id` from `GET /cluster/status`, or a
|
||||
standalone node's own on its node entry; None on an older node.
|
||||
- `get_credential_expiry()` (napalm-device-types `CredentialExpiryMixin`): the API token
|
||||
(`GET /access/users/{userid}/token/{tokenid}`) or the password's account
|
||||
(`GET /access/users/{userid}`) the driver logged in with, and when it expires; a token
|
||||
without an `expire` of its own expires with its user. A 403 is a `PermissionError`, any
|
||||
other failure a `RuntimeError`.
|
||||
- `get_update_history(since)` (napalm-device-types `UpdateMixin`): the node's APT
|
||||
transactions from `GET /nodes/{node}/apt/history`, newest first, with `id`
|
||||
`"{start-time}-{start-index}"`. A failed read raises; before 9.3 it is
|
||||
`NotImplementedError` (no log is parsed over SSH).
|
||||
|
||||
### Changed
|
||||
- `set_node_maintenance()` uses `PUT /nodes/{node}/maintenance` when the node going into
|
||||
maintenance runs PVE 9.3, and opens no SSH session; that node's own version decides,
|
||||
since a rolling upgrade leaves the members on different releases. An older node still
|
||||
takes `ha-manager crm-command node-maintenance` over SSH.
|
||||
- `resume_vm()` sets the guest's clock to the host's time on PVE 9.3
|
||||
(`sync-time-on-resume=1`, through the guest agent where it runs).
|
||||
- Needs napalm-device-types 4.44.0 or later (`CredentialExpiryMixin`, `UpdateHistoryDict`,
|
||||
`VMDict.uid`).
|
||||
|
||||
## [0.13.0] - 2026-11-26
|
||||
|
||||
### Added
|
||||
|
||||
Reference in new issue
Block a user