Commit Graph

44 Commits

Author SHA1 Message Date
Paul Lorenz 32da1861ca Add router disable flag. Fixes openziti/fabric#651 2023-03-27 14:18:43 -04:00
Cam Otts c299a06669 Added raft leave and raft list members (#580)
* Added raft leave and raft list members

* reordered agent raft leave to only check address if is is not found

* instead of adding second raft ctrl, just cast the dispatcher
2023-01-12 10:18:13 -06: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 c77160ba6d Fix patching tags on routers and services. Fixes openziti/fabric#499 2022-09-14 23:29:07 -04:00
Paul Lorenz 4d05c59df0 Run gofmt -w -s 2022-08-22 14:17:43 -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 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 d3a5d5151f Merge pull request openziti/fabric#425 from openziti/circuit-failed-events
Circuit failed events
2022-06-22 15:00:58 -04:00
Paul Lorenz a731cd9aec Circuit failed events and rename terminator identity -> instanceId 2022-06-22 14:34:32 -04:00
Tod d8f5db8cf6 Prometheus format feedback (#422)
* Adding timestamps to prometheus bucket metrics

* Making Prometheus timestamps optional
2022-06-22 09:20:48 -04:00
Tod 1ccfa2f3dc Adding Metrics API on '/metrics' (#410)
* Adding fabric `/metrics` API/binding to provide metrics in the prometheus text exposition format (https://prometheus.io/docs/instrumenting/exposition_formats/#text-based-format)
2022-06-09 11:17:00 -04:00
Andrew Martinez 660a4af582 upgrades xweb to v2.0.0
- xweb v2 uses different simpler names
- reduce xweb instances to a single instance in fabric
2022-06-06 10:19:44 -04: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 c47f344066 move xweb out of fabric 2022-05-25 15:27:11 -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 8b871b09f2 Fix links list in circuit detail when listing circuits 2022-05-06 13:59:15 -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 e2d29d3f07 Rework model for circuit inspections. Add inspect support back to mgmt channel 2022-04-19 10:38:23 -04:00
Paul Lorenz a21fb393bb Add websocket API for mgmt channel 2022-04-19 10:34:57 -04:00
Paul Lorenz b35b532d25 Update to use storage library 2022-03-30 16:22:32 -04: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 ef7c69558b Copy db ops from edge to fabric (for eventual removal from edge). Add snapshot db agent op 2022-03-10 10:07:41 -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
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
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 0164e5572e Add support for inspect 2021-12-03 16:13:41 -05:00
Paul Lorenz 5b6a2eb988 Fix fabric auth and add tests 2021-12-01 17:03:41 -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