• napalm-device-types 4.57.0
    driver / types (push) Successful in 1m3s
    driver / standard (push) Successful in 16s
    driver / lint (push) Successful in 19s
    driver / lowest (push) Successful in 40s
    driver / test (3.13) (push) Successful in 1m17s
    driver / test (3.12) (push) Successful in 1m28s
    driver / build (push) Successful in 39s
    driver / security (push) Successful in 1m8s
    driver / publish (push) Successful in 47s
    CI / driver (push) Successful in 3m14s
    Stable

    christianmanivong released this 2026-12-03 12:11:22 +00:00 | 0 commits to main since this release

    Added

    • PackageSourcesUnreadable, a ValueError: parse_apt_upgradable raises it when apt
      could not read its list of sources, and with it read no package at all -- one bad line,
      two Signed-By for one repository say, makes apt refuse every source (NetOrk/netork#3087).
      Its message is what apt said, its errors joined by "; ". A caller that catches
      ValueError catches it as before.

    Changed

    • APT_UPGRADABLE_COMMAND passes apt's errors on, each E: line marked __APT_E:;
      its warnings stay out as before. Any other failed read now names apt's errors after
      the exit status.
    Downloads
  • napalm-device-types 4.56.0
    driver / types (push) Successful in 59s
    driver / standard (push) Successful in 14s
    driver / lint (push) Successful in 13s
    driver / lowest (push) Successful in 40s
    driver / test (3.12) (push) Successful in 1m10s
    driver / test (3.13) (push) Successful in 1m11s
    driver / build (push) Successful in 25s
    driver / security (push) Successful in 55s
    driver / publish (push) Successful in 26s
    CI / driver (push) Successful in 2m34s
    Stable

    christianmanivong released this 2026-12-02 21:29:00 +00:00 | 2 commits to main since this release

    Added

    • HostStorageMixin: a host's disks, pools, volumes and drive health without the storage
      role (NetOrk/netork#2896, #2705). It declares get_disks, get_disk_pools and
      get_volumes in StorageDriver's shapes, and get_disk_smart(), a dict of
      DiskSmartDict keyed by the disk's slot: model, serial, type, size, health ("ok",
      "warning", "failed", "unknown"), wearout, temperature, percentage used, available
      spare, reallocated sectors, power-on hours, and optionally the highest temperature and
      the uncorrected read and write errors -- None where the drive does not report one.
      These are the keys Proxmox's get_disk_smart already fills. A disk that does not say
      reads temperature -1 and health "unknown" in get_disks and is left out of
      get_disk_smart. Nothing changes for StorageDriver.
    • HostVolumeDict: a LogicalVolumeDict with an optional file_system and health.
    • New values in existing string fields: a disk's type may be "unknown", a pool's
      type "storage-spaces" and its level "parity".
    • clean_system_identity(...): the SMBIOS identity and system firmware from values a host
      read some other way than the DMI files -- Windows through its CIM classes
      (NetOrk/netork#2888) -- with the same placeholders empty as parse_system_identity,
      which now uses it. The release date is passed as YYYY-MM-DD; anything else reads as no
      date.
    • UserDict.sid (optional): the account's security identifier on a host that names
      accounts by one (Windows, NetOrk/netork#2889). uid stays an int: there, the relative
      identifier, the SID's last part.
    • Login accounts and login sessions from another platform than Linux (NetOrk/netork#2895),
      for Windows hosts in the access review. All optional, so the Linux reading and every
      driver that builds one stay as they are:
      • LoginAccountDict may carry sid (Windows' security identifier; uid is then the
        RID, the SID's last part), administrator (a member of the host's Administrators) and
        remote_desktop (may log in at a remote desktop), each None where not read.
      • LoginAccountsDict may carry groups: the host's groups that grant administering it
        or a remote desktop login (LoginGroupDict: name, SID, grants of LOGIN_GRANTS,
        members), with every member as the host names it, a directory's accounts and groups
        included (LoginGroupMemberDict: name, SID, local, group).
      • LoginSessionsDict may carry records_since: the oldest entry the record the sessions
        came from still holds, so a log that rotated within the window does not read as
        "nobody logged in" before it.
    • A Windows host's firewall as a reading of its own (NetOrk/netork#2894), carried by
      get_host_firewall beside the netfilter one: HostFirewallDict gains the optional key
      windows (WindowsFirewallDict), with sources ["windows-firewall"] and no chains.
      It holds the three profiles (WindowsFirewallProfileDict: on or off, default inbound and
      outbound action, "block all incoming connections", whether local rules apply), every
      enabled rule of the active policy with its filters (WindowsFirewallRuleDict: profiles,
      protocol, ports, addresses, program, service, app package, interfaces and their types,
      IPsec authentication, where the rule comes from, group policy included), and which
      profile each connected interface is in (WindowsFirewallConnectionDict).
      WINDOWS_FIREWALL_PROFILES names the profiles. An application that knows only chains
      finds none in a Windows reading, and proves nothing from it.
    • WindowsFeaturesMixin.get_windows_features() (NetOrk/netork#2898), declared: every
      optional feature a Windows host's image knows (WindowsFeaturesDict), each with its name
      as Windows spells it (SMB1Protocol, MSMQ-Server, IIS-WebServerRole) and its state
      (WINDOWS_FEATURE_STATES: enabled, disabled, absent, unknown). What turns a CVE that
      needs a role or feature into "met" or "not met" on a host.

    Changed

    • The netfilter shapes (HostFirewallDict, NetfilterChainDict, NetfilterRuleDict,
      NetfilterMatchDict) moved to napalm_device_types.host_firewall_models; models
      re-exports them, so every import keeps working.
    • HostEventsMixin.get_host_events(since=None), declared: what a host's own log recorded
      that says something is wrong with it (NetOrk/netork#2897), for an application that warns
      of it. A fixed set of kinds (HOST_EVENT_KINDS): unexpected shutdowns, system crashes
      with their stop code, fatal and corrected hardware errors, disk and file system errors,
      programs and services that crashed. Each HostEventDict names its kind, time (ISO, UTC),
      what it is about in words that do not depend on the host's language, where it was
      recorded and the host's message, cut to HOST_EVENT_MESSAGE_CHARS; host_event() builds
      one. The reading covers HOST_EVENT_WINDOW_DAYS (7) days by default and says which kinds
      it read up to its bound (capped) and which it could not read (unread).
    • Log sources of kind "eventlog": a Windows event channel, named by the new optional
      LogSourceDict.channel, with its .evtx file as path (eventlog_source(),
      LOG_SOURCE_KINDS, EVENTLOG).
    • ServiceDict says how a service's last run ended, all optional: result in systemd's
      Result words (SERVICE_RESULT_SUCCESS, SERVICE_RESULT_EXIT_CODE), exit_code,
      trigger_start and the account it runs as, so that a service that died is told from
      one stopped on purpose. ServiceDict is exported from the package.
    • HostRepairMixin: a host's own checks and repairs as a fixed catalog of runs
      (NetOrk/netork#2899), one method each: verify_system_files(), repair_system_files(),
      check_component_store(), repair_component_store(), update_antimalware_signatures()
      and scan_antimalware(quick=True). Each streams the tool's output line by line to log,
      is bounded in time (by the driver, or tighter by the caller's limit in seconds)
      and returns a HostRepairResultDict (success, output, exit_code, error). A check
      never repairs: a repair is a method of its own. Not on any role base; a driver defines the
      runs its host can do, and offered_host_repairs(driver_cls) lists them.
    • tool_outcome(lines, exit_code, tool=...): the result of a run from its tool's output and
      exit code. Exit code 0 succeeds; any other, or none, fails with the tool's last lines. A
      negative (signed 32-bit) exit code is read as unsigned, and an HRESULT shows in hex. The
      kept output is bounded to its last 64,000 characters.
    • UpdateDict takes four optional fields for a source that says more of an update than a
      package name (NetOrk/netork#2892): title, the vendor's advisories it ships (Windows
      Update's KB articles), the cves it fixes on this host, and the vendor's own rating
      (vendor_severity, Windows Update's MsrcSeverity). UpdateHistoryPackageDict takes an
      optional title. Every reader that leaves them out still conforms.
    • A host's security posture in HardeningDict (NetOrk/netork#2893), as optional keys a
      driver fills where it reads them, so a Windows host's protection fits the same reading as
      a Linux host's hardening: secure_boot (SecureBootState: on, off, unsupported),
      tpm (TpmDict), disk_encryption (DiskEncryptionDict with an EncryptedVolumeDict
      per volume and its VolumeProtection), antimalware (AntimalwareDict, its
      AntimalwareMode telling whether another product protects the host), firewall_profiles
      (FirewallProfileDict, on or off) and vbs (VbsDict, VbsStatus). Everything Linux
      fills stays required and unchanged; parse_hardening fills none of the new keys.
    Downloads
  • napalm-device-types 4.55.0
    driver / lowest (push) Successful in 36s
    driver / standard (push) Successful in 15s
    driver / lint (push) Successful in 15s
    driver / types (push) Successful in 54s
    driver / build (push) Successful in 25s
    driver / test (3.13) (push) Successful in 1m17s
    driver / test (3.12) (push) Successful in 1m30s
    driver / security (push) Successful in 55s
    driver / publish (push) Successful in 40s
    CI / driver (push) Successful in 2m38s
    Stable

    christianmanivong released this 2026-12-01 08:58:16 +00:00 | 23 commits to main since this release

    Added

    • LoginSessionsMixin.get_login_sessions(): the interactive logins a Linux host recorded
      over the last seven days (NetOrk/netork#2881), for an application that wants to know
      which shells did not go through it. Each session names its account, terminal, the
      address it came from (None at the host's console), start and end (ISO, UTC; the end None
      while it runs). Read from wtmpdb last and last with --time-format iso, bounded with
      --since on the host, a session in both records once. Only terminals count
      (is_interactive): reboot entries, X displays, ssh:notty and windows of screen do not.
      own_address is the driver's own SSH session's client address (SSH_CONNECTION), whose
      sessions are left out. One fixed, read-only command as the login user; a driver supplies
      _run_login_sessions_command(command). A host whose last takes no --time-format
      raises LoginSessionsUnavailable.
    Downloads
  • napalm-device-types 4.54.0
    driver / lowest (push) Successful in 41s
    driver / standard (push) Successful in 16s
    driver / lint (push) Successful in 14s
    driver / types (push) Successful in 1m1s
    driver / test (3.12) (push) Successful in 1m11s
    driver / test (3.13) (push) Successful in 1m13s
    driver / build (push) Successful in 31s
    driver / security (push) Successful in 57s
    driver / publish (push) Successful in 29s
    CI / driver (push) Successful in 3m18s
    Stable

    christianmanivong released this 2026-11-29 22:12:12 +00:00 | 26 commits to main since this release

    Added

    • An access point's writes as declared methods (NetOrk/netork#695), so an application no
      longer builds the device's commands itself:
      • WirelessWritesMixin, on AccessPointDriver and ResidentialGatewayDriver:
        push_ssid_config(ssid, SsidConfigDict) writes the settings it is given (encryption,
        key, hidden, enabled, disassoc_low_ack, max_inactivity) to every interface serving the
        SSID and leaves the rest; set_radio_channels({radio: channel}) changes every radio in
        one go, with one restart of the wireless stack (AUTO_CHANNEL, 0, lets a radio choose).
        A refused step raises.
      • AccessPointDriver.set_vlan_name(vlan_id, name): names a VLAN the access point
        carries; True when written, False when it carries no such VLAN. An access point needs
        no set_vlan, which creates VLANs on a switch.
      • ApConfigMixin.apply_ap_config(ApConfigDict, parts), on AccessPointDriver: the
        access point's desired configuration, of which the driver writes the parts the caller
        found different. ApConfigDict (and ApSsidConfigDict per SSID) names radios,
        remote syslog, web interface, SSH, the management VLAN, the bridge and its spanning
        tree, 802.11r and the SSIDs in vendor-neutral terms; ApConfigResultDict says which
        parts were written, which were not (unknown, or missing a value they need, such as a
        key), whether the device restarts, and what was sent with every passphrase masked.
        The parts are AP_CONFIG_PARTS, network/vlan/<vid> and
        wireless/<ssid>/<attribute> (AP_CONFIG_SSID_ATTRIBUTES); ap_config_ssid_part,
        ap_config_vlan_part and is_ap_config_part read them.
    • DhcpLeasesMixin.get_dhcp_leases(), a list of DhcpLeaseDict (mac, ip, hostname,
      lease_end, state): the leases a DHCP server handed out, in a mixin of its own, apart from
      DhcpServerMixin, so that an access point can report them. A failed read raises; a
      device that serves none returns []. A driver that already has the method keeps
      working; it declares the mixin by adding it to its bases.
    • UpdateMixin.apply_updates(packages, *, log=None): an optional keyword-only log that
      receives each line of the package manager's output as the host prints it
      (NetOrk/netork#1112), as harden_ssh_server(..., log=...) does. A driver that cannot
      stream does not call it and returns the output at the end, as before; output holds the
      whole output either way. Drivers without it keep conforming.
    Downloads
  • napalm-device-types 4.53.0
    driver / types (push) Successful in 53s
    driver / standard (push) Successful in 24s
    driver / lint (push) Successful in 13s
    driver / test (3.13) (push) Successful in 1m3s
    driver / build (push) Successful in 26s
    driver / lowest (push) Successful in 53s
    driver / test (3.12) (push) Successful in 1m38s
    driver / security (push) Successful in 57s
    driver / publish (push) Successful in 43s
    CI / driver (push) Successful in 2m49s
    Stable

    christianmanivong released this 2026-11-28 23:15:33 +00:00 | 31 commits to main since this release

    Added

    • get_hardening() reads whether the host runs on its own hardware, and whose CPU it is
      (NetOrk/netork#2838): virtualization, systemd-detect-virt's word (none on bare
      metal, else the hypervisor or container engine, lowercased), else vm or none from the
      hypervisor flag of /proc/cpuinfo where systemd-detect-virt is not installed; and
      cpu_vendor, the first vendor_id of /proc/cpuinfo (GenuineIntel, AuthenticAMD;
      None without one, as on ARM). Read-only, like the rest of the reading.
    • CpuMicrocodeMixin.install_cpu_microcode(): the CPU vendor's microcode on a host that
      runs on its own CPU, in three steps. read refuses a guest (a guest loads no microcode,
      its host does) and a host whose virtualization could not be told, and picks the package
      (microcode_package): intel-microcode/amd64-microcode on Debian and Ubuntu,
      microcode_ctl/linux-firmware on Enterprise Linux and Fedora,
      ucode-intel/ucode-amd on SUSE; none elsewhere. sources, on a Debian host only,
      adds Debian's firmware component (firmware_component: non-free-firmware, non-free
      up to bullseye) to every enabled source of Debian's own archive that has main, and
      loads the package index again; another vendor's source is never touched
      (add_component). install is ensure_package's. The microcode loads at the next boot;
      the restart is the caller's. Returns CpuMicrocodeFixDict (the fix, package,
      sources_changed). On no role base: a driver mixes it in. The index is loaded again through
      _reload_package_index, refresh_available_updates by default; a driver whose refresh only
      starts a task overrides it with one that waits.
    Downloads
  • napalm-device-types 4.52.0
    driver / types (push) Successful in 54s
    driver / standard (push) Successful in 16s
    driver / lint (push) Successful in 12s
    driver / test (3.12) (push) Successful in 1m16s
    driver / test (3.13) (push) Successful in 1m7s
    driver / lowest (push) Successful in 39s
    driver / build (push) Successful in 28s
    driver / security (push) Successful in 1m2s
    driver / publish (push) Successful in 28s
    CI / driver (push) Successful in 4m22s
    Stable

    christianmanivong released this 2026-11-28 10:05:35 +00:00 | 33 commits to main since this release

    Added

    • get_kernel_facts() reads the kernel's live patches (NetOrk/netork#2701), in the new
      live_patches key: loaded, every patch under /sys/kernel/livepatch with enabled and
      transition (None on a kernel without live patching); kpatch, kpatch list's loaded
      modules with their state and the installed ones with their kernel (None without kpatch);
      canonical, Canonical Livepatch's status for the running kernel -- its kernel as Canonical
      names it, state (applied, ...), check_state, version and the CVEs it names with
      whether each is patched (canonical-livepatch status --format json, the 10.x client's list
      and the 9.x client's text; None when not installed or not read), and
      canonical_installed. Read-only: status reads the daemon's last state, refresh is never
      run. Where the client is installed and its status did not read without root, a driver that
      supplies _run_livepatch_status_command(command) has LIVEPATCH_STATUS_COMMAND read again
      as root; a refusal leaves it unread.
    • parse_canonical_status, canonical_release (Canonical's 5.15.0-91.101-generic as
      uname -r names it), LIVEPATCH_STATUS_COMMAND, and the LivePatchesDict and
      CanonicalLivepatchDict shapes (in livepatch).
    Downloads
  • napalm-device-types 4.51.0
    driver / types (push) Successful in 56s
    driver / standard (push) Successful in 16s
    driver / lint (push) Successful in 13s
    driver / test (3.12) (push) Successful in 1m17s
    driver / test (3.13) (push) Successful in 1m6s
    driver / lowest (push) Successful in 41s
    driver / build (push) Successful in 33s
    driver / security (push) Successful in 1m3s
    driver / publish (push) Successful in 28s
    CI / driver (push) Successful in 3m18s
    Stable

    christianmanivong released this 2026-11-28 09:36:35 +00:00 | 40 commits to main since this release

    Added

    • LoginAccountsMixin.get_login_accounts(): every account on a Linux host a person can
      log in with, read with one fixed, read-only command (NetOrk/netork#2707). Root and UID
      1000 on with a login shell (login_capable), from /etc/passwd -- name, UID, home and
      shell only, never the comment field; accounts from a directory are not there and not
      read. Each with its last login (ISO, UTC), where it came from and which tool told it:
      the newest of lastlog2, lastlog, wtmpdb last and last, so a host upgraded to
      lastlog2 or a desktop login only wtmp saw still reads right. Its password state
      (passwd -S: set, locked, none), password change, password and account expiry
      (chage -l: an ISO date, never, must_change), and locked -- the password locked or
      the account expired on the host's date. The failed attempts since the last login as a
      number: from lastb (the newest FAILED_LOGINS_READ, 1000, per account;
      failed_logins_capped when reached), else pam_faillock's tally. LC_ALL=C, no stdin,
      no password hash read. Root first; where root is refused, as the login user, when the
      lock, the expiry and the failures are None. A driver supplies
      _run_login_accounts_command(command, *, privileged).
    • parse_login_accounts, LOGIN_ACCOUNTS_COMMAND, login_capable, and the
      LoginAccountDict and LoginAccountsDict shapes (in login_accounts).
    Downloads
  • napalm-device-types 4.50.0
    driver / types (push) Successful in 57s
    driver / standard (push) Successful in 18s
    driver / lint (push) Successful in 16s
    driver / test (3.12) (push) Successful in 1m19s
    driver / test (3.13) (push) Successful in 1m11s
    driver / lowest (push) Successful in 46s
    driver / build (push) Successful in 32s
    driver / security (push) Successful in 59s
    driver / publish (push) Successful in 30s
    CI / driver (push) Successful in 3m39s
    Stable

    christianmanivong released this 2026-11-28 07:12:18 +00:00 | 45 commits to main since this release

    Added

    • login_sources: where a device checks a person's login, and what each place asks for
      (NetOrk/netork#662). LoginSourceDict names one source with the device's own word for its
      kind and what it asks for (LoginFactors: password, password_otp, external,
      unknown; all four in LOGIN_FACTORS). WebLoginAuthDict is the reading a driver returns
      from get_web_login_auth: every source the web interface tries, in the device's order.
      There is no mixin, so hasattr(driver, "get_web_login_auth") stays a truthful answer.
    • SshServerAuthDict takes two optional keys for a platform that writes sshd_config itself
      and is read from its own configuration. password_sources says what checks a password or
      keyboard-interactive login where the platform decides that rather than PAM's stack.
      server_enabled is False when the platform's SSH server is switched off. Readings from
      sshd -T leave both out.
    Downloads
  • napalm-device-types 4.49.0
    driver / standard (push) Successful in 16s
    driver / lint (push) Successful in 14s
    driver / types (push) Successful in 1m0s
    driver / test (3.12) (push) Successful in 1m15s
    driver / test (3.13) (push) Successful in 1m11s
    driver / lowest (push) Successful in 42s
    driver / build (push) Successful in 32s
    driver / security (push) Successful in 1m15s
    driver / publish (push) Successful in 29s
    CI / driver (push) Successful in 4m29s
    Stable

    christianmanivong released this 2026-11-28 02:16:02 +00:00 | 47 commits to main since this release

    Added

    • RadioStatusDict carries a radio's runtime state beside its configuration
      (NetOrk/netork#31): up (the radio runs), pending (the device is still bringing it
      up or down) and setup_failed (the device gave up bringing it up after its retries).
      All three are 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.
    Downloads
  • napalm-device-types 4.48.0
    driver / types (push) Successful in 52s
    driver / standard (push) Successful in 15s
    driver / lint (push) Successful in 14s
    driver / test (3.12) (push) Successful in 1m10s
    driver / test (3.13) (push) Successful in 1m2s
    driver / lowest (push) Successful in 35s
    driver / build (push) Successful in 25s
    driver / security (push) Successful in 53s
    driver / publish (push) Successful in 25s
    CI / driver (push) Successful in 2m58s
    Stable

    christianmanivong released this 2026-11-28 01:52:01 +00:00 | 50 commits to main since this release

    Added

    • HardeningMixin.get_hardening(): how a Linux host is hardened, read with one fixed,
      read-only command (NetOrk/netork#2706). The active security modules
      (/sys/kernel/security/lsm), SELinux's mode (getenforce, else
      /sys/fs/selinux/enforce) and its configured mode (SELINUX= in /etc/selinux/config),
      AppArmor's switch and, as root, its profiles per mode (aa-status --json), the crypto
      policy (update-crypto-policies --show) and FIPS mode (/proc/sys/crypto/fips_enabled),
      the kernel's text for each file under /sys/devices/system/cpu/vulnerabilities, the
      kernel command line with mitigations= (auto when not given) and nosmt, and
      ID/ID_LIKE from /etc/os-release. Read as root first; where root is refused, as the
      login user, without the profile counts. Anything not read is None, never "off". A
      driver supplies _run_hardening_command(command, *, privileged).
    • parse_hardening, HARDENING_COMMAND, cpu_vulnerability_state (not_affected,
      mitigated, vulnerable or unknown, from the kernel's words), and the
      HardeningDict, SelinuxDict and AppArmorDict shapes (in hardening).
    Downloads