commit | 7393cb4b759cb6f0d86f42530d23d8c36098789e | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davidepesa@gmail.com> | Thu Apr 09 22:03:22 2020 -0400 |
committer | Davide Pesavento <davidepesa@gmail.com> | Thu Apr 09 22:03:22 2020 -0400 |
tree | 33ee6a6413f0dec3aed3053a7c2185bae3f8922a | |
parent | 5b9c85a7e93276062dcf11e359ba4c7b7a81753d [diff] |
ci: update Travis configuration * Add testing on arm64, ppc64le, and s390x with select compiler versions * Drop all versions of gcc < 7 and clang < 5 * Add clang 11 (development branch) * Reenable ASan on Linux with clang 7, the upstream bug has been fixed * Drop Xcode 9.2 (macOS 10.12 is no longer supported) * Upgrade Xcode 11 to 11.3 Change-Id: I422d940f5599cbfc50860f4be9b7b98d683f41d2
This tool is designed to generate Interest and Data traffic in an NDN network. The client and server tool accept traffic configuration files which can be used to specify the pattern of NDN traffic that is required to be generated. Sample configuration files are provided which include instructions on how to configure various parameters.
Compiling and running ndn-traffic-generator requires the following dependencies:
./waf configure ./waf sudo ./waf install
Usage: ndn-traffic-server [options] <Traffic_Configuration_File> Respond to Interests as per provided Traffic_Configuration_File. Multiple prefixes can be configured for handling. Set the environment variable NDN_TRAFFIC_LOGFOLDER to redirect output to a log file. Options: -h [ --help ] print this help message and exit -c [ --count ] arg maximum number of Interests to respond to -d [ --delay ] arg (=0) wait this amount of milliseconds before responding to each Interest -q [ --quiet ] turn off logging of Interest reception/Data generation
Usage: ndn-traffic-client [options] <Traffic_Configuration_File> Generate Interest traffic as per provided Traffic_Configuration_File. Interests are continuously generated unless a total number is specified. Set the environment variable NDN_TRAFFIC_LOGFOLDER to redirect output to a log file. Options: -h [ --help ] print this help message and exit -c [ --count ] arg total number of Interests to be generated -i [ --interval ] arg (=1000) Interest generation interval in milliseconds -q [ --quiet ] turn off logging of Interest generation/Data reception
(NFD must be running)
Start the traffic server:
ndn-traffic-server ndn-traffic-server.conf
(NFD must be running)
Start the traffic client:
ndn-traffic-client ndn-traffic-client.conf