commit | 5f61ec2d83004dfa5aef5f7d54e33d7da8fe2c7c | [log] [tgz] |
---|---|---|
author | jeraldabraham <jeraldabraham@email.arizona.edu> | Thu Mar 20 10:41:53 2014 -0700 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Mar 20 11:46:42 2014 -0700 |
tree | 8f7bb1326ad9acad88eb96ae4e67617101223166 | |
parent | a8f2a920cd2c3248e19b914630ceeca65fba923d [diff] |
build: Update for the new time structs in ndn-cpp-dev Change-Id: I1dcf4bcc5ae74a37014652b8dc4b9b69fb2c670d refs: #1373
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.
This is an application tool developed over ndn-cpp APIs for TLV packet based communication over NDN configured network. The NDN network has to be first created with 'ndnx' and 'ndnd-tlv'. This is followed by environment security setup with 'ndn-cpp-security-tools'. The application also requires installation of ndn-cpp and CPP boost libraries. The installations need to follow a strict order as the ndnd
To run the following must be ensured(FOLLOW ORDER STRICTLY)
Install ndnx (install all necessary dependencies)
Install CPP Boost Library > 1.47
sudo apt-get install libboost1.48-all-dev
Install ndn-cpp-dev (install all necessary dependencies except boost)
Install ndnd-tlv install all necessary dependencies except boost)
Install and Configure Security Environment with ndn-cpp-security-tools
git clone git://github.com/jeraldabraham/ndn-traffic ndn-traffic cd ndn-traffic ./waf configure ./waf sudo ./waf install
Usage: ndntrafficserver [options] <Traffic_Configuration_File> Respond to Interest as per provided Traffic Configuration File Multiple Prefixes can be configured for handling. Set environment variable NDN_TRAFFIC_LOGFOLDER for redirecting output to a log. [-d interval] - set delay before responding to interest in milliseconds (minimum 0 milliseconds) [-h] - print help and exit Usage: ndntraffic [options] <Traffic_Configuration_File> Generate Interest Traffic as per provided Traffic Configuration File Interests are continuously generated unless a total number is specified. Set environment variable NDN_TRAFFIC_LOGFOLDER for redirecting output to a log. [-i interval] - set interest generation interval in milliseconds (minimum 1000 milliseconds) [-c count] - set total number of interests to be generated [-h] - print help and exit
ON MACHINE #1
Start the ndnd-tlv daemon
ndnd-tlv-start
Start traffic server
ndntrafficserver NDNTrafficServer.conf
ON MACHINE #2
Start the ndnd-tlv daemon
ndnd-tlv-start
Start the traffic client
ndntraffic NDNTrafficClient.conf