feat: add vm power actions

This commit is contained in:
Philipp
2026-06-11 11:29:29 +02:00
parent 262ec4f91b
commit d08e41b013
14 changed files with 541 additions and 16 deletions
+8
View File
@@ -144,6 +144,13 @@ Arbeitsliste auf Basis von `proxmox-console-entwicklungsplan.md`. Die Entwurfsda
- [x] SQL-Queries joinen immer ueber `projects` und `memberships`
- [x] Nicht-Mitglieder erhalten keine VM-Daten
- [x] Handler-Tests fuer sichtbare und unsichtbare VMs angelegt
- [x] E5-T02: Power-Aktionen
- [x] `POST /vms/{vmID}/start` angelegt
- [x] `POST /vms/{vmID}/stop` angelegt
- [x] `POST /vms/{vmID}/reboot` angelegt
- [x] `vm.power` wird anhand der Membership-Rolle geprueft
- [x] Proxmox-Call liefert UPID und queued `proxmox.task.poll`
- [x] Audit-Log-Eintrag fuer ausgeloeste Power-Aktion wird geschrieben
## MVP-Backlog
@@ -205,3 +212,4 @@ Arbeitsliste auf Basis von `proxmox-console-entwicklungsplan.md`. Die Entwurfsda
- 2026-06-11: UPID-Polling-Job mit VM-Status-Update, Audit-Writer und Mock-Proxmox-Tests angelegt.
- 2026-06-11: Shared Cluster-/Krypto-/Proxmox-Packages nach `platform/` verschoben und Worker-UPID-Polling an echte Cluster-Aufloesung angeschlossen.
- 2026-06-11: VM-Read-Endpunkte fuer Projekt-Listen und Details mit Membership-gefilterten Queries angelegt.
- 2026-06-11: VM-Power-Endpunkte fuer start/stop/reboot mit Proxmox-UPID, Queue-Enqueue und Audit-Write angelegt.