all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pdm-devel] [PATCH datacenter-manager 0/2] fix PDM migrate endpoints
@ 2025-11-18 12:21 Hannes Laimer
  2025-11-18 12:21 ` [pdm-devel] [PATCH datacenter-manager 1/2] Revert "server: use types indead of string for migration parameters" Hannes Laimer
  2025-11-18 12:21 ` [pdm-devel] [PATCH datacenter-manager 2/2] api: migrate: use arrays for storage and bridge mappings Hannes Laimer
  0 siblings, 2 replies; 3+ messages in thread
From: Hannes Laimer @ 2025-11-18 12:21 UTC (permalink / raw)
  To: pdm-devel

dbb8524 tried to directly reuse the PVE api types for migration, this
however won't really work how its done there, this reverts the commit.
And instead of directly reusing the PVE api type we keep the endpoint
args as-is and just change the mapping field to accept a Vec instead of
a String. The problem was the `target-endpoint` the PVE api type needs,
this differs from what the PDM endpoint wants. More details on the
commits.

Hannes Laimer (2):
  Revert "server: use types indead of string for migration parameters"
  api: migrate: use arrays for storage and bridge mappings

 lib/pdm-client/src/lib.rs  |  31 ++++----
 server/src/api/pve/lxc.rs  | 148 +++++++++++++++++++++++++++++-------
 server/src/api/pve/qemu.rs | 150 ++++++++++++++++++++++++++++++-------
 3 files changed, 255 insertions(+), 74 deletions(-)

-- 
2.47.3



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


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

end of thread, other threads:[~2025-11-18 12:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-18 12:21 [pdm-devel] [PATCH datacenter-manager 0/2] fix PDM migrate endpoints Hannes Laimer
2025-11-18 12:21 ` [pdm-devel] [PATCH datacenter-manager 1/2] Revert "server: use types indead of string for migration parameters" Hannes Laimer
2025-11-18 12:21 ` [pdm-devel] [PATCH datacenter-manager 2/2] api: migrate: use arrays for storage and bridge mappings Hannes Laimer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal