README.md 2.16 KB

ICN - ndnSIM

Before cloning this repository follow the following steps:-

  1. Install libboost dependency for NDN-Sim. Make sure that all other version of boost libraries (-dev packages) are removed, otherwise compilation might fail.

    sudo apt-get install python-software-properties
    sudo add-apt-repository ppa:boost-latest/ppa
    sudo apt-get update
    sudo apt-get install libboost1.55-all-dev

  2. Install other dependencies.

    sudo apt-get install python-dev python-pygraphviz python-kiwi
    sudo apt-get install python-pygoocanvas python-gnome2
    sudo apt-get install python-rsvg ipython

  3. Clone NS-3 and NDN-Sim.

    mkdir ndnSIM
    cd ndnSIM
    git clone https://github.com/cawka/ns-3-dev-ndnSIM.git ns-3
    git clone https://github.com/cawka/pybindgen.git pybindgen
    git clone https://git.ucsd.edu/dhsharma/ndnSIM.git ns-3/src/ndnSIM

  4. Compile NS-3 with NDN-Sim.

    cd ns-3
    ./waf configure --enable-examples
    ./waf
    If waf configure fails do this:
    sudo apt-get install libcrypto+ sqlite3 libsqlite3-dev

  5. Run an example senario to test the build.

    ./waf --run=ndn-simple
    OR
    ./waf --run=ndn-grid

Build Status

A new release of NS-3 based Named Data Networking (NDN) simulator
went through extensive refactoring and rewriting. The key new features of the new
version:

ndnSIM documentation

For more information, including downloading and compilation instruction, please refer to
http://ndnsim.net or documentation in docs/ folder.