Commit Graph

18 Commits

Author SHA1 Message Date
Andrew Martinez 45158ff864 updates to newest foundation/fabric/sdk-golang 2021-10-18 16:07:33 -04:00
Paul Lorenz ace44b4e75 Fix panic. Fix generate rest script. Add metric for unknown api session tokens 2021-06-21 15:17:46 -04:00
Paul Lorenz d920dbbd93 Fix sync early exit bug. Track new session during sync. Simplify thre… (#686)
* Fix sync early exit bug. Track new session during sync. Simplify threading and tighten up locking. Add dump api-sessions debug operation

* Address review comments. Remove spurious error message. Fix defaultHostingCost/Precedence field names
2021-06-11 14:01:20 -04:00
Paul Lorenz 025cfc204d Move service list handler invoke out of decode loop 2021-05-06 13:00:48 -04:00
Andrew Martinez 4a9b226f0e adds the ability for router to extend their enrollment
- routers can now opt to extend their enrollment at any time with a
  previous or new key
- adds tests for router enrollment
- adds tests for router enrollment extension
2021-04-14 09:21:59 -04:00
Andrew Martinez ba1427d2d9 add posture check disconnect test 2021-03-26 09:38:14 -04:00
Paul Lorenz 038e9bdd91 Add support for host.v1. Add health checks to host.v1. Add host.v2 (multiple terminators). Add support for health events. 2021-03-25 15:43:07 -04:00
Paul Lorenz 680852f80e Allow tunnel to run over xgress directly 2021-03-22 14:33:54 -04:00
Paul Lorenz 155bbd8217 Validate sessions on controller instead of edge router 2021-02-17 20:38:13 -05:00
Andrew Martinez 12ab2bbb34 do not remove api sessions added after/during sync 2021-02-17 10:54:07 -05:00
Andrew Martinez f061ba7c33 spelling/cleanup 2021-02-15 13:22:08 -05:00
Andrew Martinez ad03b24546 shutdown go routines, log messages
- shut down go routines for handlers on HandleClose
- fix log messages and add more states to sync tracking
- remove nil sync fail output
2021-02-15 13:22:07 -05:00
Andrew Martinez fdb2fb35ad rename routerTx to routerSender 2021-02-15 13:22:07 -05:00
Andrew Martinez 41884d6482 router log cleanup 2021-02-15 13:22:07 -05:00
Andrew Martinez a8f1b8b79a moves sync strat/state to headers 2021-02-15 13:22:07 -05:00
Andrew Martinez d07618c9d5 modular edge router sync
- edge router sync is now modular and can have different strategies
- plans to make this configurabe in the future with multiple strat
- legacy strategy is called "instant" and is the only option
- instant strat now supports control signaling and resync requests
- edge routers now do not remove connections till after a full sync
- added the ability for the controller to report the er sync status
- added er syn status to GET /edge-routers list and detail
- improved log output in sync logic
2021-02-15 13:22:07 -05:00
Curt Tudor 2c6814aaa4 edge router enhancements for browZer support (#499) 2021-02-04 06:09:46 -05:00
Andrew Martinez 41da009787 remove the last of the things named gateway 2020-10-08 07:53:17 -04:00