Commit Graph
137 Commits
Author SHA1 Message Date
christianmanivong 9efc3275b1 feat: apt's errors come through, unreadable sources raise PackageSourcesUnreadable, 4.57.0 (NetOrk/netork#3087)
driver / standard (pull_request) Successful in 16s
driver / lowest (pull_request) Successful in 45s
driver / types (pull_request) Successful in 1m9s
driver / test (3.12) (pull_request) Successful in 1m19s
driver / test (3.13) (pull_request) Successful in 1m19s
driver / build (pull_request) Successful in 37s
driver / security (pull_request) Successful in 1m10s
CI / driver (pull_request) Successful in 2m14s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 16s
One bad apt source line, two Signed-By for one repository, makes apt refuse
every source. The update read then failed with "exit status 100" and nothing
else, because APT_UPGRADABLE_COMMAND threw stderr away.

The command now passes apt's E: lines on, marked __APT_E:, and still keeps
its warnings out. parse_apt_upgradable raises PackageSourcesUnreadable, a
ValueError, with apt's errors when apt could not read its sources, and names
them after the exit status for any other failure.
2026-12-03 13:03:41 +01:00
christianmanivong fda74048f3 chore(release): 4.56.0
driver / standard (pull_request) Successful in 19s
driver / types (pull_request) Successful in 1m1s
driver / lowest (pull_request) Successful in 44s
driver / test (3.12) (pull_request) Successful in 1m20s
driver / test (3.13) (pull_request) Successful in 1m17s
driver / build (pull_request) Successful in 35s
driver / security (pull_request) Successful in 1m22s
CI / driver (pull_request) Successful in 2m25s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 14s
2026-12-02 22:21:30 +01:00
christianmanivong 47ad8c55bf Merge remote-tracking branch 'origin/feature/windows-posture-2893' into chore/merge-train-windows-depth
driver / standard (pull_request) Failing after 19s
driver / lowest (pull_request) Successful in 48s
driver / types (pull_request) Successful in 1m14s
driver / test (3.12) (pull_request) Successful in 1m33s
driver / build (pull_request) Successful in 28s
driver / test (3.13) (pull_request) Successful in 1m26s
driver / security (pull_request) Successful in 56s
CI / driver (pull_request) Failing after 2m3s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 17s
# Conflicts:
#	CHANGELOG.md
2026-12-01 13:22:56 +01:00
christianmanivong d18b3b58c1 Merge remote-tracking branch 'origin/feature/windows-update-2892' into chore/merge-train-windows-depth
# Conflicts:
#	CHANGELOG.md
2026-12-01 13:18:29 +01:00
christianmanivong 31c6b5699d Merge remote-tracking branch 'origin/feature/windows-repairs-2899' into chore/merge-train-windows-depth
# Conflicts:
#	CHANGELOG.md
#	napalm_device_types/__init__.py
2026-12-01 13:17:26 +01:00
christianmanivong 51b45b7ab8 Merge remote-tracking branch 'origin/feature/windows-events-2897' into chore/merge-train-windows-depth
# Conflicts:
#	CHANGELOG.md
2026-12-01 13:16:59 +01:00
christianmanivong 110a85dd08 Merge remote-tracking branch 'origin/feature/windows-exposure' into chore/merge-train-windows-depth
# Conflicts:
#	CHANGELOG.md
#	napalm_device_types/models.py
2026-12-01 13:16:54 +01:00
christianmanivong 0a81b7ee99 Merge remote-tracking branch 'origin/feature/windows-logins-2895' into chore/merge-train-windows-depth
# Conflicts:
#	CHANGELOG.md
2026-12-01 13:16:42 +01:00
christianmanivong 41e027f176 Merge remote-tracking branch 'origin/feature/windows-basics' into chore/merge-train-windows-depth
# Conflicts:
#	CHANGELOG.md
2026-12-01 13:16:42 +01:00
christianmanivong 6d1408e661 feat(host-repairs): a caller's limit, tighter than the driver's own bound (NetOrk/netork#2899)
An application whose worker gives a run less time than the driver's bound
passes limit (seconds), so the run fails with what it printed instead of
being cut off by the worker.
2026-12-01 12:52:41 +01:00
christianmanivong 5e8b840748 Windows host firewall and Windows features contracts (NetOrk/netork#2894, #2898)
get_host_firewall gains an optional windows key: a Windows host's
profiles, enabled rules with their filters, and the profile of each
connected interface, beside the netfilter chains rather than in them.
WindowsFeaturesMixin declares get_windows_features: every optional
feature of the host's image and its state.

The netfilter shapes move to host_firewall_models; models re-exports
them.
2026-12-01 12:51:46 +01:00
christianmanivong 6c273ea346 feat(host-events): host events, event channels as log sources, how a service's run ended (NetOrk/netork#2897)
- HostEventsMixin.get_host_events(since=None), declared: the events of a fixed
  set of kinds a host's own log recorded (unexpected shutdowns, system crashes,
  hardware errors, disk errors, programs and services that crashed), with
  HostEventDict, HostEventsDict and host_event().
- LogSourceDict: kind "eventlog" for a Windows event channel, named by the new
  optional channel field (eventlog_source, LOG_SOURCE_KINDS).
- ServiceDict: optional result, exit_code, trigger_start and account; exported.
2026-12-01 12:48:09 +01:00
christianmanivong a124993c1c feat(hardening): a host's security posture as optional HardeningDict keys (NetOrk/netork#2893)
Secure Boot, the TPM, disk encryption per volume, the antimalware product,
the firewall's profiles and virtualization-based security, in terms no OS
owns, so a Windows host's protection fits the reading Linux fills. The new
keys are NotRequired; every key Linux fills stays required and unchanged.
2026-12-01 12:47:31 +01:00
christianmanivong 395177b1b1 feat(host-storage): a host's disks, volumes and drive health without the storage role (NetOrk/netork#2896)
HostStorageMixin declares get_disks, get_disk_pools and get_volumes in
StorageDriver's shapes, and get_disk_smart, drive health per disk, with
no role: a Windows or Linux host reports its storage and stays a host.

DiskSmartDict names the keys Proxmox's get_disk_smart already fills and
adds the highest temperature and the uncorrected read and write errors.
HostVolumeDict adds a volume's file system and health to
LogicalVolumeDict. A disk that does not say reads temperature -1 and
health "unknown", never a zero or a "healthy" nobody measured.

Additive: nothing changes for StorageDriver or its drivers.
2026-12-01 12:47:08 +01:00
christianmanivong 216d60d464 feat(updates): an update can name its title, advisories, CVEs and vendor rating (NetOrk/netork#2892)
UpdateDict takes optional title, advisories, cves and vendor_severity, for a
source that says more of an update than a package name: Windows Update's
title, KBArticleIDs, CveIDs and MsrcSeverity. UpdateHistoryPackageDict takes
an optional title. Additive: every reader that leaves them out conforms.
2026-12-01 12:47:06 +01:00
christianmanivong a825d48c19 feat(logins): optional keys for another platform's login accounts and sessions (NetOrk/netork#2895)
LoginAccountDict may carry sid, administrator and remote_desktop; uid
stays an int and is the RID where a SID is given. LoginAccountsDict may
carry groups (LoginGroupDict, LoginGroupMemberDict, LOGIN_GRANTS): the
groups that grant administering the host or a remote desktop login,
with every member. LoginSessionsDict may carry records_since, the oldest
entry the record still holds. All optional: the Linux reading and every
driver that builds one are unchanged.
2026-12-01 12:45:27 +01:00
christianmanivong 5c2bfb7dfa feat(windows): clean_system_identity for values read without the DMI files, UserDict.sid
clean_system_identity applies parse_system_identity's placeholder rules to values a
host reads through an interface of its own (Windows' CIM classes,
NetOrk/netork#2888); parse_system_identity now uses it. UserDict gains an optional
sid beside the int uid (NetOrk/netork#2889).
2026-12-01 12:45:05 +01:00
christianmanivong 54bda2cb79 feat(host-repairs): a host's checks and repairs as a fixed catalog of runs (NetOrk/netork#2899)
HostRepairMixin declares one method per run -- verify_system_files,
repair_system_files, check_component_store, repair_component_store,
update_antimalware_signatures and scan_antimalware -- so the method list is the
guard, and a repair is never offered with its check. Each streams the tool's
lines to log and returns a HostRepairResultDict; tool_outcome builds it from the
lines and the exit code, failing a non-zero code with the tool's last lines.
offered_host_repairs lists the runs a driver defines.
2026-12-01 12:44:45 +01:00
christianmanivong 6c72089315 chore(release): 4.55.0
driver / standard (pull_request) Successful in 21s
driver / lowest (pull_request) Successful in 43s
driver / types (pull_request) Successful in 1m11s
driver / test (3.12) (pull_request) Successful in 1m14s
driver / test (3.13) (pull_request) Successful in 1m9s
driver / build (pull_request) Successful in 33s
driver / security (pull_request) Successful in 1m10s
CI / driver (pull_request) Successful in 2m14s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 15s
2026-12-01 09:39:14 +01:00
christianmanivong 41387c8c4c feat(login-sessions): the interactive logins a host recorded, get_login_sessions (NetOrk/netork#2881)
LoginSessionsMixin reads wtmpdb's and wtmp's records of the last seven
days with ISO times, bounded on the host, keeps terminal logins only and
names the driver's own SSH client address (SSH_CONNECTION), whose sessions
it leaves out. A driver supplies _run_login_sessions_command; a host
without a readable record raises LoginSessionsUnavailable.
2026-12-01 09:39:14 +01:00
christianmanivong eb8b2dbea7 chore(release): 4.54.0
driver / standard (pull_request) Successful in 18s
driver / types (pull_request) Successful in 56s
driver / lowest (pull_request) Successful in 42s
driver / test (3.12) (pull_request) Successful in 1m11s
driver / test (3.13) (pull_request) Successful in 1m14s
driver / build (pull_request) Successful in 29s
driver / security (pull_request) Successful in 53s
CI / driver (pull_request) Successful in 1m49s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 15s
2026-11-29 20:48:04 +01:00
christianmanivong 0db9c9ba65 feat(access-point): declared writes for SSIDs, radios, VLAN names and the AP configuration, and a DHCP lease reader (NetOrk/netork#695)
WirelessWritesMixin declares push_ssid_config(ssid, SsidConfigDict), a
partial write, and set_radio_channels({radio: channel}), every radio in
one restart; AccessPointDriver and ResidentialGatewayDriver carry it.
AccessPointDriver declares set_vlan_name(vlan_id, name) and, through
ApConfigMixin, apply_ap_config(ApConfigDict, parts): the desired state
in vendor-neutral terms, of which the driver writes the parts the caller
found different, answered by ApConfigResultDict. The part names and
their I/O-free readers live in ap_config.

DhcpLeasesMixin declares get_dhcp_leases() with DhcpLeaseDict, apart
from DhcpServerMixin, so an access point can report the leases it serves.
2026-11-29 20:27:31 +01:00
christianmanivong 059d97f6de feat(updates): apply_updates takes an optional log callback (NetOrk/netork#1112)
UpdateMixin.apply_updates declares a keyword-only log, as
harden_ssh_server does: it receives each line of the package manager's
output as the host prints it. A driver that cannot stream does not call
it and returns the output at the end, as before; the declaration stays
compatible with every driver that implements it without the keyword.
2026-11-29 20:18:31 +01:00
christianmanivong 7451fc9dfc feat(hardening): where the OS runs and whose CPU it is, and installing the CPU microcode, 4.53.0 (NetOrk/netork#2838)
driver / standard (pull_request) Successful in 16s
driver / test (3.12) (pull_request) Successful in 1m12s
driver / test (3.13) (pull_request) Successful in 1m5s
driver / lowest (pull_request) Successful in 34s
driver / build (pull_request) Successful in 27s
driver / types (pull_request) Successful in 1m50s
driver / security (pull_request) Successful in 58s
CI / driver (pull_request) Successful in 2m12s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 1m11s
get_hardening() reads virtualization (systemd-detect-virt, else the cpuinfo
hypervisor flag) and cpu_vendor. CpuMicrocodeMixin.install_cpu_microcode()
refuses a guest, picks the package of the distribution and CPU vendor
(microcode_package), adds Debian's firmware component to Debian's own sources
where it is missing, reloads the index and installs the package; it loads at
the next boot.
2026-11-29 00:06:50 +01:00
christianmanivong 780e4247a1 Merge feature/host-logins (4.51.0, on main's 4.50.0) into feature/live-kernel-patches
driver / standard (pull_request) Failing after 18s
driver / types (pull_request) Successful in 1m1s
driver / test (3.12) (pull_request) Successful in 1m22s
driver / lowest (pull_request) Successful in 41s
driver / test (3.13) (pull_request) Successful in 1m13s
driver / build (pull_request) Successful in 33s
driver / security (pull_request) Failing after 58s
CI / driver (pull_request) Failing after 2m52s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 14s
The live patches are 4.52.0 now.
2026-11-28 08:23:05 +01:00
christianmanivong 4b4797e383 Merge NAPALM/napalm-device-types main (4.50.0) into feature/host-logins
driver / standard (pull_request) Successful in 21s
driver / types (pull_request) Successful in 59s
driver / test (3.13) (pull_request) Successful in 1m19s
driver / test (3.12) (pull_request) Successful in 1m26s
driver / lowest (pull_request) Successful in 47s
driver / build (pull_request) Successful in 32s
driver / security (pull_request) Failing after 1m5s
CI / driver (pull_request) Failing after 2m45s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 17s
v4.50.0 went to #140, so this branch's release is 4.51.0 now.
2026-11-28 08:22:46 +01:00
christianmanivong d778c805c1 feat(login-sources): where a device checks a login, and what each place asks for, 4.50.0 (NetOrk/netork#662)
driver / standard (pull_request) Successful in 20s
driver / types (pull_request) Successful in 1m1s
driver / test (3.12) (pull_request) Successful in 1m22s
driver / test (3.13) (pull_request) Successful in 1m13s
driver / lowest (pull_request) Successful in 43s
driver / build (pull_request) Successful in 29s
driver / security (pull_request) Successful in 1m0s
CI / driver (pull_request) Successful in 3m0s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 17s
LoginSourceDict names one source with the device's word for its kind and what
it asks for: password, password_otp, external or unknown. WebLoginAuthDict is
what a driver's get_web_login_auth returns, every source the web interface
tries, in the device's order. SshServerAuthDict takes password_sources and
server_enabled for a platform that writes sshd_config itself.
2026-11-28 08:02:12 +01:00
christianmanivong 61b7b68626 chore(release): 4.51.0
driver / standard (pull_request) Failing after 18s
driver / types (pull_request) Successful in 1m2s
driver / test (3.13) (pull_request) Successful in 1m18s
driver / test (3.12) (pull_request) Successful in 1m27s
driver / lowest (pull_request) Successful in 43s
driver / build (pull_request) Successful in 29s
driver / security (pull_request) Failing after 1m0s
CI / driver (pull_request) Failing after 2m36s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 15s
2026-11-28 04:23:17 +01:00
christianmanivong 14217b6eeb chore(release): 4.50.0
driver / lint (pull_request) Successful in 16s
driver / standard (pull_request) Successful in 20s
driver / types (pull_request) Successful in 1m3s
driver / test (3.13) (pull_request) Successful in 1m19s
driver / test (3.12) (pull_request) Successful in 1m24s
driver / lowest (pull_request) Successful in 45s
driver / build (pull_request) Successful in 30s
driver / security (pull_request) Failing after 1m2s
CI / driver (pull_request) Failing after 2m41s
driver / publish (pull_request) Skipped
2026-11-28 03:46:33 +01:00
christianmanivong 92b1b6402b chore(release): 4.49.0
driver / standard (pull_request) Successful in 18s
driver / types (pull_request) Successful in 1m2s
driver / lowest (pull_request) Successful in 51s
driver / test (3.12) (pull_request) Successful in 1m39s
driver / test (3.13) (pull_request) Successful in 1m36s
driver / build (pull_request) Successful in 38s
driver / security (pull_request) Successful in 1m11s
CI / driver (pull_request) Successful in 3m5s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 15s
2026-11-28 03:02:13 +01:00
christianmanivong e4fde2283a feat(access-point): a radio's runtime state beside its configuration (NetOrk/netork#31)
RadioStatusDict carries up, pending and setup_failed, each optional: a
driver that cannot read the state leaves them out. A radio can be enabled
and not run, as on 2026-07-16, when a rejected value kept every radio of
a fleet in a restart loop the configuration never showed.

The access point shapes move to access_point_models.py for the file size
ratchet; models re-exports each where it was.
2026-11-28 03:02:13 +01:00
christianmanivong c93ceeb320 Merge NAPALM/napalm-device-types main (4.47.0) into feature/hardening-reading
driver / standard (pull_request) Successful in 30s
driver / types (pull_request) Successful in 2m12s
driver / test (3.12) (pull_request) Successful in 2m16s
driver / lowest (pull_request) Successful in 39s
driver / test (3.13) (pull_request) Successful in 1m26s
driver / build (pull_request) Successful in 39s
driver / security (pull_request) Successful in 1m18s
CI / driver (pull_request) Successful in 5m3s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 59s
4.47.0 (#135) is released; this branch stays 4.48.0, its changelog section
above 4.47.0's.
2026-11-27 05:52:44 +01:00
christianmanivong e440bee9e1 chore(release): 4.48.0
driver / standard (pull_request) Failing after 16s
driver / types (pull_request) Successful in 56s
driver / test (3.12) (pull_request) Successful in 1m16s
driver / test (3.13) (pull_request) Successful in 1m7s
driver / lowest (pull_request) Successful in 40s
driver / build (pull_request) Successful in 29s
driver / security (pull_request) Successful in 1m2s
CI / driver (pull_request) Failing after 2m48s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 14s
2026-11-26 23:13:28 +01:00
christianmanivong 3cd0e3621a feat(hardening): how a Linux host is hardened, as one read-only reading (NetOrk/netork#2706)
HardeningMixin.get_hardening() reads, with one fixed command: the active
security modules, SELinux's mode and its configured mode, AppArmor's switch
and (as root) its profiles per mode, the crypto policy and FIPS mode, the
kernel's text for each CPU vulnerability, mitigations= and nosmt from the
command line, and the distribution's IDs. Read as root first, as the login
user where root is refused. What was not read is None, never off.
2026-11-26 23:11:57 +01:00
christianmanivong 3813aee3a8 chore(release): 4.47.0
driver / lint (pull_request) Successful in 17s
driver / standard (pull_request) Successful in 21s
driver / types (pull_request) Successful in 1m0s
driver / test (3.13) (pull_request) Successful in 1m7s
driver / test (3.12) (pull_request) Successful in 1m21s
driver / lowest (pull_request) Successful in 41s
driver / build (pull_request) Successful in 29s
driver / security (pull_request) Successful in 1m1s
CI / driver (pull_request) Successful in 2m29s
driver / publish (pull_request) Skipped
2026-11-26 23:09:58 +01:00
christianmanivong e3420269b7 feat(updates): the update history from apt's own log, with Proxmox VE 9.3's ids (NetOrk/netork#2728)
AptHistoryMixin implements get_update_history over run_command: history.log and its
rotations in one round trip as the login user, root only for a file that user may not
read. Dates are read in the host's zone; a transaction's id is its start and the number
of earlier ones with that start in the same file, as GET /nodes/{node}/apt/history names
it. Malformed blocks are left out, a report cut short raises.
2026-11-26 23:04:41 +01:00
christianmanivong f8c456d784 chore(release): 4.46.0
driver / standard (pull_request) Successful in 17s
driver / types (pull_request) Successful in 1m5s
driver / test (3.12) (pull_request) Successful in 1m22s
driver / test (3.13) (pull_request) Successful in 1m17s
driver / lowest (pull_request) Successful in 55s
driver / build (pull_request) Successful in 34s
driver / security (pull_request) Successful in 1m5s
CI / driver (pull_request) Successful in 2m58s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 14s
2026-11-26 19:25:55 +01:00
christianmanivong a5275d4c4d Merge NAPALM/napalm-device-types#132 (4.45.0) into feature/services-need-restart-lxc 2026-11-26 19:25:55 +01:00
christianmanivong a38f07513f chore(release): 4.45.0
driver / standard (pull_request) Successful in 18s
driver / types (pull_request) Successful in 59s
driver / test (3.13) (pull_request) Successful in 1m16s
driver / test (3.12) (pull_request) Successful in 1m20s
driver / lowest (pull_request) Successful in 41s
driver / build (pull_request) Successful in 33s
driver / security (pull_request) Successful in 1m10s
CI / driver (pull_request) Successful in 2m44s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 14s
2026-11-26 19:24:36 +01:00
christianmanivong ddcd9ebc0a Merge remote-tracking branch 'origin/main' into feature/services-need-restart
# Conflicts:
#	CHANGELOG.md
2026-11-26 19:24:17 +01:00
christianmanivong 494b9ed046 refactor(services-restart): its shapes live in its own module, within the quality ratchet
driver / standard (pull_request) Successful in 19s
driver / types (pull_request) Successful in 1m8s
driver / test (3.13) (pull_request) Successful in 1m26s
driver / test (3.12) (pull_request) Successful in 1m30s
driver / lowest (pull_request) Successful in 46s
driver / build (pull_request) Successful in 32s
driver / security (pull_request) Successful in 1m7s
CI / driver (pull_request) Successful in 2m56s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 15s
models.py had grown past its recorded size; ServicesRestartDict and
RestartProcessDict move to services_restart, exported from the package.
2026-11-26 19:06:23 +01:00
christianmanivong 67ffee4e9e fix(services-restart): an LXC container's processes are left out (NetOrk/netork#2750)
driver / standard (pull_request) Failing after 17s
driver / types (pull_request) Successful in 1m5s
driver / test (3.12) (pull_request) Successful in 1m23s
driver / test (3.13) (pull_request) Successful in 1m22s
driver / lowest (pull_request) Successful in 44s
driver / build (pull_request) Successful in 32s
driver / security (pull_request) Successful in 1m4s
CI / driver (pull_request) Failing after 3m0s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 15s
On a Proxmox node the /proc scan sees every container's processes: an LXC
container updates itself, and its own systemd's units (lxc/<vmid>/ns/...
.service) would read as the host's services needing a restart. They are
left out like Docker's and Podman's: /lxc/<name>/ (Proxmox VE, cgroup v1)
and /lxc.payload.<name>/ (LXC 4 and later). The monitor, lxc.monitor/<name>,
runs the host's lxc-start and still counts.
2026-11-26 18:53:07 +01:00
christianmanivong 53bc79098b chore(release): 4.44.0
driver / standard (pull_request) Failing after 18s
driver / types (pull_request) Successful in 1m1s
driver / test (3.13) (pull_request) Successful in 1m22s
driver / test (3.12) (pull_request) Successful in 1m28s
driver / lowest (pull_request) Successful in 45s
driver / build (pull_request) Successful in 30s
driver / security (pull_request) Successful in 1m3s
CI / driver (pull_request) Failing after 2m45s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 16s
2026-11-26 18:05:09 +01:00
christianmanivong 5517464e1f chore(release): 4.44.0
driver / standard (pull_request) Failing after 20s
driver / types (pull_request) Successful in 1m1s
driver / test (3.13) (pull_request) Successful in 1m14s
driver / test (3.12) (pull_request) Successful in 1m23s
driver / lowest (pull_request) Successful in 37s
driver / build (pull_request) Successful in 30s
driver / security (pull_request) Successful in 1m2s
CI / driver (pull_request) Failing after 2m36s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 17s
2026-11-26 17:39:04 +01:00
christianmanivong 9c889f3715 feat(services-restart): the services that still run replaced code (NetOrk/netork#2700)
ServicesRestartMixin.get_services_need_restart reads, as root and in one
fixed read-only command, which systemd services still run code an update
replaced on disk: needs-restarting -s on the dnf family, else needrestart
in batch list-only mode (-r l and NEEDRESTART_MODE=l, whatever its config
says), else the processes whose /proc/<pid>/maps maps deleted code, each
named by its cgroup's service as the listening sockets are. A refused root
raises instead of reading clean.
2026-11-26 17:39:04 +01:00
christianmanivong 07fc7d0dd3 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.
2026-11-26 17:26:57 +01:00
christianmanivong 507e9a8728 chore(release): 4.43.0
driver / standard (pull_request) Failing after 22s
driver / types (pull_request) Successful in 59s
driver / test (3.13) (pull_request) Successful in 1m6s
driver / lowest (pull_request) Successful in 35s
driver / test (3.12) (pull_request) Successful in 1m15s
driver / build (pull_request) Successful in 28s
driver / security (pull_request) Successful in 55s
CI / driver (pull_request) Failing after 2m24s
driver / publish (pull_request) Skipped
driver / lint (pull_request) Successful in 22s
2026-11-26 08:26:35 +01:00
christianmanivong 4df932e0ca feat(opened-ports): revoke_recorded_rules, the loop napalm-linux and napalm-proxmox share 2026-11-26 08:19:53 +01:00
christianmanivong ebd3255e5a feat(zabbix): an active-only agent closes the port netOrk opened for it (NetOrk/netork#2693)
ufw, iptables and firewalld do not say who wrote a rule. opened_ports keeps a
root-owned record of the rules a driver opened, written only when the firewall
did not have the rule before, and read strictly. ZabbixAgentMixin's firewall
step calls the driver's optional _revoke_zabbix_agent_sources for an
active-only agent; a driver without it changes nothing and says why.
2026-11-26 08:14:56 +01:00
christianmanivong 784f7ac686 Merge branch 'fix/vm-resume-2658'
# Conflicts:
#	CHANGELOG.md
2026-11-25 22:09:09 +01:00