Proxmox VE sync¶
Danbyte imports a Proxmox cluster's inventory into the existing cluster/VM model — agentless, over the Proxmox REST API. Enable the Virtualization sync toggle and add a source under Integrations → Virtualization sources; see External sync for the shared ground rules.
The connection¶
- Host — any cluster node's address works: the API answers cluster-wide.
Default API port
8006. - Auth — an API token (Datacenter → Permissions → API Tokens);
the
PVEAuditorrole is enough for read sync. The secret is encrypted at rest and write-only. - Test connection reports the reachable node count and API version.
What syncs in¶
| Proxmox object | Danbyte object |
|---|---|
| Cluster | Cluster (a Proxmox VE cluster type is created on demand) |
| QEMU / LXC guest | Virtual machine (vCPUs, memory, disk, description) |
Guest tags (prod;web) |
Tags (added, never removed; colors from the cluster's tag color-map, blank-fill only) |
| Notes | Description (blank-filled, never overwrites yours) |
Guest NIC (netX) |
VM interface with its MAC |
Disk (scsiN/virtioN/…) |
Virtual disk (name, size, storage, controller) — opt-in |
Bridge + VLAN tag (vmbr0,tag=42) |
VLAN (in the source's VLAN group) + the interface's access VLAN — opt-in |
| Bridge / OVS switch | Virtual switch — opt-in |
| Guest-agent IP | IP address assigned to the interface |
| Node | linked to the Device of the same name |
Guest identity uses the Proxmox integer VMID as the stable id.
Disks, virtual switches and networks (opt-in)¶
Two per-source switches widen what a source imports:
- Sync disks (on by default) — each VM's virtual disks become Virtual disk rows (shown on the VM's Overview): name, size, storage pool, and controller. Optical drives are skipped.
- Sync virtual switches & networks (off by default) — bridges / OVS switches become Virtual switch rows, and each VLAN-tagged network becomes a VLAN in a VLAN group named after the source. A VM interface's access VLAN is blank-filled from the bridge tag (never overwriting a VLAN you set).
Once networks are synced, each virtual switch page has a Networks tab and Virtualization → Network topology draws the whole picture — switches, their networks (VLANs) as bars, and the VMs on each.
Uplinks — filled automatically¶
A switch's Uplinks · physical adapters link the switch to the real host
NICs. For Proxmox these are filled automatically: each bridge's
bridge_ports are matched to the node Device's interfaces — a cluster-wide
bridge collects the ports from every host (the multi-hypervisor case). The
node must be modelled as a Device with those interfaces; matching is additive
and never removes an uplink you set.
Sync mode — who is the source of truth¶
- Automatic (mirror) — the sync applies everything on a schedule: new VMs created, specs updated, vanished guests removed. Proxmox is the source of truth.
- Review (default) — polls on a schedule but only detects; changes land in a review inbox and apply on Accept. Danbyte stays the source of truth.
- Manual — like Review, but detection runs only when you press Sync.
A new source defaults to Review, so a fresh connection never reshapes your inventory before you've seen what it would do.
What each side owns¶
- Proxmox owns a VM's existence, its node, power state, and — in Automatic mode — its specs (vCPU/RAM/disk).
- You own everything else: role, platform, tags, custom fields, description, site, and the primary-IP choice. The sync never overwrites those in any mode.
Rules:
- VMs, interfaces and IPs you already have are linked and blank-filled, never overwritten — and never deleted by sync. Only sync-created objects are removed (Automatic) or offered as removals (Review/Manual) when their guest disappears.
- Guest IPs come from the QEMU guest agent, so they only appear for running VMs with the agent installed. An IP is only created when a containing prefix already exists — sync never invents address space. The first private IPv4 becomes the VM's primary IP (if it had none).
- VM templates are skipped; the sync is read-only — Danbyte never changes the hypervisor.
Virtual routers become monitorable
Once a virtual router's IP is synced, the monitoring engine can check and SNMP-poll it like any other address — no special handling needed.
See also¶
- VMware vCenter sync — the sibling connector.
- External sync — toggles, allowlist, where things live.