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
5c9a942fa5
Timeout is getting reported as conn refused instead of timeout. Fixes openziti/fabric#738
2023-06-05 16:17:29 -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
f0b83d0010
Track raft index in Db. Let's us start without rerunning all cmds at startup. Fixes #677 . Fixes openziti/fabric#582
2023-04-25 11:32:35 -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
9bb47428b7
Add network.run watchdog. Closes openziti/fabric#668
2023-04-11 17:11:27 -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
gberl002
fbf01410e2
Reordering for 64 bit alignment
2023-03-14 14:54:15 -04:00
gberl002
40a57aadd3
Adding simple tests for checking 64 bit alignment of existing 64 bit values with atomic operations.
2023-03-14 14:47:42 -04:00
Paul Lorenz
a7957d0e4a
Fix concurrent map error. Fixes openziti/fabric#622
2023-03-02 11:09:13 -05:00
Michael Quigley
cdb550892b
externalize the interval age threshold
2023-03-01 14:04:05 -05:00
Michael Quigley
7e5340a298
use the already provided metrics report interval
2023-03-01 13:57:49 -05:00
Michael Quigley
53dcd24e26
tweaks for reporting interval
2023-02-28 11:56:39 -05:00
Paul Lorenz
1379618165
Update inspect names from routers -> connected-routers and clusterconfig -> cluster-config
2023-02-17 13:39:40 -05:00
Paul Lorenz
cf2ee0347a
Support showing connected routers. Fixes openziti/fabric#598
2023-02-16 17:11:58 -05:00
Paul Lorenz
abb0eb96fb
Add more raft configuration options. Fixes openziti/fabric#597
...
Add more raft config knobs
Refactor peer handles to be consistent with other handlers
Allow inspect to work across controllers
Add config and clusterconfig inspect support
2023-02-15 23:47:57 -05:00
Paul Lorenz
52a8ba6a57
Miscellaneous raft related updates
...
Add initial cluster events.
Simplify ctrl <-> ctrl connection.
Fix version mismatch detection
2023-02-09 15:24:23 -05:00
Paul Lorenz
8f5b5b5c33
Compress snapshots with gzip for efficiency. Fixes openziti/fabric#583
2023-02-09 14:40:34 -05:00
Paul Lorenz
3a110eccc7
Add ability to report initiator local/remote addr. Add to circuit events. Fixes openziti/fabric#592
2023-01-24 16:16:53 -05:00
Paul Lorenz
345943b25e
Merge pull request openziti/fabric#591 from openziti/consistent-service-metrics
...
Only track service metrics on current route attempts. Fixes openziti/fabric#588
2023-01-19 21:58:24 -05:00
Paul Lorenz
5635a51061
Only track service metrics on current route attempts. Fixes openziti/fabric#588
2023-01-19 11:21:31 -05:00
Paul Lorenz
e02dde0cd7
Add duration to circuit updated/deleted events. Closes openziti/fabric#589
2023-01-19 11:16:47 -05:00
Cam Otts
c299a06669
Added raft leave and raft list members ( #580 )
...
* Added raft leave and raft list members
* reordered agent raft leave to only check address if is is not found
* instead of adding second raft ctrl, just cast the dispatcher
2023-01-12 10:18:13 -06:00
Paul Lorenz
374b74ea79
Support auto-migrate and agent initiated migration. Fixes openziti/fabric#569
2022-12-28 17:06:27 -05:00
Paul Lorenz
e0c894dce9
Merge pull request openziti/fabric#557 from openziti/add-min-cost-delta
...
Add minimum cost delta for smart rerouting. Fixes openziti/fabric#552
2022-12-19 11:22:02 -05:00
Paul Lorenz
ca9db4a78c
Add minimum cost delta for smart rerouting. Fixes openziti/fabric#552
2022-12-19 11:20:04 -05:00
Paul Lorenz
1eac29740c
Allow terminators to be marked as system entities. Fixes openziti/fabric#558
2022-12-16 13:11:45 -05:00
Paul Lorenz
74de7e65ee
update CODEOWNERS to sig-core and update MM notifications
2022-11-30 12:22:14 -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
aafa99ae6f
Fix some linting issues. svcId -> serviceId
2022-09-15 17:34:44 -04:00
Paul Lorenz
aa6124105d
Update to usage v3. Adds circuit tags to usage. Fixes openziti/fabric#496
2022-09-15 17:34:33 -04:00
Paul Lorenz
096e981959
Add remote addr to circuit events. Fixes openziti/fabric#459
2022-09-06 22:58:06 -04:00
Paul Lorenz
4d05c59df0
Run gofmt -w -s
2022-08-22 14:17:43 -04:00
Paul Lorenz
e0f5092a08
Use one port for ctrl channel to router and controllers. Allow syncing existing DB to raft. Fixes #471 . Fixes openziti/fabric#479 .
2022-08-22 12:09:07 -04:00
Paul Lorenz
521c5d2be1
Fixes for command encoding and decoding
2022-08-11 11:24:23 -04:00
Paul Lorenz
40ef589193
Fixes panic when dialing service with terminator but none for instanceId. Fixes openziti/fabric#463
2022-08-04 21:42:01 -04:00
Paul Lorenz
0e07f211be
Add flags to create/update commands. allows some lightweight logic specialization (eg priveleged vs non-priveleged updates)
2022-07-29 10:53:39 -04:00
Paul Lorenz
858642bc38
Move UpdatedFields to fabric. Start moving model layer to generics
2022-07-27 11:33:24 -04:00
Paul Lorenz
98160bb8b0
Merge pull request openziti/fabric#448 from openziti/link-events
...
Refactor events subsystem. Add link events. Fixes openziti/fabric#415
2022-07-19 10:59:27 -04:00
Paul Lorenz
7abe5d5605
Cleanup circuits for deleted routers. Fixes openziti/fabric#452
2022-07-18 15:03:35 -04:00