-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: calculate forward and backward loss (#860) - WIP
- Loading branch information
1 parent
ba3b99f
commit 00ea6f9
Showing
7 changed files
with
209 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Test forward and backward loss. | ||
largest_ttl: 3 | ||
rounds: | ||
- probes: | ||
- 1 C 333 10.1.0.1 0 12340 80 0 0 | ||
- 2 C 777 10.1.0.2 1 12340 80 0 0 | ||
- 3 C 778 10.1.0.3 2 12340 80 0 0 | ||
- probes: | ||
- 1 C 333 10.1.0.1 3 12340 80 0 0 | ||
- 2 A 777 10.1.0.2 4 12340 80 0 0 | ||
- 3 A 778 10.1.0.3 5 12340 80 0 0 | ||
- probes: | ||
- 1 C 333 10.1.0.1 6 12340 80 0 0 | ||
- 2 C 777 10.1.0.2 7 12340 80 0 0 | ||
- 3 C 778 10.1.0.3 8 12340 80 0 0 | ||
expected: | ||
hops: | ||
- ttl: 1 | ||
total_sent: 3 | ||
total_recv: 3 | ||
total_forward_loss: 0 | ||
total_backward_loss: 0 | ||
- ttl: 2 | ||
total_sent: 3 | ||
total_recv: 2 | ||
total_forward_loss: 1 | ||
total_backward_loss: 0 | ||
- ttl: 3 | ||
total_sent: 3 | ||
total_recv: 2 | ||
total_forward_loss: 0 | ||
total_backward_loss: 1 |
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.