Commit Graph
3 Commits
Author SHA1 Message Date
evangelostsak 327ec01bf5 refactor: drop rationale and narration from utils/networks/mesh.py 2026-10-16 19:10:01 +02:00
evangelostsak d8d59ffdac feat(mesh): tell which peers an interface dials and whether it listens
A spoke dials its hub and does not listen, the hub listens and dials nobody,
and a member of a full mesh, which is neither a hub nor peered with one,
listens and dials every peer. The role reads these instead of testing is_hub
inline, so a full mesh needs no field the swarm inventory does not carry.
2026-10-16 03:40:15 +02:00
evangelostsak 870b62b74e feat(networks): one reader for the WireGuard meshes of an inventory
Answers what every mesh consumer asks: which meshes the hub's
svc-net-wireguard.networks.meshes declares, which meshes a host joins
through the networks.meshes of the roles it carries, and what a host holds
on them in svc-net-wireguard.networks.interfaces. Every role ships these
lists empty, so the values exist only in a deployment's inventory.
2026-10-14 15:03:40 +02:00