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
Andrew Martinez
6f867e34db
uses generic version of cmap
2022-05-27 09:47:15 -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
69bc2fb0cc
Update to transport/v2
2022-05-10 11:58:41 -04:00
Paul Lorenz
cca93c7eee
Update test for initial link cost changes
2022-05-09 11:46:44 -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
1874ab5f27
Allow a new control channel to takeover even if the router is already connected
...
Add churn limiter so it can only happen so often
2022-04-28 14:55:14 -04:00
Paul Lorenz
5d4947b505
Add a configurable minimum router cost
2022-04-27 14:41:55 -04:00
Paul Lorenz
18539faf87
Add dest type to routing so we don't need to overload ids
2022-04-27 11:20:02 -04:00
Paul Lorenz
e21d41df05
Notify controller of invalid destinations in routes.
...
Allow xgress and links to be destinguished by ID suffix
If a link destination is missing, send a link fault
Add forget-link router debug agent op to allow testing invalid
destinations
2022-04-26 22:16:58 -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
b48b1d6fc5
Add another path test. Address review comments
2022-04-19 21:50:21 -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
b264f89294
Fix issue where peerdata could be set to nil if non-terminator router return from route last
2022-04-04 15:37:12 -04:00
Paul Lorenz
9a344da855
Update to use transport library
2022-03-31 10:36:28 -04: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
648d89fb93
lower circuit retries ( #342 )
2022-03-30 09:24:45 -05:00
Paul Lorenz
84cfedf482
Add circuit inspection. Move ctrl handler pools to use goroutines.Pool
2022-03-24 13:32:56 -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
tburtchell
2f8a608c4c
Replacing link 'type' with 'protocol' and 'costTags' ( #336 )
...
* Replacing link 'type' with 'protocol' and 'costTags'
2022-03-22 09:06:02 -04: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
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