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
Paul Lorenz
a21fb393bb
Add websocket API for mgmt channel
2022-04-19 10:34:57 -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
Cam Otts
113c37024e
Added heartbeat logging/metrics to control channel ( #341 )
...
* Added heartbeat logging/metrics to control channel
* pr comments
* misunderstood last pr comment
* moved channel closing to happen in either case
2022-04-06 11:10:58 -05:00
Paul Lorenz
8150358d6b
Add service id to log message
2022-04-05 22:34:30 -04: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
7bd0f84832
Move profiler code to fabric since this is the only place it's used
2022-03-31 10:36:30 -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
88a28e7454
Merge pull request openziti/fabric#345 from openziti/move-config-to-fabric
...
Move foundation/config to fabric
2022-03-30 16:20:32 -04:00
Paul Lorenz
21c6866f42
Move foundation/config to fabric
2022-03-30 13:48:14 -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
Andrew Martinez
f12594602c
adds a default panic 500 HTTP status code
2022-03-21 09:50:53 -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
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
Paul Lorenz
5fc81fbf18
Update to use channel trace
2022-02-28 15:39:27 -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
76e139a26d
Remove deprecated management channel operations
2022-02-15 15:45:32 -05:00
Paul Lorenz
675b16ef98
Don't call message sends in control channel bind
2022-02-10 09:20:23 -05:00
Paul Lorenz
3cfea85bf7
Update links to use channel library
2022-01-31 15:52:10 -05:00
Paul Lorenz
e9133f4a94
Update router side of control channel to use channel library
2022-01-28 12:38:26 -05:00
Paul Lorenz
93ba2f460f
Merge remote-tracking branch 'origin/main' into update-channel
2022-01-28 11:09:47 -05:00
Andrew Martinez
27c9aaf2ed
add host/san validation
2022-01-28 10:01:49 -05:00
Paul Lorenz
84ae5576e1
Update to use channel library
2022-01-27 16:46:21 -05:00
Andrew Martinez
58f2268f35
add doc
2022-01-27 11:17:27 -05:00
Andrew Martinez
08e658514a
adds newListener and newAddress options for controller ip/hostname move
...
- ctrl section for fabric now supports newListener addresses, sent on
router connect
- xweb bindPoints now support newAddress, sent as a header on every
response
2022-01-27 10:17:53 -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
Andrew
41155960ea
Merge pull request openziti/fabric#302 from openziti/responder.set.content.length
...
sets content-length http response header
2022-01-06 13:28:25 -05:00
Andrew Martinez
778bb6d57c
changes debug logs to errors, provide fallback content on producer err
2022-01-06 13:21:59 -05:00