Agent: translate per-device routing long-tail #5

Merged
benvin merged 1 commits from benvin/agent-longtail-routing into main 2026-07-26 15:09:15 +10:00
Owner

Why

Paired with tomswallapi batch 2, which renders hosts/providers/routes/routing_rules into device configs. The agent must map them into native tomswall config.

Changes

  • Add rendered types (host/provider/route/routing_rule) and translate them to config.Host/Provider/StaticRoute/RoutingRule. The route egress interface (oif) maps to StaticRoute.Device.

Pairs with

tomswallapi #10 (renders the per-device routing sections).

## Why Paired with tomswallapi batch 2, which renders hosts/providers/routes/routing_rules into device configs. The agent must map them into native tomswall config. ## Changes - Add rendered types (host/provider/route/routing_rule) and translate them to config.Host/Provider/StaticRoute/RoutingRule. The route egress interface (`oif`) maps to StaticRoute.Device. ## Pairs with tomswallapi #10 (renders the per-device routing sections).
unkinben added 1 commit 2026-07-26 13:02:19 +10:00
Agent: translate per-device routing long-tail (hosts/providers/routes/routing_rules)
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
59e8320dda
Map the rendered hosts/providers/routes/routing_rules sections into native
tomswall config (config.Host/Provider/StaticRoute/RoutingRule). The route's
egress interface (oif) maps to StaticRoute.Device.
benvin merged commit 9fd300652f into main 2026-07-26 15:09:15 +10:00
benvin deleted branch benvin/agent-longtail-routing 2026-07-26 15:09:15 +10:00
Sign in to join this conversation.