-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework MGS internals to use
SingleSp
The changes include: * Removal of `RecvHandler` and all its supporting machinery; instead of a monster tokio task reponsible for recv'ing on all sockets, pairing up request/response IDs, etc., we spawn a `SingleSp` task for each switch port that manages all communication on that port's socket. * Removal of the `timeout` option to most SP calls. `SingleSp` already has inherent (configured) timeouts for retries. At the HTTP client level, the client can already establish its own timeouts (e.g., in the event the network connection between client and server goes down); we don't need separate timeouts for SP communications (which the client has no reason to know how to set). * The serial console websocket handling has moved from `gateway-sp-comms` to `gateway`.
- Loading branch information
1 parent
1e552fb
commit 0b3b584
Showing
25 changed files
with
598 additions
and
1,788 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.