From: Hannes Laimer <h.laimer@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH datacenter-manager 0/2] fix PDM migrate endpoints
Date: Tue, 18 Nov 2025 13:21:03 +0100 [thread overview]
Message-ID: <20251118122105.119918-1-h.laimer@proxmox.com> (raw)
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
next reply other threads:[~2025-11-18 12:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-18 12:21 Hannes Laimer [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251118122105.119918-1-h.laimer@proxmox.com \
--to=h.laimer@proxmox.com \
--cc=pdm-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.