Paul Lorenz
a4b4e1dc16
Clean up some excessive logging
2025-10-29 15:30:31 -04:00
Paul Lorenz
8bedd3af1d
Clean up connect events tests and remove global XG registry. Fixes #3345
2025-10-29 14:46:52 -04:00
Paul Lorenz
653063767e
Add alert events. Fixes #3264
2025-10-15 14:21:07 -04:00
Paul Lorenz
e5fb69935e
Support multi-underlay links. Fixes #3134
2025-07-11 20:56:11 -04:00
Paul Lorenz
cc7eefaf24
Add support for tracking network interfaces on routers and identities. Fixes #3082 . Add network discover to router. Fixes #3083
2025-06-17 09:32:51 -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
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
32eddd61ca
HA SDK terminators test. Fixes #2217 . Fixes #2533
2024-11-12 18:45:08 -05:00
Paul Lorenz
cccf0c06af
Update to channel/v3. Fixes #2390
2024-09-09 12:23:25 -04:00
Paul Lorenz
c3b43133d1
Merge fabric and controller model code. Fixes #2205
2024-07-09 16:11:01 -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
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
70b32603ad
Start on chaos testing
2024-01-19 17:34:15 -05:00
Paul Lorenz
c4abcae949
Link management fixes. Fixes #1692 Fixes #1693
2024-01-19 17:33:21 -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
b270d18faf
Add additional logging. Remove unnecessary router lookups. May address #1460
2023-10-31 14:57:06 -04:00
Paul Lorenz
3523b34b2c
Fix panic when router version info isn't set by ensuring it is set and making sure we get the right version. Fixes #1423
2023-10-11 13:55:50 -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
a631f48643
Do some forwarder option cleaning. Remove unused latency options
2023-08-22 20:37:59 -04:00
Paul Lorenz
a7fe59e184
Do some configuration tidying
2023-08-22 20:37:25 -04:00
Paul Lorenz
509364d908
Remove trace events from dispatcher. Move trace to common
2023-08-16 12:39:42 -04:00
Paul Lorenz
cdfd037da9
Move protobuf definitions to common
2023-08-10 19:38:48 -04:00
Paul Lorenz
00a39c9900
Move logcontext package to common
2023-08-10 18:07:00 -04:00
Paul Lorenz
368d6e5568
Move config, ctrl_msg and handler_common to common/
2023-08-10 17:29:08 -04:00
Paul Lorenz
8dbc759d45
move event and events packages to controller
2023-08-10 17:10:17 -04:00
Paul Lorenz
f15b8bef23
Add some more config value validation and guardrails
2023-08-03 17:07:49 -04:00
Paul Lorenz
2ee9539f9c
Move link calculation to routers. Fixes #692 , fixes #749 , fixes openziti/fabric#343
2023-08-03 17:07:48 -04:00
Paul Lorenz
8149b69614
Add support for quiescing and dequiescing routers. Fixes openziti/fabric#538
...
Quiesce marks all terminators as failed and stores the previous state.
Dequiesce restores all terminators with failed state and stored previous
state to their previous state
2023-06-05 17:46:13 -04:00
Paul Lorenz
ef555a536e
Notify controller of forward faults on links. Fixes #724 . If reroute fails, circuit should be torn down. Fixes openziti/fabric#725
2023-05-25 15:05:28 -04:00
Paul Lorenz
bc9bac6f0d
Add config support for link groups. Doesn't use group config yet.
2023-05-11 09:34:33 -04:00
Paul Lorenz
a19a2ab2fe
Annotate circuit events with circuit tags, similar to usage. Fixes openziti/fabric#684
2023-04-25 22:54:22 -04:00
Paul Lorenz
23110fccb2
Implement entity change events. Fixes openziti/fabric#562
2023-04-25 11:38:03 -04:00
Paul Lorenz
bf76453ce8
Update to go 1.20
2023-04-25 11:32:34 -04:00
Paul Lorenz
d1d0fe781b
Update for storage API changes.
2023-04-25 11:32:33 -04:00
Paul Lorenz
cc09f32c34
Implement batched terminator deletes
2023-03-28 13:18:59 -04:00
Paul Lorenz
32da1861ca
Add router disable flag. Fixes openziti/fabric#651
2023-03-27 14:18:43 -04:00
Paul Lorenz
820e6391a4
Add heartbeat config and controller peer heartbeats. Fixes openziti/fabric#507
...
Adds config to controller for heartbeat config
Add config to routers for heartbeat config
Adds configurable heartbeats to controller <-> controller connections
2023-02-28 09:47:53 -05:00
Paul Lorenz
9905987b9e
Various HA related fixes
...
* Router cert handling fix
* Always start with empty bolt db, so raft journal can be applied
cleanly
* Allow looking up raft member ids, so you only need to provide addr
* Report metrics to all controllers. Fixes openziti/fabric#525
2022-11-11 14:08:12 -05:00
Paul Lorenz
ec885daed5
Always use a new router instance for connected routers so we can ensure
...
disconnect handling applies to the right instance
2022-10-24 14:44:27 -04:00
Paul Lorenz
4a1f234839
Add linter and update deps
2022-10-10 13:29:40 -04:00
Paul Lorenz
02539e9e16
Support multiple control channels. Fixes openziti/fabric#469
2022-09-29 12:06:41 -04:00
Paul Lorenz
519574497e
Update to channel v2
2022-09-26 17:00:34 -04:00
Paul Lorenz
9aa41409b3
Cleanup trace controller loop. Refactor for multiple control channels: openziti/fabric#469
2022-09-22 11:05:35 -04:00
Paul Lorenz
aafa99ae6f
Fix some linting issues. svcId -> serviceId
2022-09-15 17:34:44 -04:00