feat: guest uid, credential expiry and update history contracts (NetOrk/netork#2728)
VMDict.uid is an identity of the guest that survives a migration, a restore and a changed vmid. CredentialExpiryMixin reads when the credential a driver logs in with expires. UpdateMixin.get_update_history lists the package manager's past transactions. resume_vm documents that the guest clock is set after a resume where the platform can.
This commit is contained in:
1 parent
818016b717
commit
07fc7d0dd3
7 files changed
+249
-1
No files matched your search
@@ -7,6 +7,25 @@ recorded here; their history is the git log.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
- `VMDict.uid`, optional: an identity of the guest that survives a migration, a restore
|
||||
and a changed `vmid` (NetOrk/netork#2728). Proxmox VE 9.3 gives every guest one, VMware's
|
||||
instance UUID is one; a driver leaves it out where the platform has none, and a caller
|
||||
then knows the guest by `vmid` alone.
|
||||
- `CredentialExpiryMixin.get_credential_expiry()`: the credential the connection logged in
|
||||
with (`kind` `"api-token"` or `"account"`, its `name`) and when it expires, `None` for
|
||||
never (NetOrk/netork#2728). `PermissionError` where the platform will not tell the
|
||||
credential its own expiry.
|
||||
- `UpdateMixin.get_update_history(since)`: the package manager's past transactions, newest
|
||||
first, each with a stable `id`, start and end, the packages it changed (`action`, old and
|
||||
new version), who asked for it, the command line and the error it ended with
|
||||
(`UpdateHistoryDict`, `UpdateHistoryPackageDict`, NetOrk/netork#2728).
|
||||
|
||||
### Changed
|
||||
- `HypervisorDriver.resume_vm()`: the guest's clock is set to the host's time after it
|
||||
resumes, where the platform can (NetOrk/netork#2728). A documented expectation, not a
|
||||
parameter: no caller wants a guest that runs behind.
|
||||
|
||||
## [4.43.0] - 2026-11-26
|
||||
|
||||
### Added
|
||||
|
||||
Reference in new issue
Block a user