Files
Pulse/internal/mock
rcourtman 102d7346ad Make mock data state how its containers and hosts are connected
The map draws a connection only from a collected value that names both
ends: a container's network mode, Traefik's router labels, a host's
default gateway. Mock data reported none of them, so the public demo,
which runs on it, showed a map with no connection and no router.

Mock data now carries them in the shape a real agent reports:

- Every container reports a network mode.
- On the demo's edge host the Traefik container routes four apps: each
  carries router labels and shares a network with that proxy and with
  no other, so the labels name one proxy.
- On the ops host a VPN container carries two others, which report
  network mode container:<id> and, having no network of their own, no
  networks and no published ports.
- Every Linux host reports the first address of its subnet as its
  default gateway and resolver. Windows and macOS hosts report neither,
  as the agent reads them on Linux only.
- The nodes of one Kubernetes cluster now sit on one subnet. Each had a
  random one, which gave every node a gateway of its own.

On a demo-shaped estate the map then shows the VPN among the ways in,
the gateways beside them, "via partner-vpn" and the routed hostnames
under their tiles, and marks the other end of each on hover.

Contract-Neutral: fixture data only. What monitoring collects, how the poller shapes it and the fixture budgets the performance contract states are unchanged; the mock now fills three fields real agents already report.
2026-11-18 22:12:31 +00:00
..
2026-10-11 22:20:25 +01:00
2026-06-03 12:29:37 +01:00