public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pdm-devel] [PATCH proxmox{, -datacenter-manager, -yew-comp} v2 0/4] make security groups expandable in firewall rules list
@ 2025-12-17 16:17 Hannes Laimer
  2025-12-17 16:17 ` [pdm-devel] [PATCH proxmox v2 1/2] pve-api-types: add security group GET endpoints Hannes Laimer
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Hannes Laimer @ 2025-12-17 16:17 UTC (permalink / raw)
  To: pdm-devel

Currently we don't really know what a security group actually contains,
in the list currently it's a bit of a black box what a group actually
does. Finding out what rules it contains is a little cumbersome. This
should make that easier. It seemed like a good place too, I considerd an
extra tab maybe. But especially for read-only I think this is better.

v2, thanks @Lukas:
 - show positions of rules in groups as `3.1`
 - highlight rules in groups and add small visual hint so it is clear
   these rules are part of the group
 - add placeholder for groups with no rules
 - split the rename into a small, separate series[1]
 - generally reworked code a little

(this does depend on [1], it uses the re-named name)

[1] https://lore.proxmox.com/pdm-devel/20251217150831.199100-1-h.laimer@proxmox.com/T/#t 

proxmox:

Hannes Laimer (2):
  pve-api-types: add security group GET endpoints
  pve-api-types: regenerate

 pve-api-types/generate.pl            |   5 +
 pve-api-types/src/generated/code.rs  |  77 ++++++-
 pve-api-types/src/generated/types.rs | 294 +++++++++++++++------------
 3 files changed, 234 insertions(+), 142 deletions(-)


proxmox-datacenter-manager:

Hannes Laimer (1):
  api: firewall: add pve firewall security group GET endpoints

 server/src/api/pve/firewall.rs | 65 ++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)


proxmox-yew-comp:

Hannes Laimer (1):
  firewall: rules: make security group entries expandable

 src/firewall/context.rs |  12 ++
 src/firewall/rules.rs   | 384 +++++++++++++++++++++++++++++++++++++---
 2 files changed, 369 insertions(+), 27 deletions(-)


Summary over all repositories:
  6 files changed, 668 insertions(+), 169 deletions(-)

-- 
Generated by git-murpp 0.8.1


_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [pdm-devel] [PATCH proxmox{, -datacenter-manager} v2 0/5] Add support for network resource type.
@ 2025-11-13 16:20 Stefan Hanreich
  2025-11-13 16:20 ` [pdm-devel] [PATCH proxmox v2 2/2] pve-api-types: regenerate Stefan Hanreich
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Hanreich @ 2025-11-13 16:20 UTC (permalink / raw)
  To: pdm-devel

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].

Changes from v1 to v2:
* kebab-cased zone-type
* dropped applied patches
* rebased on top of current master

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

proxmox:

Stefan Hanreich (2):
  pve-api-types: update /cluster/resources endpoint
  pve-api-types: regenerate

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


proxmox-datacenter-manager:

Stefan Hanreich (3):
  resources: views: 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 +-
 server/src/views/mod.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 +++++++++++--------
 13 files changed, 275 insertions(+), 127 deletions(-)


Summary over all repositories:
  15 files changed, 278 insertions(+), 129 deletions(-)

-- 
Generated by git-murpp 0.8.0

_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-12-17 16:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-17 16:17 [pdm-devel] [PATCH proxmox{, -datacenter-manager, -yew-comp} v2 0/4] make security groups expandable in firewall rules list Hannes Laimer
2025-12-17 16:17 ` [pdm-devel] [PATCH proxmox v2 1/2] pve-api-types: add security group GET endpoints Hannes Laimer
2025-12-17 16:18 ` [pdm-devel] [PATCH proxmox v2 2/2] pve-api-types: regenerate Hannes Laimer
2025-12-17 16:18 ` [pdm-devel] [PATCH proxmox-datacenter-manager v2 1/1] api: firewall: add pve firewall security group GET endpoints Hannes Laimer
2025-12-17 16:18 ` [pdm-devel] [PATCH proxmox-yew-comp v2 1/1] firewall: rules: make security group entries expandable Hannes Laimer
  -- strict thread matches above, loose matches on Subject: below --
2025-11-13 16:20 [pdm-devel] [PATCH proxmox{, -datacenter-manager} v2 0/5] Add support for network resource type Stefan Hanreich
2025-11-13 16:20 ` [pdm-devel] [PATCH proxmox v2 2/2] pve-api-types: regenerate Stefan Hanreich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal