Commit Graph

34 Commits

Author SHA1 Message Date
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 c4abcae949 Link management fixes. Fixes #1692 Fixes #1693 2024-01-19 17:33:21 -05:00
Paul Lorenz f3d67b7f49 Update fabric imports 2023-09-28 23:34:28 -04:00
Paul Lorenz a7fe59e184 Do some configuration tidying 2023-08-22 20:37:25 -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 519574497e Update to channel v2 2022-09-26 17:00:34 -04:00
Paul Lorenz b26fcf8909 Fix copyright 2022-06-29 16:59:46 -04:00
Paul Lorenz eaa75d48c6 Initial support for distributed model via RAFT 2022-06-02 22:49:55 -04:00
Paul Lorenz a4de1c1b9f Merge pull request openziti/fabric#387 from openziti/make-initial-latency-configurable
Make initial link latency configurable. Fixes openziti/fabric#252
2022-05-12 15:39:12 -04:00
Cam Otts 0c7ff2bd5e threaded a timout through fabric (#356)
* threaded a timout through fabric

* updated default timeout

* pr comments

* fix timing

* applied pr comments

* removed one more utc

* updated to time until and conditionally add deadline

* signed commit


* small proto change

* regenerate pb

* missed extra import
2022-05-12 14:32:18 -05:00
Paul Lorenz 01ffc402e3 Make initial link latency configurable. Fixes openziti/fabric#252 2022-05-11 09:51:56 -04:00
Paul Lorenz 69bc2fb0cc Update to transport/v2 2022-05-10 11:58:41 -04:00
Paul Lorenz cca93c7eee Update test for initial link cost changes 2022-05-09 11:46:44 -04:00
Paul Lorenz 5d4947b505 Add a configurable minimum router cost 2022-04-27 14:41:55 -04:00
Paul Lorenz b48b1d6fc5 Add another path test. Address review comments 2022-04-19 21:50:21 -04:00
Paul Lorenz 9a344da855 Update to use transport library 2022-03-31 10:36:28 -04:00
Cam Otts 405492ce92 Route error codes (#335)
* Initial work on adding route error codes to route responses

* updated messaging

* Split out terminator incrementors
Added handling for Service Errors
Added initial steps at deleting misbehaving terminators

* Added test for destroying and settin gprecedence on terminators
Added handling for terminator errors in routing

* inverted error switch

* cleanup for pr

* PR comments

* refactored conditional printing to account for single node paths that don't have links

* added error log when route status

* added another misconfigured error

Co-authored-by: Paul Lorenz <paul.lorenz@netfoundry.io>
2022-03-23 12:51:49 -05:00
tburtchell 2f8a608c4c Replacing link 'type' with 'protocol' and 'costTags' (#336)
* Replacing link 'type' with 'protocol' and 'costTags'
2022-03-22 09:06:02 -04:00
Paul Lorenz 2b7db10913 Allow routers more control over link management (#318)
* Allow routers more control over link management
2022-03-07 12:22:17 -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 84ae5576e1 Update to use channel library 2022-01-27 16:46:21 -05:00
Paul Lorenz e781e3c713 Update control channel to new channel API 2022-01-19 08:15:33 -05:00
Paul Lorenz ba43810ffa Remove error return that's always nil 2021-12-01 17:15:27 -05:00
Paul Lorenz ea1bac0b17 Add link implementation. Convert link to string from identity.TokenId 2021-11-30 14:05:21 -05:00
Paul Lorenz 58e159236d Use string id instead of identity where we don't need certs 2021-09-03 14:10:28 -04:00
Paul Lorenz 21c261fb19 Rename session -> circuit 2021-08-04 13:17:39 -04:00
Paul Lorenz bcd1c374e8 Rename circuit to path 2021-08-04 13:16:09 -04:00
Paul Lorenz 2b283dcdce Cleanup go-routines on shutdown. Allow Xtrl instances to contribute trace decoders 2021-02-17 20:22:14 -05:00
Andrew Martinez 6289f6d551 update tests 2020-10-06 10:45:10 -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
Paul Lorenz 1127615b8e Add controller metrics registry and update for metrics api changes 2020-08-20 12:27:44 -04:00
Michael Quigley 10e6a7ef93 netfoundry/ziti-fabric -> openziti/fabric 2020-05-26 17:14:16 -04:00
Paul Lorenz e9575bb717 Integrate Xt into smartrouting/circuit creation. Includes several Xt cleanups (#87)
Integrate Xt into smart routing

For Xt:
* weights -> costs
* drop preferred precedence
* Allow larger cost ranges
* Add failure costs and common cost visitor
2020-04-30 14:50:07 -04:00