Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 1 | Getting Started |
| 2 | =============== |
| 3 | |
| 4 | Portability |
| 5 | ------------ |
| 6 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 7 | .. image:: https://travis-ci.org/named-data-ndnSIM/ndnSIM.svg?branch=test-travis-ci |
| 8 | :target: https://travis-ci.org/named-data-ndnSIM/ndnSIM |
| 9 | |
Alexander Afanasyev | 8e60bcd | 2015-01-15 20:55:40 +0000 | [diff] [blame] | 10 | ndnSIM 2.0 has been successfully compiled and used on following platforms: |
| 11 | |
| 12 | - Ubuntu Linux 12.04 (see the note) |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 13 | - Ubuntu Linux 14.04 (32- and 64-bit platform) |
Alexander Afanasyev | b4cf179 | 2016-06-26 21:16:24 -0700 | [diff] [blame^] | 14 | - Ubuntu Linux 16.04 (32- and 64-bit platform) |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 15 | - OS X 10.9 |
Alexander Afanasyev | 8e60bcd | 2015-01-15 20:55:40 +0000 | [diff] [blame] | 16 | - OS X 10.10 |
Alexander Afanasyev | b4cf179 | 2016-06-26 21:16:24 -0700 | [diff] [blame^] | 17 | - OS X 10.11 |
Alexander Afanasyev | 8e60bcd | 2015-01-15 20:55:40 +0000 | [diff] [blame] | 18 | |
| 19 | .. note:: |
| 20 | ndnSIM is currently cannot be compiled on Ubuntu Linux 12.04 with the packaged boost |
| 21 | libraries (there is an `issue with boost 1.48 and gcc 4.6 |
| 22 | <https://svn.boost.org/trac/boost/ticket/6153>`_). It is still possible to compile ndnSIM |
| 23 | on this platform, but either compiler or boost libraries (or both) need to get upgraded. |
| 24 | |
| 25 | More recent version of boost can be installed from "Boost C++ Libraries" team PPA:: |
| 26 | |
| 27 | sudo apt-get install python-software-properties |
| 28 | sudo add-apt-repository ppa:boost-latest/ppa |
| 29 | sudo apt-get update |
| 30 | sudo apt-get install libboost1.55-all-dev |
| 31 | |
Spyridon Mastorakis | f542c0b | 2015-08-11 22:59:18 -0700 | [diff] [blame] | 32 | # add --boost-libs=/usr/lib/x86_64-linux-gnu to ./waf configure |
Alexander Afanasyev | 8e60bcd | 2015-01-15 20:55:40 +0000 | [diff] [blame] | 33 | # ./waf configure --boost-libs=/usr/lib/x86_64-linux-gnu |
| 34 | |
| 35 | Make sure that all other version of boost libraries (``-dev`` packages) are removed, |
| 36 | otherwise compilation will fail. |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 37 | |
| 38 | .. _requirements: |
| 39 | |
Spyridon Mastorakis | 460f57c | 2014-12-17 00:44:14 -0800 | [diff] [blame] | 40 | Prerequisites |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 41 | ------------- |
| 42 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 43 | **1. Core dependencies** |
| 44 | |
| 45 | - ``python`` >= 2.6 |
| 46 | - ``libsqlite3`` |
| 47 | - ``libcrypto++`` |
| 48 | - ``pkg-config`` |
| 49 | - Boost libraries >= 1.49 |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 50 | |
Alexander Afanasyev | 26b558b | 2012-12-13 11:39:46 -0800 | [diff] [blame] | 51 | .. role:: red |
| 52 | |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 53 | .. note:: |
Spyridon Mastorakis | c33e288 | 2015-01-20 21:45:44 -0800 | [diff] [blame] | 54 | If you do not have root permissions to install boost, you can install it in your home |
Spyridon Mastorakis | 460f57c | 2014-12-17 00:44:14 -0800 | [diff] [blame] | 55 | folder. However, you need to be make sure that `libboost_iostreams` library is successfully |
| 56 | compiled and is installed. Please refer to :ref:`the following example <Installing boost |
| 57 | libraries>` for the hints how to successfully compile and install boost libraries on Ubuntu |
| 58 | Linux. |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 59 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 60 | Following are the detailed steps for each platform to install the compiler, all necessary |
| 61 | development tools and libraries, and ndn-cxx prerequisites. |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 62 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 63 | - OS X |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 64 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 65 | * OS X with MacPorts: |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 66 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 67 | .. code-block:: bash |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 68 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 69 | sudo port install pkgconfig boost sqlite3 libcryptopp |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 70 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 71 | * OS X with HomeBrew: |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 72 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 73 | .. code-block:: bash |
Alexander Afanasyev | 326410e | 2013-03-09 20:39:11 -0800 | [diff] [blame] | 74 | |
Alexander Afanasyev | b4cf179 | 2016-06-26 21:16:24 -0700 | [diff] [blame^] | 75 | brew install boost cryptopp pkg-config libxml2 |
| 76 | brew link --force libxml2 |
Alexander Afanasyev | 326410e | 2013-03-09 20:39:11 -0800 | [diff] [blame] | 77 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 78 | - Linux |
Alexander Afanasyev | 326410e | 2013-03-09 20:39:11 -0800 | [diff] [blame] | 79 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 80 | * Ubuntu Linux |
Alexander Afanasyev | 326410e | 2013-03-09 20:39:11 -0800 | [diff] [blame] | 81 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 82 | .. code-block:: bash |
Alexander Afanasyev | 326410e | 2013-03-09 20:39:11 -0800 | [diff] [blame] | 83 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 84 | sudo apt-get install build-essential libsqlite3-dev libcrypto++-dev |
Alexander Afanasyev | 326410e | 2013-03-09 20:39:11 -0800 | [diff] [blame] | 85 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 86 | # For Ubuntu 12.04 |
| 87 | sudo apt-get install python-software-properties |
| 88 | sudo add-apt-repository ppa:boost-latest/ppa |
| 89 | sudo apt-get update |
| 90 | sudo apt-get install libboost1.55-all-dev |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 91 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 92 | # For all other Ubuntu versions |
| 93 | sudo apt-get install libboost-all-dev |
Alexander Afanasyev | df26b5a | 2015-01-15 23:30:56 -0800 | [diff] [blame] | 94 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 95 | * Fedora Linux |
Alexander Afanasyev | df26b5a | 2015-01-15 23:30:56 -0800 | [diff] [blame] | 96 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 97 | .. code-block:: bash |
| 98 | |
| 99 | sudo yum install gcc-g++ git sqlite-devel cryptopp-devel boost-devel |
| 100 | |
| 101 | .. note:: |
| 102 | :red:`ndnSIM requires boost version at least 1.49.` Many linux distribution |
| 103 | (Fedora 16, 17 at the time of this writing) ship an old version of boost, making it |
| 104 | impossible to compile ndnSIM out-of-the-box. Please install the latest version, following |
| 105 | :ref:`these simple instructions <Installing boost libraries>`. |
| 106 | |
| 107 | **2. Dependencies for NS-3 Python bindings** |
| 108 | |
| 109 | If you are planning to use NS-3 python bindings, a number of additional dependencies |
| 110 | should be installed. For example, in order to run `visualizer`_ module, the following |
| 111 | should be installed: |
| 112 | |
| 113 | - OS X |
| 114 | |
| 115 | * OS X with MacPorts: |
| 116 | |
| 117 | .. code-block:: bash |
| 118 | |
| 119 | sudo port install py27-pygraphviz py27-goocanvas |
| 120 | |
| 121 | # If you add NDN macports repository, as described in |
| 122 | # http://named-data.net/doc/NFD/current/INSTALL.html#install-nfd-using-the-ndn-macports-repository-on-os-x |
| 123 | # you will be able to install another useful python module |
| 124 | # sudo port install py27-kiwi |
| 125 | |
| 126 | * OS X with HomeBrew |
| 127 | |
Alexander Afanasyev | b4cf179 | 2016-06-26 21:16:24 -0700 | [diff] [blame^] | 128 | Currently, there are many missing dependencies, so it is impossible to use visualizer module with HomeBrew. Use MacPorts instead. |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 129 | |
| 130 | - Linux |
| 131 | |
| 132 | * Ubuntu Linux |
| 133 | |
| 134 | .. code-block:: bash |
| 135 | |
| 136 | sudo apt-get install python-dev python-pygraphviz python-kiwi |
| 137 | sudo apt-get install python-pygoocanvas python-gnome2 |
| 138 | sudo apt-get install python-rsvg ipython |
| 139 | |
| 140 | * Fedora Linux |
| 141 | |
| 142 | .. code-block:: bash |
| 143 | |
| 144 | sudo yum install pygoocanvas python-kiwi graphviz-python |
| 145 | |
| 146 | # easy_install method, since pygraphviz is not (yet?) packaged into Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=740687) |
| 147 | sudo yum install graphviz-devel |
| 148 | sudo yum install python-pip |
| 149 | sudo easy_install pygraphviz |
Alexander Afanasyev | df26b5a | 2015-01-15 23:30:56 -0800 | [diff] [blame] | 150 | |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 151 | .. _visualizer: http://www.nsnam.org/wiki/index.php/PyViz |
| 152 | |
| 153 | Downloading ndnSIM source |
| 154 | ------------------------- |
| 155 | |
Spyridon Mastorakis | 460f57c | 2014-12-17 00:44:14 -0800 | [diff] [blame] | 156 | ndnSIM package consists of three pieces: |
| 157 | |
Spyridon Mastorakis | 460f57c | 2014-12-17 00:44:14 -0800 | [diff] [blame] | 158 | - a custom branch of NS-3 that contains a few useful patches |
| 159 | - a customized python binding generation library (necessary if you want to use NS-3's python |
| 160 | bindings and/or visualizer module) |
| 161 | - the source code of ndnSIM module |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 162 | - modified source code of ndn-cxx library and NDN Forwarding Daemon (NFD), attached to |
| 163 | ndnSIM git repository as git submodules |
Spyridon Mastorakis | 460f57c | 2014-12-17 00:44:14 -0800 | [diff] [blame] | 164 | |
| 165 | The following commands download all pieces from GitHub repositories: |
Alexander Afanasyev | 326410e | 2013-03-09 20:39:11 -0800 | [diff] [blame] | 166 | |
| 167 | .. code-block:: bash |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 168 | |
Spyridon Mastorakis | 460f57c | 2014-12-17 00:44:14 -0800 | [diff] [blame] | 169 | mkdir ndnSIM |
| 170 | cd ndnSIM |
Alexander Afanasyev | d6453cd | 2015-08-20 21:45:36 -0700 | [diff] [blame] | 171 | git clone https://github.com/named-data-ndnSIM/ns-3-dev.git ns-3 |
| 172 | git clone https://github.com/named-data-ndnSIM/pybindgen.git pybindgen |
Spyridon Mastorakis | a1d135b | 2015-08-20 20:24:59 -0700 | [diff] [blame] | 173 | git clone --recursive https://github.com/named-data-ndnSIM/ndnSIM.git ns-3/src/ndnSIM |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 174 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 175 | The last command downloads ndnSIM source code and source code of all submodules (i.e., |
| 176 | ndn-cxx and NFD). If you previously cloned without ``--recursive`` flag, the correct |
| 177 | versions of submodules can be retrieved using: |
| 178 | |
| 179 | .. code-block:: bash |
| 180 | |
| 181 | git submodule update --init |
| 182 | |
| 183 | The same command should be run to update submodules when there are new changes available. |
| 184 | |
| 185 | .. note:: |
| 186 | A few modification to the base NS-3 and pybindgen are necessary to run successfully |
| 187 | compile and run ndnSIM. Some of the changes are specific to ndnSIM and some are |
| 188 | bugfixes that we are submitting to NS-3 upstream. We also periodically update |
| 189 | repository with the new NS-3 releases, usually in form of rebasing (and if necessary |
| 190 | updating or eliminating) our custom patches on top of the released commits. |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 191 | |
Alexander Afanasyev | 701e508 | 2013-03-13 09:47:50 -0700 | [diff] [blame] | 192 | |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 193 | Compiling and running ndnSIM |
| 194 | ---------------------------- |
| 195 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 196 | ndnSIM uses a standard NS-3 compilation procedure. Normally the following commands should be |
| 197 | sufficient to configure and build ndnSIM with python bindings enabled: |
Alexander Afanasyev | 326410e | 2013-03-09 20:39:11 -0800 | [diff] [blame] | 198 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 199 | .. code-block:: bash |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 200 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 201 | cd <ns-3-folder> |
| 202 | ./waf configure --enable-examples |
| 203 | ./waf |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 204 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 205 | On OS X (with MacPorts), you may need to modify the configure command to use MacPorts |
| 206 | version of python: |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 207 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 208 | .. code-block:: bash |
Alexander Afanasyev | 326410e | 2013-03-09 20:39:11 -0800 | [diff] [blame] | 209 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 210 | cd <ns-3-folder> |
| 211 | ./waf configure --with-python=/opt/local/bin/python2.7 --enable-examples |
| 212 | # or run ``sudo port select python python27`` |
| 213 | ./waf |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 214 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 215 | .. note:: |
| 216 | On OS X configuration stage may get :ref:`stuck at detecting gtk module <Problems with |
| 217 | the gtk python module on OS X>`. Make sure you have `XQuartz |
| 218 | <http://xquartz.macosforge.org>`_ installed or disable python as described in the |
| 219 | following instructions. |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 220 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 221 | Python bindings is an optional and not very stable feature of NS-3 simulator. It is |
| 222 | possible to disable python bindings compilation either to speed up compilation or to avoid |
| 223 | certain compilation errors (e.g., "Could not find a task generator for the name |
| 224 | 'ns3-visualizer'"): |
Spyridon Mastorakis | c33e288 | 2015-01-20 21:45:44 -0800 | [diff] [blame] | 225 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 226 | .. code-block:: bash |
Alexander Afanasyev | 326410e | 2013-03-09 20:39:11 -0800 | [diff] [blame] | 227 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 228 | cd <ns-3-folder> |
| 229 | ./waf configure --disable-python --enable-examples |
| 230 | ./waf |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 231 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 232 | For more configuration options, please refer to ``./waf --help``. |
Alexander Afanasyev | e095f0f | 2012-11-21 17:43:32 -0800 | [diff] [blame] | 233 | |
Spyridon Mastorakis | f34b319 | 2015-02-16 17:42:01 -0800 | [diff] [blame] | 234 | |
Alexander Afanasyev | 701e508 | 2013-03-13 09:47:50 -0700 | [diff] [blame] | 235 | Simulating using ndnSIM |
| 236 | ----------------------- |
| 237 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 238 | - Example simulation scenarios |
Alexander Afanasyev | 701e508 | 2013-03-13 09:47:50 -0700 | [diff] [blame] | 239 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 240 | When NS-3 is configured with ``--with-examples`` flag, you can directly run all examples |
| 241 | described in :doc:`examples section of this tutorial <examples>`. For example, to run |
| 242 | ``ndn-simple.cpp`` scenario, you can run the following command: |
| 243 | |
| 244 | .. code-block:: bash |
| 245 | |
| 246 | ./waf --run=ndn-simple |
| 247 | |
| 248 | To run ``ndn-grid.cpp`` scenario: |
| 249 | |
| 250 | .. code-block:: bash |
| 251 | |
| 252 | ./waf --run=ndn-grid |
| 253 | |
| 254 | To run the sample simulation scenarios with the logging module of NS-3 enabled (note that |
| 255 | this will work only when NS-3 is compiled in debug mode): |
| 256 | |
| 257 | .. code-block:: bash |
| 258 | |
| 259 | NS_LOG=ndn.Producer:ndn.Consumer ./waf --run=<scenario name> |
| 260 | |
| 261 | If you have compiled with python bindings, then you can try to run these simulations with |
| 262 | visualizer: |
| 263 | |
| 264 | .. code-block:: bash |
| 265 | |
| 266 | ./waf --run=ndn-simple --vis |
| 267 | |
| 268 | or: |
| 269 | |
| 270 | .. code-block:: bash |
| 271 | |
| 272 | ./waf --run=ndn-grid --vis |
| 273 | |
| 274 | .. note:: |
| 275 | Do not forget to configure and compile NS-3 in optimized mode (``./waf configure -d |
| 276 | optimized``) in order to run actual simulations. |
Spyridon Mastorakis | 460f57c | 2014-12-17 00:44:14 -0800 | [diff] [blame] | 277 | |
| 278 | - Real experimentation |
| 279 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 280 | Simulation scenarios can be written directly inside NS-3 in ``scratch/`` or ``src/ndnSIM/examples`` folder. |
| 281 | |
| 282 | Alternative and a recommended way is to write simulation scenarios in a separate |
| 283 | repository, not related to either NS-3 or ndnSIM. For example, you can use the |
| 284 | following template to write your extensions, simulation scenarios, and metric processing |
| 285 | scripts: `<http://github.com/cawka/ndnSIM-scenario-template>`_: |
| 286 | |
| 287 | .. code-block:: bash |
| 288 | |
| 289 | mkdir ndnSIM |
| 290 | cd ndnSIM |
| 291 | git clone https://github.com/named-data-ndnSIM/ns-3-dev.git ns-3 |
| 292 | git clone https://github.com/named-data-ndnSIM/pybindgen.git pybindgen |
| 293 | git clone --recursive https://github.com/named-data-ndnSIM/ndnSIM.git ns-3/src/ndnSIM |
| 294 | |
| 295 | # Build and install NS-3 and ndnSIM |
| 296 | cd ns-3 |
| 297 | ./waf configure -d optimized |
| 298 | ./waf |
| 299 | |
| 300 | sudo ./waf install |
| 301 | cd .. |
| 302 | |
| 303 | git clone https://github.com/named-data-ndnSIM/scenario-template.git scenario |
| 304 | cd scenario |
| 305 | export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig |
| 306 | export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH |
| 307 | |
| 308 | ./waf configure |
| 309 | |
| 310 | ./waf --run <scenario> |
| 311 | |
| 312 | For more detailed information, refer to `README file |
| 313 | <https://github.com/cawka/ndnSIM-scenario-template/blob/master/README.md>`_. |
Spyridon Mastorakis | 460f57c | 2014-12-17 00:44:14 -0800 | [diff] [blame] | 314 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 315 | .. |
| 316 | Examples of template-based simulations |
| 317 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
Spyridon Mastorakis | 460f57c | 2014-12-17 00:44:14 -0800 | [diff] [blame] | 318 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 319 | 1. ndnSIM examples from `<http://ndnsim.net>`_ website and more: |
Spyridon Mastorakis | 460f57c | 2014-12-17 00:44:14 -0800 | [diff] [blame] | 320 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 321 | - `<http://github.com/cawka/ndnSIM-examples>`_, or |
Alexander Afanasyev | 701e508 | 2013-03-13 09:47:50 -0700 | [diff] [blame] | 322 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 323 | 2. Script scenarios and graph processing scripts for simulations used in "A Case for Stateful |
| 324 | Forwarding Plane" paper by Yi et al. (`<http://dx.doi.org/10.1016/j.comcom.2013.01.005>`_): |
Alexander Afanasyev | 701e508 | 2013-03-13 09:47:50 -0700 | [diff] [blame] | 325 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 326 | - `<http://github.com/cawka/ndnSIM-comcom-stateful-fw>`_, or |
Alexander Afanasyev | 701e508 | 2013-03-13 09:47:50 -0700 | [diff] [blame] | 327 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 328 | 3. Script scenarios and graph processing scripts for simulations used in "Rapid Traffic |
| 329 | Information Dissemination Using Named Data" paper by Wang et |
| 330 | al. (`<http://dx.doi.org/10.1145/2248361.2248365>`_): |
Alexander Afanasyev | 701e508 | 2013-03-13 09:47:50 -0700 | [diff] [blame] | 331 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 332 | - `<http://github.com/cawka/ndnSIM-nom-rapid-car2car>`_, or |
Alexander Afanasyev | 701e508 | 2013-03-13 09:47:50 -0700 | [diff] [blame] | 333 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 334 | - Rocketfuel-based topology generator for ndnSIM preferred format (randomly assigned link |
| 335 | delays and bandwidth, based on estimated types of connections between nodes): |
Alexander Afanasyev | 701e508 | 2013-03-13 09:47:50 -0700 | [diff] [blame] | 336 | |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 337 | - `<http://github.com/cawka/ndnSIM-sample-topologies>`_, or |