Commit Graph

90 Commits

Author SHA1 Message Date
tburtchell 23cd6fe6e6 A couple more places where linkType -> linkProtocol refactor was missed (#352)
Co-authored-by: Tod Burtchell <tod.burtchell@netfoundry.io>
2022-04-12 11:26:01 -04:00
Paul Lorenz 86d1913763 make network exit an info instead of an error 2022-04-11 14:06:30 -04:00
Cam Otts 4b7a4d1081 added circuit creation timespan (#349)
* added circuit creation timespan

* added creation timespan to event message
2022-04-06 11:14:43 -05:00
Paul Lorenz b35b532d25 Update to use storage library 2022-03-30 16:22:32 -04:00
Paul Lorenz 1ee1c644c5 Don't send egress on re-route, since it will always be ignored 2022-03-30 13:44:58 -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
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
Paul Lorenz 91585a84b7 Refactor circuit events. All circuit events now show all circuit data. Fixes openziti/fabric#322 2022-02-17 15:37:53 -05:00
Paul Lorenz 01fa63e716 Use updated store events. Fixes openziti/fabric#319 2022-02-17 10:41:38 -05:00
Paul Lorenz 675b16ef98 Don't call message sends in control channel bind 2022-02-10 09:20:23 -05:00
Paul Lorenz 84ae5576e1 Update to use channel library 2022-01-27 16:46:21 -05:00
Paul Lorenz c425cc84a8 Move some events/metrics code from foundation to fabric 2022-01-20 17:22:50 -05:00
Paul Lorenz e781e3c713 Update control channel to new channel API 2022-01-19 08:15:33 -05:00
Paul Lorenz a918f1be0d Merge pull request openziti/fabric#301 from openziti/fix-panic-on-missing-router
Fix panic on router missing message. Tidy logging, put more variables…
2022-01-10 16:16:22 -05:00
Paul Lorenz 3c098defb0 Add more router connect error logging (#300)
* Add more router connect error logging, fix cert validity check, handle multiple certs properly
2022-01-03 14:25:30 -05:00
Paul Lorenz eb5e5ab4cc Fix panic on router missing message. Tidy logging, put more variables in fields 2022-01-03 09:34:18 -05:00
Paul Lorenz 0164e5572e Add support for inspect 2021-12-03 16:13:41 -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 d4f2d48545 Use 64 bit ids instead of 32 ids for links and circuits 2021-11-30 13:57:36 -05:00
Paul Lorenz 51a4fe8ed9 Import route evaluation with more efficient data structure 2021-11-19 15:17:56 -05:00
Paul Lorenz 6ba7264ff3 Do additional cert chain and verify links with controller 2021-11-12 15:36:05 -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
ziti-ci 23a9da54e7 Allow injecting context into path creation/establishment operations 2021-08-06 16:34:57 -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 270fd077b1 Allow way to notify router of rename 2021-04-07 21:29:25 -04:00
Paul Lorenz d0ceb31274 Change default metrics report interval to 1 minute 2021-03-31 18:48:57 -04:00
Paul Lorenz 59dd03cdca Allow access to the service events registry 2021-03-23 17:11:18 -04:00
Paul Lorenz 31a587384a Add interval counts, per service, for dial success, timeout, fail, other 2021-03-10 13:15:55 -05:00
Michael Quigley 3ec45972b9 Warn->Info (#206) 2021-03-09 12:52:41 -05:00
Michael Quigley f4d9be4271 Log lint. (#206) 2021-03-09 12:42:26 -05:00
Michael Quigley 5c22c9e531 Initial parallel network re-routing, and session-level concurrency control. (#206) 2021-03-09 11:35:51 -05:00
Andrew Martinez 44eced5dd1 session to Session 2021-03-01 16:58:38 -05:00
Michael Quigley 793ed028e5 Show count of cleaned-up abandoned routers. (#180) 2021-03-01 13:11:04 -05:00
Michael Quigley de79bddd6b Clean up successful, but abandoned routes. (#180) 2021-02-25 15:35:59 -05:00
Paul Lorenz 2b283dcdce Cleanup go-routines on shutdown. Allow Xtrl instances to contribute trace decoders 2021-02-17 20:22:14 -05:00
Michael Quigley 08ee342327 Basic controller scaffolding for forwarding fault handling. (#184) 2021-02-11 14:34:21 -05:00
Michael Quigley e55118d8a2 Redundant cast. (#168) 2021-02-10 11:58:11 -05:00
Michael Quigley aa2d7315a4 Better terminator dial error reporting. (#168) 2021-02-10 10:25:24 -05:00
Michael Quigley 7d653696e9 We don't want smart routing to start unrouting sessions. (#168) 2021-02-09 13:43:08 -05:00
Michael Quigley be69649bf1 Attempt encoding support in the route plumbing. Allows the route sender to more accurately handle unhappy scenarios. (#168) Fix for 'UpdateTerminatorRequestType' typo in protobufs. (#176). 2021-02-09 13:36:23 -05:00
Michael Quigley e86f60dd68 Unhappy path unroute/cleanup improvements. Logging improvements. (#168) 2021-02-09 11:38:26 -05:00
Michael Quigley ba8b1a5826 D'oh. Testing. (#168) 2021-02-09 09:16:54 -05:00
Michael Quigley fecf08a9ed Added new 'network.createSessionRetries' option to control number of session creation attempts. (#175) 2021-02-08 14:14:41 -05:00
Michael Quigley 765e7f30bb Implement non-acting session confirmation receive hander, to prevent future errors with newer routers (#173, openziti/fabric#174) 2021-02-08 14:08:35 -05:00
Michael Quigley cb7a561a39 Up and operational with a version of parallel routing. (#168) 2021-02-08 11:50:57 -05:00
Michael Quigley 3ad20ee31a Manage route senders in network. (#168) 2021-02-08 11:27:04 -05:00
Michael Quigley cd3e31df78 Support for peerData in parallel routing. (#168) 2021-02-08 11:21:42 -05:00
Michael Quigley a5bc713461 Working out the route sender logic. (#168) 2021-02-05 15:09:16 -05:00