Commit Graph

60 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 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 925f300351 New route sender state machine skeleton. 2021-02-05 13:04:24 -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 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
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 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 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 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
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 2a69b600d3 Make db snapshot too frequent an explicit error type so we can detect it in higher levels 2020-06-19 14:12:18 -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
Paul Lorenz 373e20d8d1 Allow routers with nil fingerprints. Allows multi-step enrollment. Fixes GH-97 2020-06-02 16:49:46 -04:00
Michael Quigley 10e6a7ef93 netfoundry/ziti-fabric -> openziti/fabric 2020-05-26 17:14:16 -04:00
Paul Lorenz 414cb52953 Implement update terminator for ctrl channel. Lots of xt fixes. Log level tidying 2020-05-06 14:29:10 -04:00
Paul Lorenz 6581abed18 Ensure links are calculated on precalculated paths 2020-05-04 20:17:53 -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
Paul Lorenz df0d35e576 Sync terminators when routers connect so invalid terminators can be r… (#86)
* Sync terminators when routers connect so invalid terminators can be removed
2020-04-27 15:56:54 -04:00
Paul Lorenz c19f0dbbd4 Allow router to be shutdown for tests 2020-04-23 20:20:49 -04:00
Michael Quigley da0025381e Test fixes. 2020-04-01 14:49:42 -04:00
Michael Quigley 8ef0c5f6e1 Merge branch 'master' into p14_c1 2020-04-01 10:25:27 -04:00
Andrew 1d7a04a111 Merge pull request openziti/fabric#71 from netfoundry/tx.router.connection.status
expose IsConnected(routerId) for edge use
2020-04-01 09:58:56 -04:00
Andrew Martinez 8640e698f9 remove GetRouterController() 2020-04-01 09:55:32 -04:00
Andrew Martinez db3f6845bd expose IsConnected(routerId) for edge use 2020-03-31 15:13:01 -04:00
Michael Quigley 510b5205ac Merge branch 'master' into p14_c1 2020-03-25 13:39:40 -04:00