Commit Graph

72 Commits

Author SHA1 Message Date
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
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 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 b411831ef2 Move xt strategy init (#88)
* Strategies need to be initialized earlier or startup fails. Fix bug where costs were not getting set
2020-05-01 11:53:18 -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 213b939e99 Integrate Xt at store level. Add migration code. (#85)
* Integrate Xt at store level. Add migration code.
2020-04-27 14:17:04 -04:00
Paul Lorenz 5c6ed8a6fd Add Xt (eXtensible Terminator strategies) framework (#84)
* Add Xt (eXtensible Terminator strategies) framework
2020-04-27 11:28:46 -04:00
Paul Lorenz c19f0dbbd4 Allow router to be shutdown for tests 2020-04-23 20:20:49 -04:00
Paul Lorenz 1177dcb6e9 Update deps and update error messages 2020-04-21 14:42:08 -04:00
Andrew M 3c26a7586d error message format 2020-04-20 09:18:33 -04:00
Andrew M 11f1b477a5 updates for add.channel2.connect.options 2020-04-20 09:00:35 -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