This tool is designed to send and receive large files in an NDN network.
Compiling and running ndn-traffic-generator requires the following dependencies:
-
C++ Boost Libraries version >= 1.48 http://www.boost.org
On Ubuntu 12.04:
sudo apt-get install libboost1.48-all-devOn Ubuntu 13.10 and later
sudo apt-get install libboost-all-devOn OSX with macports
sudo port install boostOn OSX with brew
brew install boost
On other platforms Boost Libraries can be installed from the packaged version for the distribution, if the version matches requirements, or compiled from source
-
ndn-cxx library https://github.com/named-data/ndn-cxx
For detailed installation instructions, please refer README file
-
NDN forwarding daemon https://github.com/named-data/NFD
./waf configure
./waf
sudo ./waf install
Usage: ndnfilesender <path to sender>/filename
Usage: ndnfilerequest <path to sender>/filename
Presently the filename that needs to be send has to be entered in the src/file-sender.cpp at onInputfile() only and then have to be recompiled and installed again and the name of the file which will be stored at the receiver side also has to be entered in src/file-requestor.cpp itself. This is just the optimization which needs to be done which can take it from the command line args only.
- These tools need not be used together and can be used individually as well.
- Please refer sample configuration files provided for details on how to create your own.
- Use command line options shown above to adjust traffic configuration.