Commit Graph

43 Commits

Author SHA1 Message Date
Michael Quigley fdd93d8d62 Default cycle time to 120 seconds (from 15). (#152) 2021-01-15 12:46:04 -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
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
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
Michael Quigley d17870d35b Remove stuttered naming. 2019-12-03 12:41:13 -05:00