[pdm-devel] [PATCH proxmox{, -datacenter-manager} 0/6] Add support for network resource type.

Stefan Hanreich s.hanreich at proxmox.com
Fri Nov 7 15:40:05 CET 2025


The patch series [1] introduced a new resource type for network entities. This
patch series implements support for handling this new resource type in the
backend, as well as the frontend. The backend can now handle both formats and
maps them to the same Resource internally.

Without this patch series applied, PDM cannot handle any Proxmox VE remotes,
that have the patch series in [1] applied.

A new match category is also introduced, in order to be able to filter for
specific network types in the UI / API.

For more information about the new resource type see the respective patch
series [1].

pre-build packages available on sani: `network-resources-pdm`

[1] https://lore.proxmox.com/pve-devel/20251107143201.689035-1-s.hanreich@proxmox.com/T/

proxmox:

Stefan Hanreich (3):
  pve-api-types: update /cluster/resources endpoint
  pve-api-types: regenerate
  pve-api-types: extend ClusterResourceNetworkType

 pve-api-types/pve-api.json           | 27 +++++++++++++++-
 pve-api-types/src/generated/types.rs | 48 ++++++++++++++++++++++++++++
 pve-api-types/src/sdn.rs             | 11 ++++++-
 3 files changed, 84 insertions(+), 2 deletions(-)


proxmox-datacenter-manager:

Stefan Hanreich (3):
  resources: support new pve network resource type
  resources: api: add network type match category
  ui: use new network resource type

 cli/client/src/resources.rs                  |   9 +-
 lib/pdm-api-types/src/resource.rs            | 115 +++++++++++-----
 lib/pdm-client/src/lib.rs                    |   2 +
 server/src/api/resources.rs                  |  98 ++++++++++---
 server/src/metric_collection/top_entities.rs |   2 +-
 ui/src/dashboard/sdn_zone_panel.rs           |   7 +-
 ui/src/lib.rs                                |   6 +-
 ui/src/pve/remote.rs                         |   2 +-
 ui/src/pve/tree.rs                           |   2 +-
 ui/src/pve/utils.rs                          |  14 +-
 ui/src/renderer.rs                           |   7 +-
 ui/src/sdn/zone_tree.rs                      | 136 +++++++++++--------
 12 files changed, 274 insertions(+), 126 deletions(-)


Summary over all repositories:
  15 files changed, 358 insertions(+), 128 deletions(-)

-- 
Generated by git-murpp 0.8.0



More information about the pdm-devel mailing list