feat: get_service_packages, which packages a node's systemd unit is (NetOrk/netork#1236) #29

Merged
christianmanivong merged 1 commits from feat/service-packages-1236 into master 2026-10-19 17:08:13 +00:00
Owner

Summary

Mixes in napalm-device-types' new ServicePackagesMixin: get_service_packages() over the node's exec path, as for the kernel facts. NetOrk/netork#1236 phase 3 uses it so that a decision about one of the node's services (pveproxy, corosync, ...) reaches the host's findings on its packages.

Priority: P3

Changes

  • ProxmoxDriver gains ServicePackagesMixin; _run_service_packages_command is _exec_ssh_command. Read-only.
  • Requires napalm-device-types >= 4.20.0 (NAPALM/napalm-device-types, branch feat/service-packages-1236); version 0.6.0; CHANGELOG entry.

Related Issue

NetOrk/netork#1236 (phase 3).

Testing

tests/test_service_packages.py (3 tests: the contract, the shared command over the exec path, output without a report raises); whole suite: 338 passed (against the napalm-device-types branch).

Merge after the napalm-device-types PR, which this needs.

## Summary Mixes in napalm-device-types' new `ServicePackagesMixin`: `get_service_packages()` over the node's exec path, as for the kernel facts. NetOrk/netork#1236 phase 3 uses it so that a decision about one of the node's services (pveproxy, corosync, ...) reaches the host's findings on its packages. Priority: P3 ## Changes - `ProxmoxDriver` gains `ServicePackagesMixin`; `_run_service_packages_command` is `_exec_ssh_command`. Read-only. - Requires napalm-device-types >= 4.20.0 (NAPALM/napalm-device-types, branch `feat/service-packages-1236`); version 0.6.0; CHANGELOG entry. ## Related Issue NetOrk/netork#1236 (phase 3). ## Testing `tests/test_service_packages.py` (3 tests: the contract, the shared command over the exec path, output without a report raises); whole suite: 338 passed (against the napalm-device-types branch). Merge after the napalm-device-types PR, which this needs.
christianmanivong added 1 commit 2026-10-19 16:03:33 +00:00
feat: get_service_packages, which packages a node's systemd unit is (NetOrk/netork#1236)
CI / test (3.10) (pull_request) Successful in 42s
CI / test (3.11) (pull_request) Successful in 33s
CI / test (3.12) (pull_request) Successful in 37s
CI / test (3.10) (push) Successful in 53s
CI / test (3.11) (push) Successful in 46s
CI / test (3.12) (push) Successful in 43s
e0d0147d75
Mixes in napalm-device-types' ServicePackagesMixin; the transport is the
node's exec path, as for the kernel facts. Read-only. Requires
napalm-device-types 4.20.0; version 0.6.0.
christianmanivong merged commit 03c7cdfa02 into master 2026-10-19 17:08:13 +00:00
christianmanivong deleted branch feat/service-packages-1236 2026-10-19 17:08:13 +00:00
Sign in to join this conversation.