Commit Graph

13 Commits

Author SHA1 Message Date
Shawn Carey 8ab2bf0860 add l2 config types (#4051) 2026-10-13 14:25:41 -04:00
Paul Lorenz 48e4d4a224 Manage router link configuration via the controller. Fixes #4004
- adds a link ConfigHandler (router/link FactoryRegistry) that applies router.link.v1 config: Apply rebuilds the listener/dialer set wholesale, and established Xlinks survive because Listener.Close() only closes the accept loop
- translates local link: YAML into router.link.v1 JSON and pushes it through the managed-config registry at startup
- adds the UpdateLinkListeners ctrl message so the router republishes its listener set to the controller on change; the controller re-fans via the existing PeerStateChange path
- re-evaluates dialers on link group and listener changes via RescanForDialOpportunities

For #3743.
2026-08-13 15:37:24 -04:00
Paul Lorenz 1d6333a6c0 Add router.link.v1 config type. Fixes #3974 (#3975)
* Add router.link.v1 config type. Fixes #3974

- adds the built-in `router.link.v1` ConfigType with a JSON schema
  covering listeners, dialers, heartbeats, payload/ack sender queue
  sizes, and `gcMode` for auto-GC of stale links
- targets routers (`Target=router`) via the field added in #3743
- registers it for new databases via `createConfigType` in
  `initialize`, and for existing databases via a migration step that
  bumps the schema version 46 -> 47
- adds config-type-store tests covering registration, the router
  target, and migration-driven creation on existing databases
- documents the Phase 1c step in the controller-managed router
  configuration design doc

* Address review feedback on router.link.v1 config type. For #3974

- broadens the duration schema pattern to accept compound and fractional values (e.g. 1h30m, 1.5h) matching time.ParseDuration
- adds the gcMode schema property (enum preserve/orphaned/changed) to the built-in config type so its definition is complete where the type is created
- adds duration-format and gcMode validation test cases
- removes the now-unnecessary per-iteration loop variable copy in the reject-cases test
2026-06-16 16:38:13 -04:00
Paul Lorenz 2bf9808df6 Add target field to config types. Fixes #3744 2026-05-27 13:17:06 -04:00
Paul Lorenz 4df6ae564d Update package paths for newly imported storage and ziti-db-explorer packages 2026-04-16 09:18:55 -04:00
Kenneth Bingham b1fe18eb74 debug - migration collisions 2025-12-18 18:17:03 -05:00
Paul Lorenz 1b009643f7 Add host interfaces config type. Fixes #3269 2025-09-23 11:08:19 -04:00
Paul Lorenz db4e1c6365 Add proxy.v1 suport and add support to ER/T for it in proxy and tproxy interceptors. Fixes #3258 2025-09-23 11:08:18 -04:00
Paul Lorenz 4eae37a6ac Fix interfaces.v1 config type name. Fixes #3259 2025-09-23 11:08:18 -04:00
Paul Lorenz b43738530e Update go tunneler to support multiple interfaces. Fixes #3162 2025-07-28 11:53:28 -04:00
Shawn Carey aac5693f48 support address translation (#3023)
* support address translation

* update rendered host.v2 config-type

* remove stale comments

* fix changelog link
2025-05-05 09:42:56 -04:00
Shawn Carey 7bd0e5db58 add source ip filtering to intercept.v1 (#2962) 2025-04-01 08:12:59 -04:00
Paul Lorenz a84369a6e9 Consolidate fabric and edge persistence code. Fixes #1555 2023-12-06 17:36:37 -05:00