Validate Proxmox observations, evaluate scheduled backups and link VMs to their Proxmox host
Rust development slice / linux (push) Failing after 15s

linux.proxmox gets a strict validator and a 128 KiB scope budget. Device
details expose guests, backup jobs with ok/failed/missed/running status and
linked devices. Base snapshots reconcile unique guest MACs into
assets.hypervisor_asset_id with hypervisor_source='proxmox'; manual choices
are kept and can be handed back to automatic detection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 12:10:35 +01:00
co-authored by Claude Opus 5.5
parent 1d2d52847c
commit 70977df577
12 changed files with 597 additions and 10 deletions
+10
View File
@@ -0,0 +1,10 @@
SET LOCAL lock_timeout = '3s';
SET LOCAL statement_timeout = '30s';
-- NULL: no automatic decision yet, 'proxmox': set from a Proxmox host's guest list,
-- 'manual': chosen by a person and never overwritten by automatic detection.
ALTER TABLE assets
ADD COLUMN hypervisor_source text,
ADD CONSTRAINT assets_hypervisor_source_check
CHECK (hypervisor_source IN ('manual','proxmox'));
UPDATE assets SET hypervisor_source='manual' WHERE hypervisor_asset_id IS NOT NULL;
GRANT UPDATE (hypervisor_source) ON assets TO rmm_app;