Commit Graph

63 Commits

Author SHA1 Message Date
Mario Trangoni 126ee5d79c codespell: Add spelling check and fix all issues
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
2023-12-19 10:52:42 +01: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 f3d67b7f49 Update fabric imports 2023-09-28 23:34:28 -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 613245c4c4 Fix terminator sibling lookup. Fixes openziti/fabric#766 2023-08-09 11:40:40 -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 833529cb68 Change cluster and entity change events to camel case from snake case 2023-04-25 15:35:40 -04:00
Paul Lorenz 23110fccb2 Implement entity change events. Fixes openziti/fabric#562 2023-04-25 11:38:03 -04:00
Paul Lorenz d1d0fe781b Update for storage API changes. 2023-04-25 11:32:33 -04:00
Paul Lorenz 32da1861ca Add router disable flag. Fixes openziti/fabric#651 2023-03-27 14:18:43 -04: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 1eac29740c Allow terminators to be marked as system entities. Fixes openziti/fabric#558 2022-12-16 13:11:45 -05: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 c77160ba6d Fix patching tags on routers and services. Fixes openziti/fabric#499 2022-09-14 23:29:07 -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 858642bc38 Move UpdatedFields to fabric. Start moving model layer to generics 2022-07-27 11:33:24 -04:00
Paul Lorenz 8f0150f242 Add host id to terminator. This will allow tracking usage to hosting entities. Fixes openziti/fabric#440 2022-07-15 23:13:01 -04:00
Paul Lorenz 3d49022f4a Update for foundation changes 2022-07-01 14:29:12 -04:00
Paul Lorenz b26fcf8909 Fix copyright 2022-06-29 16:59:46 -04:00
Paul Lorenz a731cd9aec Circuit failed events and rename terminator identity -> instanceId 2022-06-22 14:34:32 -04:00
Paul Lorenz eaa75d48c6 Initial support for distributed model via RAFT 2022-06-02 22:49:55 -04:00
Paul Lorenz e8285f76f3 Add link count and cost to circuit events. Fixes openziti/fabric#388 2022-05-11 13:03:08 -04:00
Paul Lorenz b35b532d25 Update to use storage library 2022-03-30 16:22:32 -04:00
Paul Lorenz ef7c69558b Copy db ops from edge to fabric (for eventual removal from edge). Add snapshot db agent op 2022-03-10 10:07:41 -05:00
Cam Otts 725afe13de added allow traversal flag (#326)
* added allow traversal flag

* Added test to verify a single router connection that is marked untraversable fails path creating

* Updated default cost to be one step above the threshold to avoid overflow.

* Updated checks to only care about middle routers. Fixed relevant unit tests and added test with untraversable middle router.

* Refactor allowTraversal to be flipped to noTraversal

* default noTraversal to false
2022-03-02 10:33:04 -06:00
Cam Otts be30ee8026 Added cost to routers and relevant persistence and path checking. (#324)
* Added cost to routers and relevant persistence and path checking.

* removed router cost from config

* changed cost to be required on update

* removed some import reorderings and added fingerprint to be required

* missed one line
2022-02-23 10:14:00 -06:00
Paul Lorenz 7a4c831df9 Remove bolt trace which required custom bolt. Remove stackdump_tool, which is moving to ziti-ops 2021-12-10 17:48:27 -05:00
Paul Lorenz 5a54c9b041 Add circuit router implementation 2021-11-30 14:05:23 -05:00
Paul Lorenz 52cfbbbe29 Add REST based management API 2021-11-30 13:57:35 -05:00
Paul Lorenz 4847cf1453 Add routing perf test and fix link cost check 2021-11-19 15:08:29 -05:00
Paul Lorenz 70c10f0e15 Allow querying terminators by service.name and router.name 2021-08-18 14:55:19 -04:00
Paul Lorenz 0173a633c6 Add nill check on terminator lookup. Fix spelling mistake 2021-04-29 18:56:04 -04:00
Paul Lorenz 478d8c1e0b Remove eXtensible Terminator Validator framework (xtv) as it's now unused.
terminator validation can be done in custom control channel handlers instead
2021-04-29 12:45:07 -04:00
Michael Quigley 57f904b739 Configuration for bolt db tracing. 2021-03-17 10:42:02 -04:00
Michael Quigley c59ec4d927 Cleaner logging without anonymous functions. 2021-03-17 10:34:18 -04:00
Michael Quigley 2c9b1552c7 Enable bbolt tracing in controller. 2021-03-16 11:25:18 -04:00
Paul Lorenz 783e5d3231 Fix terminator patch to not update/clear peer data unless requested 2021-02-05 12:00:33 -05:00
Paul Lorenz 3031687ae8 Make more infoformation available to terminator validators 2020-09-28 15:29:59 -04:00
Paul Lorenz 9f3182942e Add Xtensible Terminator Validation framework 2020-09-25 11:01:58 -04:00
Paul Lorenz 150f2a112a Add support for addressable terminators 2020-09-25 11:01:58 -04:00
Paul Lorenz 549260d650 Persist terminator precedence. Fix link cost use/scaling. Fix link re… (#125)
* Persist terminator precedence. Fix link cost use/scaling. Fix link removal related panic. Fix service cache clearing on terminator change.

Fixes GH-112
Fixes GH-121
Fixes GH-122
Fixes GH-123
Fixes GH-124
2020-09-01 15:58:46 -04:00
Andrew Martinez 804ef1b84b remove duplicate batch def 2020-08-24 08:18:09 -04:00
Andrew M 09e3affca0 adds session remove handler for openziti/edge#285 2020-08-24 07:13:27 -04:00
Paul Lorenz 1127615b8e Add controller metrics registry and update for metrics api changes 2020-08-20 12:27:44 -04:00
Paul Lorenz 4040f9a691 Fix name indices 2020-08-03 14:11:35 -04:00
Andrew M 37587d73c3 adds support for e2e via peer data for openziti/edge/issues#173
- add xt.PeerData type
- convert all peer data maps to xt.PeerData
- allow xgress dials to return session runtime peer data
2020-07-27 16:16:27 -04:00
Paul Lorenz e6d6acd261 Don't wait forever for a DB lock 2020-06-24 14:06:20 -04:00
Paul Lorenz ffbb4e4cc3 Add names to service and router. Add more store tests. Fixes GH-101 2020-06-18 17:05:39 -04:00
Paul Lorenz 80704d3231 Update for fabric api changes. Add snapshot DB mgmt API. Fixes GH-99 2020-06-12 18:25:11 -04:00