-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Select links based on message Priority & Reliability (#1398)
* Add wip `QoS`-based priority-to-link dispatch impl * Improve `QoS` state machine * Add `PriorityRange` negotiation tests * Refactor link selection function * Minor edits * Add Link selectioh tests * Minor edits * More minor edits * Never disobey Clippy * Implement Reliability negotiation * Apply negotiated Reliability to Link config * Document Endpoint `reliability` metadata * I'm sorry Clippy * Make `PriorityRange` inclusive * Clippy lints are inevitable * Make Reliability negotiation stricter * Refactor negotiation tests * We are still not `core::error::Error` * Use `RangeInclusive` * Clippy at it again * Split `State` into `StateOpen` and `StateAccept` * Remove `NewLinkUnicast` * Fix test typos * Patch `Link::src` and `Link::dst` with negotiated metadata * Optimize `QoS` extension overhead * Implement `Display` instead of `ToString` for `PriorityRange` * Fix typo (metdata -> metadata) * Fix `n_exts` in `INIT` codec * Add missing `'static` lifetime in const * Don't compare `Link` to `TransportLinkUnicast` * Don't set Link Reliability if not configured * Update DEFAULT_CONFIG * Move metadata docs to `Endpoint` * Add Endpoint examples * Fix doc list items without indentation * Update Endpoint links in DEFAULT_CONFIG * Change `x..=y` syntax to `x-y` * Connect to multiple links with distinct priorities when scouting (wip) * Add `LocatorInspector::is_reliable` * Compare locator Reliability even if not set * Apply `cargo +stable clippy --fix` * Get transport at each locator iteration * Don't try to connect to peer whaile already connecting to it * Fix return value of `Runtime::connect` * Fix `PriorityRange` formatting --------- Co-authored-by: OlivierHecart <olivier.hecart@adlinktech.com>
- Loading branch information
1 parent
bf010dc
commit 965e905
Showing
42 changed files
with
1,511 additions
and
309 deletions.
There are no files selected for viewing
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
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.