From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <pdm-devel-bounces@lists.proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
	by lore.proxmox.com (Postfix) with ESMTPS id BAC1C1FF18E
	for <inbox@lore.proxmox.com>; Mon, 13 Jan 2025 16:46:40 +0100 (CET)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id 35D6B4FB0;
	Mon, 13 Jan 2025 16:46:24 +0100 (CET)
From: Dominik Csapak <d.csapak@proxmox.com>
To: pdm-devel@lists.proxmox.com
Date: Mon, 13 Jan 2025 16:45:39 +0100
Message-Id: <20250113154550.3462139-1-d.csapak@proxmox.com>
X-Mailer: git-send-email 2.39.5
MIME-Version: 1.0
X-SPAM-LEVEL: Spam detection results:  0
 AWL 0.014 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DMARC_MISSING             0.1 Missing DMARC policy
 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to
 Validity was blocked. See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more
 information.
 RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to
 Validity was blocked. See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more
 information.
 RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to
 Validity was blocked. See
 https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more
 information.
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
Subject: [pdm-devel] [PATCH proxmox-api-types/datacenter-manager] remote
 migration: make target endpoint selectable
X-BeenThere: pdm-devel@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox Datacenter Manager development discussion
 <pdm-devel.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pdm-devel>, 
 <mailto:pdm-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pdm-devel/>
List-Post: <mailto:pdm-devel@lists.proxmox.com>
List-Help: <mailto:pdm-devel-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel>, 
 <mailto:pdm-devel-request@lists.proxmox.com?subject=subscribe>
Reply-To: Proxmox Datacenter Manager development discussion
 <pdm-devel@lists.proxmox.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: pdm-devel-bounces@lists.proxmox.com
Sender: "pdm-devel" <pdm-devel-bounces@lists.proxmox.com>

since we cannot currently select a target node for remote migration
(to avoid another network transfer of disks) the target of the
remote migration is always the given endpoint.

Currently pdm auto selects always the first configured endpoint, this
series makes this now user configurable.

proxmox-api-types:

Dominik Csapak (2):
  add more network interface methods
  add cluster status api call

 pve-api-types/generate.pl            |   7 ++
 pve-api-types/src/generated/code.rs  |  12 ++-
 pve-api-types/src/generated/types.rs | 120 +++++++++++++++++++++++++++
 3 files changed, 138 insertions(+), 1 deletion(-)

proxmox-datacenter-manager:

Dominik Csapak (9):
  server: factor qemu/lxc code into own modules
  server: api: fix remote upid tracking for qemu remote migration
  server: connection: add new function that allows for explicit endpoint
  server: api: add target-endpoint parameter to remote migrate api calls
  server: api: pve: add remote cluster-status api call
  pdm-client: add cluster status method
  pdm-client: add target-endpoint parameter to remote migration methods
  ui: widget: add remote endpoint selector
  ui: migrate: make target endpoint selectable for remote migration

 lib/pdm-client/src/lib.rs                 |   20 +
 server/src/api/pve/lxc.rs                 |  522 ++++++++++
 server/src/api/pve/mod.rs                 | 1064 +--------------------
 server/src/api/pve/qemu.rs                |  567 +++++++++++
 server/src/connection.rs                  |   61 +-
 ui/src/widget/migrate_window.rs           |   68 +-
 ui/src/widget/mod.rs                      |    2 +
 ui/src/widget/remote_endpoint_selector.rs |  103 ++
 8 files changed, 1373 insertions(+), 1034 deletions(-)
 create mode 100644 server/src/api/pve/lxc.rs
 create mode 100644 server/src/api/pve/qemu.rs
 create mode 100644 ui/src/widget/remote_endpoint_selector.rs

-- 
2.39.5



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