Paul Lorenz
74de7e65ee
update CODEOWNERS to sig-core and update MM notifications
2022-11-30 12:22:14 -05:00
Paul Lorenz
ec885daed5
Always use a new router instance for connected routers so we can ensure
...
disconnect handling applies to the right instance
2022-10-24 14:44:27 -04:00
Paul Lorenz
4a1f234839
Add linter and update deps
2022-10-10 13:29:40 -04:00
Paul Lorenz
02539e9e16
Support multiple control channels. Fixes openziti/fabric#469
2022-09-29 12:06:41 -04:00
Paul Lorenz
519574497e
Update to channel v2
2022-09-26 17:00:34 -04:00
Paul Lorenz
aafa99ae6f
Fix some linting issues. svcId -> serviceId
2022-09-15 17:34:44 -04:00
Paul Lorenz
aa6124105d
Update to usage v3. Adds circuit tags to usage. Fixes openziti/fabric#496
2022-09-15 17:34:33 -04:00
Paul Lorenz
096e981959
Add remote addr to circuit events. Fixes openziti/fabric#459
2022-09-06 22:58:06 -04:00
Paul Lorenz
4d05c59df0
Run gofmt -w -s
2022-08-22 14:17:43 -04:00
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
521c5d2be1
Fixes for command encoding and decoding
2022-08-11 11:24:23 -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
0e07f211be
Add flags to create/update commands. allows some lightweight logic specialization (eg priveleged vs non-priveleged updates)
2022-07-29 10:53:39 -04:00
Paul Lorenz
858642bc38
Move UpdatedFields to fabric. Start moving model layer to generics
2022-07-27 11:33:24 -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
3af3d447c3
Merge pull request openziti/fabric#451 from openziti/report-high-latency-on-hb-timeout
...
Report high latency on latency timeout. Use marker value of 88.888888…
2022-07-18 09:19:06 -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
8f0150f242
Add host id to terminator. This will allow tracking usage to hosting entities. Fixes openziti/fabric#440
2022-07-15 23:13:01 -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
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