Paul Lorenz
e0f5092a08
Use one port for ctrl channel to router and controllers. Allow syncing existing DB to raft. Fixes #471 . Fixes openziti/fabric#479 .
2022-08-22 12:09:07 -04:00
Paul Lorenz
40ef589193
Fixes panic when dialing service with terminator but none for instanceId. Fixes openziti/fabric#463
2022-08-04 21:42:01 -04:00
Paul Lorenz
98160bb8b0
Merge pull request openziti/fabric#448 from openziti/link-events
...
Refactor events subsystem. Add link events. Fixes openziti/fabric#415
2022-07-19 10:59:27 -04:00
Paul Lorenz
7abe5d5605
Cleanup circuits for deleted routers. Fixes openziti/fabric#452
2022-07-18 15:03:35 -04:00
Paul Lorenz
960dfe88f6
Report high latency on latency timeout. Use marker value of 88.888888888 seconds. Fixes openziti/fabric#443
2022-07-15 23:45:31 -04:00
Paul Lorenz
77bce93e85
Refactor events subsystem. Add link events. Fixes openziti/fabric#415
...
Previously we often had two sets of events, one in the network
package, and then another in the events package. We now only
have one, in the events package. Events now have a public API,
with minimal deps. There's an implementation package which has
the dependencies. This allows the network package to generate
events, without have a circular dependency on the events
implementation package.
2022-07-15 18:31:52 -04:00
Paul Lorenz
70d37bf44a
Merge pull request openziti/fabric#430 from openziti/prevent-strange-loops
...
Prevent strange loops
2022-07-01 15:37:59 -04:00
Paul Lorenz
3d49022f4a
Update for foundation changes
2022-07-01 14:29:12 -04:00
Paul Lorenz
b281372757
Retry smart route on failure. Add circuit createdAt
2022-07-01 11:19:37 -04:00
Paul Lorenz
b26fcf8909
Fix copyright
2022-06-29 16:59:46 -04:00
Paul Lorenz
a731cd9aec
Circuit failed events and rename terminator identity -> instanceId
2022-06-22 14:34:32 -04:00
Cam Otts
45d49324c6
move terminator address to seperate field ( #412 )
...
* move terminator address to seperate field
* update circuit streaming to handle dedicated terminator address field
* Added circuit event terminator local address
2022-06-09 11:11:44 -05:00
Paul Lorenz
a64c626cb4
Controller -> Manager for entity managers
2022-06-02 22:53:22 -04:00
Paul Lorenz
eaa75d48c6
Initial support for distributed model via RAFT
2022-06-02 22:49:55 -04:00
tburtchell
cf28ad7edc
Metrics via inspect ( #409 )
...
* Adding inspect handling for 'metrics'
* Adding prometheus metric event format
2022-05-31 16:03:04 -04:00
Paul Lorenz
c9397175f0
Add service id to dial context and service name to CreateCircuit ctx
2022-05-12 16:29:43 -04:00
Paul Lorenz
dd5e549033
Merge pull request openziti/fabric#389 from openziti/add-link-count-cost-to-circuit-events
...
Add link count and cost to circuit events. Fixes openziti/fabric#388
2022-05-12 15:39:52 -04:00
Paul Lorenz
a4de1c1b9f
Merge pull request openziti/fabric#387 from openziti/make-initial-latency-configurable
...
Make initial link latency configurable. Fixes openziti/fabric#252
2022-05-12 15:39:12 -04:00
Cam Otts
0c7ff2bd5e
threaded a timout through fabric ( #356 )
...
* threaded a timout through fabric
* updated default timeout
* pr comments
* fix timing
* applied pr comments
* removed one more utc
* updated to time until and conditionally add deadline
* signed commit
* small proto change
* regenerate pb
* missed extra import
2022-05-12 14:32:18 -05:00
Paul Lorenz
e8285f76f3
Add link count and cost to circuit events. Fixes openziti/fabric#388
2022-05-11 13:03:08 -04:00
Paul Lorenz
01ffc402e3
Make initial link latency configurable. Fixes openziti/fabric#252
2022-05-11 09:51:56 -04:00
Paul Lorenz
2cdf3f469c
Verify router instead of link when getting new link dial
2022-05-10 14:26:55 -04:00
Paul Lorenz
b3c120f389
Add link delete method. Set initial link latency costs high.
2022-05-09 11:46:00 -04:00
Paul Lorenz
85a4d8484b
Address review comments
2022-04-26 13:49:33 -04:00
Paul Lorenz
4d45e2ab6c
Don't allow failed links to be marked as connected
2022-04-26 09:58:19 -04:00
Paul Lorenz
e2d29d3f07
Rework model for circuit inspections. Add inspect support back to mgmt channel
2022-04-19 10:38:23 -04:00
tburtchell
23cd6fe6e6
A couple more places where linkType -> linkProtocol refactor was missed ( #352 )
...
Co-authored-by: Tod Burtchell <tod.burtchell@netfoundry.io >
2022-04-12 11:26:01 -04:00
Paul Lorenz
86d1913763
make network exit an info instead of an error
2022-04-11 14:06:30 -04:00
Cam Otts
4b7a4d1081
added circuit creation timespan ( #349 )
...
* added circuit creation timespan
* added creation timespan to event message
2022-04-06 11:14:43 -05:00
Paul Lorenz
b35b532d25
Update to use storage library
2022-03-30 16:22:32 -04:00
Paul Lorenz
1ee1c644c5
Don't send egress on re-route, since it will always be ignored
2022-03-30 13:44:58 -04:00
Cam Otts
405492ce92
Route error codes ( #335 )
...
* Initial work on adding route error codes to route responses
* updated messaging
* Split out terminator incrementors
Added handling for Service Errors
Added initial steps at deleting misbehaving terminators
* Added test for destroying and settin gprecedence on terminators
Added handling for terminator errors in routing
* inverted error switch
* cleanup for pr
* PR comments
* refactored conditional printing to account for single node paths that don't have links
* added error log when route status
* added another misconfigured error
Co-authored-by: Paul Lorenz <paul.lorenz@netfoundry.io >
2022-03-23 12:51:49 -05:00
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
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
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
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
ea1bac0b17
Add link implementation. Convert link to string from identity.TokenId
2021-11-30 14:05:21 -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
51a4fe8ed9
Import route evaluation with more efficient data structure
2021-11-19 15:17:56 -05:00
Paul Lorenz
6ba7264ff3
Do additional cert chain and verify links with controller
2021-11-12 15:36:05 -05: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