Commit Graph
183 Commits
Author SHA1 Message Date
christianmanivong dd1b74a010 refactor: the share shapes in share_models, Samba's parse in parts (NetOrk/netork#3104)
driver / lint (pull_request) Successful in 12s
driver / standard (pull_request) Successful in 16s
driver / lowest (pull_request) Successful in 37s
driver / types (pull_request) Successful in 55s
driver / test (3.13) (pull_request) Successful in 1m7s
driver / build (pull_request) Successful in 25s
driver / test (3.12) (pull_request) Successful in 1m16s
driver / security (pull_request) Successful in 59s
CI / driver (pull_request) Successful in 1m56s
driver / publish (pull_request) Skipped
The standard's ratchet: models.py may not grow, and a new function stays within
complexity 10. NASShareDict and ShareAccessDict move to share_models; models
re-exports both, so every import keeps working.
2026-12-03 18:45:06 +01:00
christianmanivong 879f5fe777 feat: file shares and network mounts, the kernel's NFS server, 4.58.0 (NetOrk/netork#3104)
driver / lint (pull_request) Successful in 17s
driver / standard (pull_request) Failing after 20s
driver / lowest (pull_request) Successful in 38s
driver / types (pull_request) Successful in 58s
driver / test (3.12) (pull_request) Successful in 1m19s
driver / test (3.13) (pull_request) Successful in 1m9s
driver / build (pull_request) Successful in 31s
driver / security (pull_request) Successful in 56s
CI / driver (pull_request) Failing after 1m55s
driver / publish (pull_request) Skipped
- PosixSharesMixin (get_shares): an ordinary Linux server's NFS exports from the
  kernel's export table and its Samba shares from testparm -s, each naming the
  service that serves it.
- NASShareDict: optional service, export, access (ShareAccessDict) and guest.
- NetworkMountsMixin (get_network_mounts): the NFS exports and SMB shares a host
  has mounted, from /proc/self/mounts, with the address the kernel connected to.
- get_services reports nfs-server running while its unit is active
  (KERNEL_SERVED_UNITS); get_listening_sockets names it as the unit of the
  sockets /proc/fs/nfsd/portlist lists.
2026-12-03 18:43:20 +01:00
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 / lint (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
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 a3d957500f chore(quality): lower the models.py line baseline after the merged moves
driver / lint (pull_request) Successful in 24s
driver / standard (pull_request) Successful in 27s
driver / lowest (pull_request) Successful in 54s
driver / types (pull_request) Successful in 1m30s
driver / test (3.12) (pull_request) Successful in 1m50s
driver / test (3.13) (pull_request) Successful in 1m39s
driver / build (pull_request) Successful in 33s
driver / security (pull_request) Successful in 1m26s
CI / driver (pull_request) Successful in 2m47s
driver / publish (pull_request) Skipped
2026-12-01 23:20:15 +01:00
christianmanivong 47ad8c55bf Merge remote-tracking branch 'origin/feature/windows-posture-2893' into chore/merge-train-windows-depth
driver / lint (pull_request) Successful in 17s
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
# 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 0f33653ca8 refactor(models): UserDict and ProcessDict in os_models.py, re-exported from models
models.py stays within its line baseline; the baseline drops to what is left.
2026-12-01 12:54:55 +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 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 2ad1ead2f5 refactor(access-point): the new shapes beside their declarations, models.py within its ratchet
DhcpLeaseDict lives in dhcp_leases, the AP shapes in
access_point_models; models.py stays at its recorded size.
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 / lint (pull_request) Successful in 1m11s
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
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 3f35d05a73 fix(kernel): the kernel facts' shape in a module of its own, and no try/except/pass (NetOrk/netork#2701)
models.py had grown past its recorded size with the live patches;
KernelFactsDict moves to kernel_models, re-exported by models, and the
record shrinks to what is left (1336). The root read of Canonical's status
returns on a refusal instead of passing (bandit B110).
2026-11-28 10:31: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 / lint (pull_request) Successful in 14s
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
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 / lint (pull_request) Successful in 17s
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
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 / lint (pull_request) Successful in 17s
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
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 b9b6297815 feat(kernel): the live patches the running kernel carries, with the kernel facts (NetOrk/netork#2701)
/sys/kernel/livepatch with each patch's enabled and transition, kpatch
list, and Canonical Livepatch's status for the running kernel with the
CVEs it names. status reads the daemon's last state; refresh is never run.
Where the client is installed and its status needs root, a driver that
supplies _run_livepatch_status_command reads it again as root.
2026-11-28 04:23:17 +01:00
christianmanivong 91b939236f feat(logins): every account a person can log in with, as one read-only reading (NetOrk/netork#2707)
LoginAccountsMixin.get_login_accounts: root and UID 1000 on with a login
shell, from /etc/passwd without the comment field; the newest last login of
lastlog2, lastlog, wtmpdb last and last, with where it came from; the
password state and expiry from passwd -S and chage -l; the failed attempts
since the last login from lastb, else faillock. Root first, the login user
where root is refused, when what needs root is None.
2026-11-28 03:46:33 +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 / lint (pull_request) Successful in 59s
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
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 594cc5e486 refactor(hardening): the SELinux part as three small questions (NetOrk/netork#2706)
driver / lint (pull_request) Successful in 17s
driver / standard (pull_request) Successful in 19s
driver / types (pull_request) Successful in 1m1s
driver / test (3.13) (pull_request) Successful in 1m12s
driver / test (3.12) (pull_request) Successful in 1m19s
driver / lowest (pull_request) Successful in 39s
driver / build (pull_request) Successful in 29s
driver / security (pull_request) Successful in 1m0s
CI / driver (pull_request) Successful in 2m31s
driver / publish (pull_request) Skipped
_selinux_configured, _selinux_running and _selinux_seen, each on its own, so
_selinux stays within napalm-standard's complexity limit. The parse is
unchanged.
2026-11-27 01:45:12 +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 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 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 ddcd9ebc0a Merge remote-tracking branch 'origin/main' into feature/services-need-restart
# Conflicts:
#	CHANGELOG.md
2026-11-26 19:24:17 +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 / lint (pull_request) Successful in 15s
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
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 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 4df932e0ca feat(opened-ports): revoke_recorded_rules, the loop napalm-linux and napalm-proxmox share 2026-11-26 08:19:53 +01:00
christianmanivong cbd1cd3d11 test(opened-ports): ufw's commands on a shell; a missing rule deletes as done 2026-11-26 08:16:25 +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
christianmanivong cd47587e80 feat(hypervisor): resume_vm, and a paused guest is never running (NetOrk/netork#2658)
driver / lint (pull_request) Successful in 12s
driver / standard (pull_request) Successful in 15s
driver / types (pull_request) Successful in 50s
driver / test (3.12) (pull_request) Successful in 1m8s
driver / lowest (pull_request) Successful in 36s
driver / test (3.13) (pull_request) Successful in 1m0s
driver / build (pull_request) Successful in 27s
driver / security (pull_request) Successful in 59s
CI / driver (pull_request) Successful in 2m24s
driver / publish (pull_request) Skipped
The contract could suspend a VM but not bring it back: suspend_vm pointed
at start_vm, which Proxmox refuses for a paused guest because it is still
running. resume_vm is declared beside suspend_vm, optional like every power
action, and get_vms() says a guest that is not executing is paused or
suspended, never running.
2026-11-25 21:26:37 +01:00
christianmanivong b1ea364674 feat(zabbix): an agent that only connects out listens on no port (NetOrk/netork#2683)
driver / standard (pull_request) Successful in 17s
driver / lint (pull_request) Successful in 15s
driver / types (pull_request) Successful in 1m7s
driver / test (3.12) (pull_request) Successful in 1m21s
driver / test (3.13) (pull_request) Successful in 1m13s
driver / lowest (pull_request) Successful in 37s
driver / build (pull_request) Successful in 28s
driver / security (pull_request) Successful in 55s
CI / driver (pull_request) Successful in 55s
driver / publish (pull_request) Skipped
ZabbixAgentSettingsDict.active_only: zabbix_agent_config writes
StartAgents=0 and comments Server out (mandatory only while StartAgents
is not 0); ServerActive is required instead. configure_zabbix_agent's
firewall step opens nothing for it. An agent that is not active only gets
a StartAgents=0 line commented out.
2026-11-25 21:24:39 +01:00
christianmanivong f654076560 feat(apt): read the release each source names, move a file to the host's (NetOrk/netork#2614)
driver / lint (pull_request) Successful in 12s
driver / standard (pull_request) Successful in 15s
driver / types (pull_request) Successful in 55s
driver / test (3.13) (pull_request) Successful in 1m7s
driver / test (3.12) (pull_request) Successful in 1m16s
driver / lowest (pull_request) Successful in 38s
driver / build (pull_request) Successful in 30s
driver / security (pull_request) Successful in 1m6s
CI / driver (pull_request) Successful in 2m28s
driver / publish (pull_request) Skipped
A release upgrade leaves third-party apt sources on the old release, where they
still answer and their packages stop getting updates once the vendor stops
building for it: z2m-house, Ubuntu 24.04, kept Docker's source on focal and never
saw a Docker newer than 28.1.1.

AptReleaseMixin.get_apt_source_releases() reports the host's /etc/os-release and
every enabled source apt reads, one-line and deb822, with its file, line, types,
URI, suites and components. set_apt_source_release(path, release, codename) moves
every suite of release in one of apt's source files to codename, once each new
suite's InRelease or Release is fetched with apt-helper through apt's own proxy;
where the vendor has none, nothing is written. AptProxyMixin brings it, so every
apt driver has it.
2026-11-17 13:31:42 +01:00
christianmanivong 1a7885d22e refactor(firmware): FirmwareOfferDict lives with its contract
driver / lint (pull_request) Successful in 14s
driver / standard (pull_request) Successful in 16s
driver / types (pull_request) Successful in 50s
driver / test (3.13) (pull_request) Successful in 59s
driver / test (3.12) (pull_request) Successful in 1m6s
driver / lowest (pull_request) Successful in 35s
driver / build (pull_request) Successful in 24s
driver / security (pull_request) Successful in 53s
CI / driver (pull_request) Successful in 2m9s
driver / publish (pull_request) Skipped
models.py is over the file limit and may not grow; the offer's two new
fields moved it past its recorded length. It is still importable from
napalm_device_types.models.
2026-11-17 12:35:34 +01:00