Commit Graph

93 Commits

Author SHA1 Message Date
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 ef745ac2e7 Initial 'tearDownTheSuccessful' implementation. (#168) 2021-02-08 13:35:33 -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 d36f10b185 More parallel routing logic. (#168) 2021-02-08 11:04:35 -05:00
Michael Quigley b39a85a5f9 Merge branch 'main' into parallel_route 2021-02-08 10:08:09 -05:00
Paul Lorenz f1c41cfcf8 Clarify failed to buffer msg. Make retransmits debug. Don't send if we know it's going to fail 2021-02-06 15:11:52 -05:00
Paul Lorenz 9aff04e64c Merge pull request openziti/fabric#170 from openziti/fix-terminator-patch
Validation extension points for sessions and terminators
Fix terminator patch to not update/clear peer data unless requested
2021-02-05 15:19:12 -05:00
Michael Quigley a5bc713461 Working out the route sender logic. (#168) 2021-02-05 15:09:16 -05:00
Michael Quigley 4ef6853fec Tear down sessions for abandoned route result messages (#168) 2021-02-05 13:47:46 -05:00
Michael Quigley b601068fee More receive handler, network, route sender wiring. (#168) 2021-02-05 13:26:32 -05:00
Michael Quigley 2195476448 Skeleton for route result message handler. 2021-02-05 13:12:10 -05:00
Michael Quigley 925f300351 New route sender state machine skeleton. 2021-02-05 13:04:24 -05:00
Paul Lorenz 783e5d3231 Fix terminator patch to not update/clear peer data unless requested 2021-02-05 12:00:33 -05:00
Michael Quigley 43c90c55ed Use ctrl_msg.RouteResultType as the new route result message. (#168) 2021-02-05 11:49:00 -05:00
Paul Lorenz e8ff9b7799 Add latency and message metrics to router control channels 2021-02-02 16:28:12 -05:00
Paul Lorenz bab832f5a1 Merge pull request openziti/fabric#157 from openziti/xgress-fixes
Xgress fixes
2021-01-21 15:14:00 -05:00
Michael Quigley f1dee6213c Display configured timeout. (#151) 2021-01-21 13:40:09 -05:00
Paul Lorenz 0e739a2183 drop some logging to trace 2021-01-21 13:37:54 -05:00
Michael Quigley aceb021a77 Add options for 'termination timeout' and 'route timeout' to 'network' section of controller configuration. Implement. (#151) 2021-01-21 13:20:08 -05:00
Paul Lorenz 60f7439a33 Implement terminator events so external tools can better monitor service health (#148) 2021-01-12 11:39:03 -05:00
Paul Lorenz ea6909717a Move log level from info to debug (#145)
* Move log level from info to debug

* Info -> Debug on reroute message
2020-12-11 16:29:38 -05:00
Paul Lorenz fb1d2ab7e9 Tidy up other strategies 2020-12-09 16:41:38 -05:00
Paul Lorenz 92733a6148 Tidy 2020-12-09 14:07:37 -05:00
Paul Lorenz ef0f270bd3 switch self references to pointers so that fail count updates work 2020-12-08 17:11:40 -05:00
Paul Lorenz 95b081e066 Address review comments 2020-12-04 17:11:35 -05:00
Paul Lorenz 5e33aa22fa Make buffer naming more consistent 2020-12-01 13:33:00 -05:00
Paul Lorenz b2c0b92693 Allow dropping payloads 2020-12-01 13:32:44 -05:00
Paul Lorenz 685892b9b5 Add missing cpu profiling to controller (#138) 2020-10-16 16:31:42 -04:00
Paul Lorenz 57afb7cf01 Add metrics and usage implementations. Convert file reporter to use lumberjack 2020-10-09 11:00:25 -04:00
Mike Guthrie e5b61d9c57 Initial stab at session events 2020-10-08 19:26:20 -04:00
Paul Lorenz a7f8ca39f3 Add basic event registration framework 2020-10-08 19:26:09 -04:00
Paul Lorenz 426ac761a5 Stream timer metrics as well, where requested 2020-10-07 17:02:18 -04:00
Andrew Martinez 6a87ab7c30 Adds connected router version info to mgmt 2020-10-07 08:29:34 -04:00
Andrew Martinez 6289f6d551 update tests 2020-10-06 10:45:10 -04:00
Andrew Martinez a1df84e913 fixes openziti/fabric#133
- Adds version header to outgoing controller hellos and incomming router
  hellos
2020-10-06 09:41:36 -04: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 106843d210 Make it easier for clients to figure if/how metrics are grouped 2020-09-10 09:26:09 -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 53542cb2ad use event framework for session lifecycle for edge integration
- add clientId (edge session id) to delete events
2020-08-25 12:25:44 -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 e7c16e6901 Add some metrics cleanup and a stackdump separator tool 2020-08-11 12:59:58 -04:00
Paul Lorenz a9117f4426 Convert metrics, traces and session streams to new events framework. Fixes GH-106 2020-08-11 12:55:43 -04:00
Paul Lorenz c7ae352255 Fix xgress start race condition. Fixes GH-117 2020-08-11 09:19:47 -04:00