Paul Lorenz
8a875ea91e
Update deps and changelog
2025-09-19 16:47:48 -04:00
Kenneth Bingham
117817719d
exit with success code if db-to-raft migration succeeds
2025-09-02 16:50:13 -04:00
Paul Lorenz
9d4ff055b5
Update for SDK flow control changes
2025-07-18 12:42:45 -04:00
Paul Lorenz
e5fb69935e
Support multi-underlay links. Fixes #3134
2025-07-11 20:56:11 -04:00
Paul Lorenz
5902631861
ids used by circuits and ingress/egress can conflict in an HA setup. Fixes #3124
2025-06-18 11:24:16 -04:00
Paul Lorenz
981df8269d
Support xgress flow control from the SDK. Fixes #2986
2025-04-30 10:27:43 -04:00
Paul Lorenz
e647d67325
Update to channel/v4
2025-04-02 15:28:59 -04:00
Paul Lorenz
8dbf6e5d85
Update errorz.MultipleErrors users to errors.Join
2025-03-22 10:14:02 -04:00
Paul Lorenz
69aa04a89d
Allow configuring size of the router metrics event queue. Fixes #2899
2025-03-18 09:36:23 -04:00
dovholuknf
3b1e295252
minor changes to logging for verify oidc ( #2894 )
...
* don't try to parse if the token is empty, add --redirect-url option for enhanced testing
* appease golangci-lint run
2025-03-14 17:29:02 -04:00
Paul Lorenz
30da593c1a
Cache ER/T terminator ids for faster restarts. Fixes #2807 ( #2815 )
2025-02-25 17:31:02 -05:00
Paul Lorenz
ec57c80ff7
ER/T Hosting HA chaos test and fixes ( #2806 )
...
* Add ERT hosting chaos test. Also add ert terminator validation utility. Fixes #2288
* Rework ER/T terminator management based on SDK terminator management code
* Update deps
* Make sdk/ert-terminators into a constant
2025-02-25 17:02:21 -05:00
Paul Lorenz
03870760c3
Ensure restores and migrations work properly with RDM. Add restore from db for HA Clusters. Fixes #2549 . Fixes #2649 . Fixes #2707
2025-01-31 13:57:43 -05:00
Paul Lorenz
110446a990
Add doc generator for events. Add event doc. Fixes #2593
2025-01-31 12:23:43 -05:00
Paul Lorenz
71c7f6bb00
Add event source id to all events. Fixes #2619
2025-01-14 12:17:48 -05:00
Paul Lorenz
6517a7c22f
Move routers to a subscription model where they subcribe to model data from one controller for a limited time. Fixes #2599
2025-01-07 19:21:53 -05:00
Paul Lorenz
c2162ea9a9
Add cluster id, to prevent merging disparate clusters. Fixes #2541
2024-11-14 12:34:17 -05:00
Paul Lorenz
32eddd61ca
HA SDK terminators test. Fixes #2217 . Fixes #2533
2024-11-12 18:45:08 -05:00
Paul Lorenz
6d42467554
Require first character of generated ids to be alphanumberic. Fixes #2534
2024-11-12 16:39:18 -05:00
Paul Lorenz
394e77466d
Use current router cost when calculating exiting path costs during smart reroute. Fixes #2528
2024-11-12 14:47:08 -05:00
Paul Lorenz
6e1983991d
Fixes from testing
2024-11-01 15:21:01 -04:00
Paul Lorenz
16f0a858e6
Add controller connect events. Fixes #1835 . Fixes #2234
2024-11-01 15:21:01 -04:00
Paul Lorenz
ac83d93567
Refactor XT. Add concurrency test. Add inspect support. Fixes #2403
2024-09-16 13:39:41 -04:00
Paul Lorenz
cccf0c06af
Update to channel/v3. Fixes #2390
2024-09-09 12:23:25 -04:00
Paul Lorenz
0945427320
Migrated edge router tunneler code to use the router data model. Fixes #2121
2024-07-26 17:06:01 -04:00
Paul Lorenz
77d27ca781
Enhance the router data model with config information, fixes #2010 Add subscription model to router data model, fixes #1990
2024-07-17 14:31:39 -04:00
Paul Lorenz
c3b43133d1
Merge fabric and controller model code. Fixes #2205
2024-07-09 16:11:01 -04:00
Paul Lorenz
91fd7097f0
Add support for sticky termininator selection on dials. Fixes #2019
2024-05-21 13:18:15 -04:00
Paul Lorenz
898e41ae2a
Implement router data model changesets. Fixes #1966
2024-04-23 11:56:10 -04:00
Paul Lorenz
d62e3cb71f
Use cmap IterCB instead of IterBuffered where possible. Fixes #1902
2024-04-04 21:27:38 -04:00
Paul Lorenz
ad779ed118
Improve link mgmt backwards compatibility. Fixes #1900
...
* We're sending peer change messages to older routers that don't understand them.
* We should probably use the older controller link management code for routers without the link management stability fixes
* Includes a few minor cleanups
2024-04-04 19:07:24 -04:00
Paul Lorenz
8d11af3d97
Optimize network run loop. Fixes #1897
...
* When routers change (connect/disconnect), we re-check the mesh. We are passing in the routers to the channel and they can build up, which is unnecessary. We only need to signal once for all the routers that change since the last time we checked, that the mesh needs to be checked.
* We pass link changes through the run method, which is unnecessary since we pass it to a new goroutine. This inefficiency should be fixed.
* We're evaluating all faulted links for rerouting, even if they were still pending. Only reroute connected links.
* We're using time.After in each for loop, which can accumulate timers. Use a single Ticker instead.
2024-04-04 18:46:50 -04:00
Paul Lorenz
aaceb84a0f
Don't save old link statues in memory, the info is in link events. Fixes #1896
2024-04-04 18:18:35 -04:00
Paul Lorenz
3c3bfb69f7
Fix panic if router is disconnected in unroute. Fixes #1854
2024-03-21 10:02:39 -04:00
Paul Lorenz
fab81e4cd4
Add terminator chaos testing and fix issues found. Fixes #1794 Fixes #1369
2024-03-12 10:31:36 -04:00
Paul Lorenz
8423a8dd6a
Fix link management race conditions found by chaos testing. Fixes #1709
2024-01-29 17:23:51 -05:00
Paul Lorenz
c03c3c2851
Additional fixes and tweaks
2024-01-19 17:35:25 -05:00
Paul Lorenz
c4abcae949
Link management fixes. Fixes #1692 Fixes #1693
2024-01-19 17:33:21 -05:00
Paul Lorenz
41a37ebe7e
Add initial router link validation utility. Fixes #1678
2024-01-05 13:10:02 -05:00
Paul Lorenz
df2ab68ad5
Make sure link accepts are not single threaded. Fixes #1669
2023-12-29 10:18:50 -05:00
Paul Lorenz
9ddd1b941d
Add service max idle time. Fixes #1496 . Add decomission router support. Fixes #1402
2023-12-08 12:48:56 -05:00
Paul Lorenz
a84369a6e9
Consolidate fabric and edge persistence code. Fixes #1555
2023-12-06 17:36:37 -05:00
Paul Lorenz
16cf13ac08
Support filter/sort/page on circuits and links. Fixes #1547
2023-12-05 10:30:08 -05:00
Paul Lorenz
db6554ee06
Implement idempotency for sdk terminators. Fixes #1446
2023-12-01 15:44:05 -05:00
Paul Lorenz
9bed8a14a8
Add optional command rate limiter. Fixes #1445
2023-10-23 13:45:49 -04:00
Paul Lorenz
47a00aaf3d
Shutdown network watchdog when controller stops. Fixes #1442
2023-10-16 13:05:48 -04:00
Paul Lorenz
f3d67b7f49
Update fabric imports
2023-09-28 23:34:28 -04:00
Paul Lorenz
700ec34177
Make link heartbeats configurable. Add unresponsive close timeout. Fixes openziti/fabric#796
2023-09-18 22:40:19 -04:00
Paul Lorenz
bed7b0eb02
Allow specifying snapshot name with templating. Fixes #794 Fixes openziti/fabric#792
2023-09-18 15:19:23 -04:00
Paul Lorenz
a7fe59e184
Do some configuration tidying
2023-08-22 20:37:25 -04:00