Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds a feature to give the user the option to specify a custom file as payload to fill netperf's buffers. Previously, netperf buffers were filled with randomised payload from the /dev/urandom device file. But now with the --test-payload option a custom file can also be sent as payload. Flent will check if the file is readable before passing it to netperf, and fail the test run if it isn't. This can be useful in test scenarios where some data needs to be sent along with the packets when running the provided tests. Signed-off-by: Hrishikesh Athalye <hathalye7@hotmail.com>
- Loading branch information
1 parent
5527b18
commit 42e0f29
Showing
3 changed files
with
19 additions
and
5 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