[pdm-devel] [PATCH datacenter-manager/proxmox/yew-comp 0/6] add node status panel to proxmox datacenter manager

Shannon Sterz s.sterz at proxmox.com
Thu Nov 6 13:43:28 CET 2025


this series adds a node status panel as a widget for a view to proxmox
datacenter manager. it allows for getting a rough overview of system
load as well as accessing the node's fingerprint and rebooting and
powering off the node.

the fist patch moves the api endpoints from proxmox-backup server to
their own proxmox-rs crate. the next two commits extend yew-comp to
allow implementing a node status panel of the newly extracted api
endpoints return types.

the next three commits first add the new api endpoints to proxmox
datacenter manager, add the ui panel as a widget type and remove a
suproflous macro.

Changelog
---------

changes since v1:

- move the node status panel to its own widget type in pdm
- properly import api feature (thanks @ Dominik Csapak)
- smaller clean ups (thanks @ Dominik Csapak)

proxmox:

Shannon Sterz (1):
  node-status: add node status crate

 Cargo.toml                               |   1 +
 proxmox-node-status/Cargo.toml           |  37 +++++
 proxmox-node-status/debian/changelog     |   5 +
 proxmox-node-status/debian/control       |  65 ++++++++
 proxmox-node-status/debian/copyright     |  18 +++
 proxmox-node-status/debian/debcargo.toml |   7 +
 proxmox-node-status/src/api.rs           | 184 +++++++++++++++++++++++
 proxmox-node-status/src/lib.rs           |  11 ++
 proxmox-node-status/src/types.rs         | 184 +++++++++++++++++++++++
 9 files changed, 512 insertions(+)
 create mode 100644 proxmox-node-status/Cargo.toml
 create mode 100644 proxmox-node-status/debian/changelog
 create mode 100644 proxmox-node-status/debian/control
 create mode 100644 proxmox-node-status/debian/copyright
 create mode 100644 proxmox-node-status/debian/debcargo.toml
 create mode 100644 proxmox-node-status/src/api.rs
 create mode 100644 proxmox-node-status/src/lib.rs
 create mode 100644 proxmox-node-status/src/types.rs


proxmox-yew-comp:

Shannon Sterz (2):
  node info: extend NodeStatus enum to include NodeStatus from
    proxmox-rs
  node status panel: add a panel that show the current status of a node

 Cargo.toml               |   1 +
 src/lib.rs               |   3 +
 src/node_info.rs         |  38 ++++++
 src/node_status_panel.rs | 246 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 288 insertions(+)
 create mode 100644 src/node_status_panel.rs


proxmox-datacenter-manager:

Shannon Sterz (3):
  api-types/api: add endpoints for querying the node's status
  ui: add NodeStatusPanel to the administration menu
  nodes: remove unnecessary rustfmt::skip macro

 Cargo.toml                                    |  2 ++
 lib/pdm-api-types/src/acl.rs                  |  2 ++
 server/Cargo.toml                             |  1 +
 server/src/api/nodes/mod.rs                   |  3 ++-
 server/src/api/nodes/status.rs                | 18 ++++++++++++++++++
 server/src/bin/proxmox-datacenter-api/main.rs |  2 ++
 ui/src/administration/mod.rs                  |  4 +++-
 ui/src/dashboard/types.rs                     |  1 +
 ui/src/dashboard/view.rs                      | 15 ++++++++++++++-
 9 files changed, 45 insertions(+), 3 deletions(-)
 create mode 100644 server/src/api/nodes/status.rs


Summary over all repositories:
  22 files changed, 845 insertions(+), 3 deletions(-)

--
Generated by git-murpp 0.8.1




More information about the pdm-devel mailing list