feat: read the node's listening sockets through napalm-device-types #11

Merged
christianmanivong merged 1 commits from feat/listening-sockets into master 2026-10-06 16:20:13 +00:00
Owner

ProxmoxDriver mixes in ListeningSocketsMixin (napalm-device-types 2.4.0, NAPALM/napalm-device-types#7) and carries the command over the exec path, which runs as root either way — so every reading is attributed.

Requires napalm_device_types>=2.4.0.

Tests: tests/test_listening_sockets.py (contract; a pveproxy worker on *:8006 read over the exec path as one sh -c). Whole suite: 291 passed.

For NetOrk/netork#658.

`ProxmoxDriver` mixes in `ListeningSocketsMixin` (napalm-device-types 2.4.0, NAPALM/napalm-device-types#7) and carries the command over the exec path, which runs as root either way — so every reading is attributed. Requires `napalm_device_types>=2.4.0`. Tests: `tests/test_listening_sockets.py` (contract; a `pveproxy worker` on `*:8006` read over the exec path as one `sh -c`). Whole suite: 291 passed. For NetOrk/netork#658.
christianmanivong added 1 commit 2026-10-06 16:20:06 +00:00
ProxmoxDriver mixes in ListeningSocketsMixin (napalm-device-types 2.4.0)
and carries its command over the exec path, which runs as root either
way: whether pveproxy, a Ceph manager or anything else on the node listens
on an address reachable from outside it.

For netOrk#658.
christianmanivong merged commit 171ab8888f into master 2026-10-06 16:20:13 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-proxmox#11