feat: map hypervisor clusters to NetBox clusters automatically

- Read the vCenter/ESXi compute resource and the Proxmox cluster name
  (node name when standalone) for every VM
- Match each hypervisor cluster to a NetBox cluster by name, normalized
  name or unique similarity; remember manual choices per profile and
  offer to create missing clusters (with cluster type)
- Import wizard: per-cluster mapping table instead of a single cluster,
  tenant prefilled from the mapped clusters, review shows the mapping
- Show the hypervisor cluster in the VM table

fix: graphic glitches
- Empty state text no longer clipped by the buttons
- Combo boxes open a plain drop-down list instead of the overlay popup
- Status bar badges keep their height and no longer get cut off

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-10-12 15:24:00 +02:00
1 parent 4878275f2a
commit c3b5fb547e
12 files changed
+300 -50

No files matched your search

+4 -1
View File
@@ -29,7 +29,10 @@ Bestehende Kundenprofile der Vorgängerversion („NetBox VM Import“) werden a
- Mehrere VMware- und Proxmox-Quellen pro Profil, parallel ausgelesen; Verbindungstest direkt im Dialog
- QEMU/KVM-VMs und optional LXC-Container; IP-Adressen über VMware Tools bzw. QEMU Guest Agent
- Tabelle mit Suche, Filtern (Quelle, Status, „neu“/„bereits in NetBox“) und Mehrfachauswahl
- Import-Assistent in vier Schritten: **Ziel** (Cluster, Mandant aus dem Cluster vorausgewählt, VRF oder global)
- Automatische Cluster-Zuordnung: Jeder vCenter-/ESXi- bzw. Proxmox-Cluster wird dem gleichnamigen (oder eindeutig
ähnlichen) NetBox-Cluster zugeordnet; manuelle Zuordnungen merkt sich das Kundenprofil, fehlende Cluster können
direkt in NetBox angelegt werden
- Import-Assistent in vier Schritten: **Ziel** (Cluster-Zuordnung, Mandant aus dem Cluster vorausgewählt, VRF oder global)
→ **Netzwerke** (fehlende Präfixe mit Größe und VRF prüfen, neue VRFs direkt anlegen)
→ **Prüfen** (Zusammenfassung aller Änderungen) → **Import** (Fortschritt, Live-Protokoll, Abbrechen)
- VMs werden pro Cluster eindeutig zugeordnet; vorhandene Präfixe werden wiederverwendet