Keep what an adopted node reports holding, the firewall it found and what is reachable on it (hq ADR 0100)

This commit is contained in:
2026-09-22 17:23:09 +02:00
parent c3b1617693
commit 28894fa5bd
7 changed files with 253 additions and 2 deletions
@@ -0,0 +1,12 @@
-- What an adopted node last reported about adoption (novox/hq ADR 0100): the files and containers
-- it found and holds until their module is taken, the firewall it found, and what is reachable on
-- the machine now — which converging it previews, so nothing closes without being named first.
--
-- The last report, replaced, like what a node owns: the question is the machine as it is now.
-- Kept apart from node_report because a node reports it on its own schedule, when what it holds
-- changes, and not only after an apply.
alter table node add column held jsonb;
alter table node add column firewall text;
alter table node add column reachable jsonb;
alter table node add column adoption_reported timestamptz;