lhy917 / HoBHIS

ndnSIM implementation of the Hop-by-hop Interest shaping mechanism for Content-Centric Networking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HoBHIS

ndnSIM implementation of the Hop-by-hop Interest shaping mechanism for Content-Centric Networking

More detailed information about the mechanism can be found here: http://www-npa.lip6.fr/~rozhnova/papers/nomen2012.pdf

The implementation has been developed and tested for ns-3 version 3.14.1 (3.15).

How to install:

  1. Prerequisites install the appropriate packages. Example debian:

    aptitude install g++ libboost-dev-all ...

  2. Clone the repositories:

    mkdir HoBHIS cd HoBHIS git clone git@github.com:Be1thaz0r/HoBHIS.git .

  3. Compile the code:

    cd HoBHIS/ns-3/ ./waf configure --enable-examples --disable-python ./waf

If the compilation fails due to warnings, please remove the option [-Werror] from waf-tools/cflags.py

If the module ndnSIM is not built check for the paths to the boost libraries. This issue typically occurs on Debian 64 since waf is unable to locate them. A workaround consists in running instead in specifying the boost include and boost lib directories.

./waf configure --boost-includes=/path/to/boost/includes --boost-lib=/path/to/boost/libs --enable-examples --disable-python
./waf

Example: under Debian x64:

./waf configure --boost-lib=/usr/lib/x86_64-linux-gnu --enable-examples --disable-python
./waf
  1. Run tests. For instance:

    ./waf --run hobhis-chain

See ndnSIM/examples/HowTo.txt for more details. You can find more examples and results in ndnSIM/examples folder.

This release includes:

  1. HoBHIS

    1.1) mono-conversation

    1.2) multi-conversation

    1.3) random generation of the response delay by server

NB standard ns3 tracing is not tested yet

Please, do not hesitate to contact me in case of any problem/question or some suggestions: Natalya Rozhnova: natalya.rozhnova (at) lip6.fr

About

ndnSIM implementation of the Hop-by-hop Interest shaping mechanism for Content-Centric Networking


Languages

Language:Python 67.8%Language:C++ 29.9%Language:Perl 0.8%Language:C 0.4%Language:HTML 0.2%Language:ApacheConf 0.2%Language:Erlang 0.2%Language:Makefile 0.1%Language:CSS 0.1%Language:JavaScript 0.1%Language:Shell 0.1%Language:Prolog 0.1%Language:MATLAB 0.1%Language:Gnuplot 0.0%Language:R 0.0%Language:Ruby 0.0%