Add Proxmox VE sync support

This commit is contained in:
2026-07-10 11:06:12 +02:00
parent 36f158b108
commit 847cc13a8f
16 changed files with 569 additions and 50 deletions
+20
View File
@@ -16,3 +16,23 @@ class SyncStatusChoices(ChoiceSet):
(STATUS_SUCCESS, _("Success"), "green"),
(STATUS_FAILED, _("Failed"), "red"),
]
class EndpointProviderChoices(ChoiceSet):
PROVIDER_VMWARE = "vmware"
PROVIDER_PROXMOX = "proxmox"
CHOICES = [
(PROVIDER_VMWARE, _("VMware vSphere"), "blue"),
(PROVIDER_PROXMOX, _("Proxmox VE"), "orange"),
]
class EndpointAuthMethodChoices(ChoiceSet):
METHOD_PASSWORD = "password"
METHOD_API_TOKEN = "api_token"
CHOICES = [
(METHOD_PASSWORD, _("Username/password"), "blue"),
(METHOD_API_TOKEN, _("API token"), "green"),
]