Commit Graph

52 Commits

Author SHA1 Message Date
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
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 ace22c581a Merge branch 'master' into p14_c1 2020-03-30 14:12:12 -04:00
Paul Lorenz 2f94fe061f Update for foundation API change. Support list by roles. (#68)
* Update for foundation API change. Support list by roles.
2020-03-27 12:42:42 -04:00
Michael Quigley 510b5205ac Merge branch 'master' into p14_c1 2020-03-25 13:39:40 -04:00
ekoby 8c48ac871e relocate metrics to ziti-foundation (#63)
metrics package is now in ziti-foundation
* update and tidy go.mod
* fix: use ziti-foundation/metrics
2020-03-24 18:37:28 -04:00
Michael Quigley a3838ed857 Controller changes to support non 'transport.Address' addresses (string). Enough 'xlink_transwarp' to minimally establish a connection. (#44) 2020-03-24 16:00:36 -04:00
Paul Lorenz 1b14d00861 Use short ids for terminators. Fixes GH-65 (#66) 2020-03-24 13:45:35 -04:00
Michael Quigley a09a608449 HelloRouterAdvertisementsHeader. (#54) 2020-03-24 11:10:01 -04:00
Michael Quigley cc6a231580 Merge branch 'master' into p14_c1 2020-03-24 10:09:01 -04:00
Paul Lorenz bc2d3c6fe2 Adapt to foundation API change (#60)
* Adapt to foundation API change
2020-03-23 14:34:54 -04:00
Michael Quigley 2902c4942b Move the X... frameworks underneath controller/ or router/. 2020-03-20 13:57:59 -04:00
Paul Lorenz c32144d668 Remove copyright date 2020-03-19 13:26:09 -04:00
Paul Lorenz 6fdd5bcda5 Add support for multiple endpoints to services and sync model abstrac… (#53)
* Add support for multiple terminators to services and sync model abstractions with edge

* Add Snapshot to db.Db

* Make API friendly errors

* Add association querying. Consolidate Entity* interfaces
2020-03-19 13:23:16 -04:00
Paul Lorenz 7f2515cbeb Separate bolt stores into db package 2020-02-27 15:15:08 -05:00
ekoby 7f6fb5e5eb initial support for passing crypto material (#41)
implement passing information between hosting and dialing endpoints (used for crypto key exchange)
2020-02-27 12:57:39 -05:00
Michael Quigley a611160cc1 Fixed. 2020-01-17 13:31:01 -05:00
Michael Quigley 42307baf3d Fixed. 2020-01-17 13:25:53 -05:00
Andrew Martinez 111b99ac90 moves db close after network.Shutdown() 2020-01-08 14:53:10 -05:00