feat(logins): get_login_sessions on PVE and PBS, 0.21.0 (NetOrk/netork#2881) #83

Merged
christianmanivong merged 1 commits from feature/login-sessions into main 2026-12-01 09:32:59 +00:00
Owner

get_login_sessions() on ProxmoxDriver and ProxmoxBackupDriver through napalm-device-types' LoginSessionsMixin (4.55.0, NAPALM/napalm-device-types feature/login-sessions), for NetOrk/netork#2881.

  • Over the node's exec path (_exec_ssh_command), where SSH_CONNECTION names the driver's own address. A shell opened through the web interface (termproxy's login) is recorded without an address and reads as a console login.
  • An API-token-only node has no SSH login and raises, as the other SSH readings do.
  • Requires napalm_device_types>=4.55.0: merge after the device-types PR.
`get_login_sessions()` on `ProxmoxDriver` and `ProxmoxBackupDriver` through napalm-device-types' `LoginSessionsMixin` (4.55.0, NAPALM/napalm-device-types `feature/login-sessions`), for NetOrk/netork#2881. - Over the node's exec path (`_exec_ssh_command`), where `SSH_CONNECTION` names the driver's own address. A shell opened through the web interface (termproxy's `login`) is recorded without an address and reads as a console login. - An API-token-only node has no SSH login and raises, as the other SSH readings do. - Requires `napalm_device_types>=4.55.0`: merge after the device-types PR.
christianmanivong added 1 commit 2026-12-01 08:41:47 +00:00
feat(logins): get_login_sessions on PVE and PBS, 0.21.0 (NetOrk/netork#2881)
driver / standard (pull_request) Successful in 15s
driver / lint (pull_request) Successful in 17s
driver / lowest (pull_request) Successful in 41s
driver / test (3.12) (pull_request) Successful in 1m6s
driver / test (3.13) (pull_request) Successful in 58s
driver / types (pull_request) Successful in 1m13s
driver / build (pull_request) Successful in 25s
driver / security (pull_request) Successful in 1m18s
CI / driver (pull_request) Successful in 2m18s
driver / publish (pull_request) Skipped
3d661e0b3f
napalm-device-types' LoginSessionsMixin over the node's exec path: the
interactive logins the node recorded, someone's own ssh or the web
interface's shell, with the driver's own SSH client address.
christianmanivong merged commit ab1cac3833 into main 2026-12-01 09:32:59 +00:00
christianmanivong deleted branch feature/login-sessions 2026-12-01 09:32:59 +00:00
Sign in to join this conversation.