Paul Lorenz
2b7db10913
Allow routers more control over link management ( #318 )
...
* Allow routers more control over link management
2022-03-07 12:22:17 -05:00
Geoff Berl
b8e2fb4369
Merge pull request openziti/fabric#327 from openziti/add-global-constants
...
Added global constants for use in this and other projects
2022-03-03 15:14:50 -05:00
gberl002
a934a76732
Removing contstants files and placing them in respective existing files
2022-03-02 17:19:24 -05:00
Cam Otts
725afe13de
added allow traversal flag ( #326 )
...
* added allow traversal flag
* Added test to verify a single router connection that is marked untraversable fails path creating
* Updated default cost to be one step above the threshold to avoid overflow.
* Updated checks to only care about middle routers. Fixed relevant unit tests and added test with untraversable middle router.
* Refactor allowTraversal to be flipped to noTraversal
* default noTraversal to false
2022-03-02 10:33:04 -06:00
Paul Lorenz
291c2df0c5
Allow service name for fabric service requests
2022-03-01 12:01:40 -05:00
gberl002
ce9dce27a3
Added global constants files for use in this and other projects
2022-02-28 13:51:23 -05:00
Paul Lorenz
6a21f127ff
notify route strategy of failure on timeout
2022-02-25 08:43:56 -05:00
Cam Otts
be30ee8026
Added cost to routers and relevant persistence and path checking. ( #324 )
...
* Added cost to routers and relevant persistence and path checking.
* removed router cost from config
* changed cost to be required on update
* removed some import reorderings and added fingerprint to be required
* missed one line
2022-02-23 10:14:00 -06:00
Paul Lorenz
db9e66e222
Merge pull request openziti/fabric#323 from openziti/circuit-event-refactor
...
Refactor circuit events. All circuit events now show all circuit data…
2022-02-22 13:33:22 -05:00
Paul Lorenz
883312255f
address review comments
2022-02-17 15:47:47 -05:00
Paul Lorenz
91585a84b7
Refactor circuit events. All circuit events now show all circuit data. Fixes openziti/fabric#322
2022-02-17 15:37:53 -05:00
Paul Lorenz
5eaa60e236
Use RemoveCB to update cache atomically. Do uncached lookup when updating cache
2022-02-17 15:35:57 -05:00
Paul Lorenz
01fa63e716
Use updated store events. Fixes openziti/fabric#319
2022-02-17 10:41:38 -05:00
Paul Lorenz
675b16ef98
Don't call message sends in control channel bind
2022-02-10 09:20:23 -05:00
Paul Lorenz
84ae5576e1
Update to use channel library
2022-01-27 16:46:21 -05:00
Paul Lorenz
4f5e7b3591
check idle circuits against path
2022-01-24 13:07:14 -05:00
Paul Lorenz
c425cc84a8
Move some events/metrics code from foundation to fabric
2022-01-20 17:22:50 -05:00
Paul Lorenz
e781e3c713
Update control channel to new channel API
2022-01-19 08:15:33 -05:00
Paul Lorenz
a918f1be0d
Merge pull request openziti/fabric#301 from openziti/fix-panic-on-missing-router
...
Fix panic on router missing message. Tidy logging, put more variables…
2022-01-10 16:16:22 -05:00
Paul Lorenz
3c098defb0
Add more router connect error logging ( #300 )
...
* Add more router connect error logging, fix cert validity check, handle multiple certs properly
2022-01-03 14:25:30 -05:00
Paul Lorenz
eb5e5ab4cc
Fix panic on router missing message. Tidy logging, put more variables in fields
2022-01-03 09:34:18 -05:00
Paul Lorenz
0164e5572e
Add support for inspect
2021-12-03 16:13:41 -05:00
Paul Lorenz
ba43810ffa
Remove error return that's always nil
2021-12-01 17:15:27 -05:00
Paul Lorenz
00957fe8e6
Implement router update/patch
2021-11-30 14:26:07 -05:00
Paul Lorenz
5a54c9b041
Add circuit router implementation
2021-11-30 14:05:23 -05:00
Paul Lorenz
ea1bac0b17
Add link implementation. Convert link to string from identity.TokenId
2021-11-30 14:05:21 -05:00
Paul Lorenz
ee15d29be5
Add initial rest interfaces for links and circuits
2021-11-30 13:57:36 -05:00
Paul Lorenz
d4f2d48545
Use 64 bit ids instead of 32 ids for links and circuits
2021-11-30 13:57:36 -05:00
Paul Lorenz
52cfbbbe29
Add REST based management API
2021-11-30 13:57:35 -05:00
Paul Lorenz
3a50999365
Add cache of links by router
2021-11-23 08:24:24 -05:00
Paul Lorenz
3968c268b9
Fix benchmark. Add some additional tuning
2021-11-22 17:35:12 -05:00
Paul Lorenz
1efd4ebb3d
Fix routing benchmark
2021-11-22 15:01:25 -05:00
Paul Lorenz
51a4fe8ed9
Import route evaluation with more efficient data structure
2021-11-19 15:17:56 -05:00
Paul Lorenz
4847cf1453
Add routing perf test and fix link cost check
2021-11-19 15:08:29 -05:00
Paul Lorenz
6ba7264ff3
Do additional cert chain and verify links with controller
2021-11-12 15:36:05 -05:00
Paul Lorenz
79fe8c7ddb
Add terminator to service events
2021-10-06 11:25:51 -04:00
Paul Lorenz
e3fe91a528
Remove unused map. Removed code could panic b/c of race condition
2021-09-09 10:28:20 -04:00
Paul Lorenz
58e159236d
Use string id instead of identity where we don't need certs
2021-09-03 14:10:28 -04:00
ziti-ci
23a9da54e7
Allow injecting context into path creation/establishment operations
2021-08-06 16:34:57 -04:00
Paul Lorenz
21c261fb19
Rename session -> circuit
2021-08-04 13:17:39 -04:00
Paul Lorenz
bcd1c374e8
Rename circuit to path
2021-08-04 13:16:09 -04:00
Paul Lorenz
b6026b0024
Reduce duplicate links by allowing pending links a short window to be completed before we try again
2021-08-04 13:03:47 -04:00
Michael Quigley
fa9da87419
Refactor ctrl_pb.Dial to support both LinkId and RouterId. ( #238 )
2021-05-14 14:35:12 -04:00
Paul Lorenz
478d8c1e0b
Remove eXtensible Terminator Validator framework (xtv) as it's now unused.
...
terminator validation can be done in custom control channel handlers instead
2021-04-29 12:45:07 -04:00
Andrew Martinez
4d9ea4e504
update cache instead of clearing
2021-04-08 16:00:42 -04:00
Andrew Martinez
b9b624a0a0
add ability to clear the cached state of a router from bbolt
...
Will be used for enrollment extension where the fingerprint has been
updated
2021-04-08 16:00:41 -04:00
Paul Lorenz
270fd077b1
Allow way to notify router of rename
2021-04-07 21:29:25 -04:00
Paul Lorenz
d0ceb31274
Change default metrics report interval to 1 minute
2021-03-31 18:48:57 -04:00
Paul Lorenz
451ea9e58a
Merge pull request openziti/fabric#224 from openziti/all-access-to-service-events-registry
...
Allow access to the service events registry
2021-03-25 09:34:25 -04:00
Paul Lorenz
59dd03cdca
Allow access to the service events registry
2021-03-23 17:11:18 -04:00