Commit Graph
3 Commits
Author SHA1 Message Date
evangelostsak c249df361a refactor: drop rationale and narration from plugins/lookup/mesh_ranges.py 2026-10-16 19:10:00 +02:00
evangelostsak 2431ee2ba0 fix(lookup): render the mesh pool before returning it
A lookup is handed the play vars as declared, so WIREGUARD_SUBNET_POOLS
arrived as the literal '{{ [WIREGUARD_SUBNET_POOL] }}'. The NFS server put
that string into its export list, ganesha refused the config with
'Unexpected character ([)' and every meshed swarm pass failed at the restart.

The value is now templated, and one that is still a template afterwards fails
the lookup instead of reaching a config file.
2026-10-14 11:23:22 +02:00
evangelostsak b777b65e84 test(mesh): hold the planning guarantees at any mesh count
The guarantees were asserted against the declared swarm and data pair,
so they proved two meshes work rather than that the planner works. A
deployment declares its own, and the review asks for any number of them with
the nodes arranged however the client wants.

The same invariants now run over generated topologies: one to eight meshes,
three arrangements each, hosts dealt out so some belong to several meshes and
some to none. 2247 subtests, four seconds, and the planner needed no change to
pass them.
2026-10-13 19:36:43 +02:00