Alexander Afanasyev | ab933c6 | 2015-01-14 00:50:31 -0500 | [diff] [blame] | 1 | ndnSIM Release Notes |
| 2 | ==================== |
| 3 | |
| 4 | This file contains ndnSIM release notes. |
| 5 | |
| 6 | All of the ndnSIM documentation is accessible from the `ndnSIM website <http://ndnsim.net>`__. |
| 7 | |
spirosmastorakis | c09bb40 | 2016-10-28 19:16:58 -0700 | [diff] [blame] | 8 | Release 2.2 (Changes since release 2.1) |
| 9 | --------------------------------------- |
| 10 | |
| 11 | Release date: November 11, 2016 |
| 12 | |
| 13 | Overview |
| 14 | ~~~~~~~~ |
| 15 | |
| 16 | - The submodules of NFD and ndn-cxx have been both upgraded to version 0.4.1 |
| 17 | (:issue:`3560`). |
| 18 | |
| 19 | Features of NFD: |
| 20 | |
| 21 | * Face system is refactored. |
| 22 | * Data Retrieval using full names is fixed. |
| 23 | * Allow setting CS capacity to 0. |
| 24 | * LinkService provides an "adaptation" layer to |
| 25 | translate between NDN packets and data blocks communicated through Transport. |
| 26 | * Face provides combines Transport and LinkServices, providing high-level |
| 27 | interface to work with Interest/Data/Nack packets inside NFD. |
| 28 | * Networking NACK in pipelines and best-route strategy. |
| 29 | * Refactored implementation of NFD management. |
| 30 | * Interest forwarding processes Link included in interest packets. |
| 31 | |
| 32 | Features of ndn-cxx: |
| 33 | |
| 34 | * LocalControlHeader for special signaling between application and NFD has |
| 35 | been replaced with NDNLPv2 signaling. |
| 36 | * NDNLPv2 Network NACK support in Face abstraction. |
| 37 | * New API in Face class to remove all pending Interests. |
| 38 | |
| 39 | .. note:: |
| 40 | In order to retrieve the marked versions of ndn-cxx and NFD, use |
| 41 | ``--recursive`` option to the git clone command or run ``git |
| 42 | submodule update --init`` after clone, pull, or merge. |
| 43 | |
| 44 | - Replace NetDeviceFace with NetDeviceFaceLinkService and AppFace with |
| 45 | AppFaceModel to match NFD's v0.4+ Face model (:issue:`3560`). |
| 46 | |
| 47 | ndnSIM (for now) intentionally uses LinkService instead of Transport for |
| 48 | optimization purposes and in order to preserve ns3::Packet Tags. This |
| 49 | may be fixed in the future when there is a different mechanism to |
| 50 | propagate ns3 Tags. |
| 51 | |
| 52 | .. note:: |
| 53 | This version of dnSIM does not include support for NDNLPv2 and, thus, cannot |
| 54 | yet be used to simulate network-level NACKs across the simulated nodes. |
| 55 | This will be addressed in the next release of ndnSIM. |
| 56 | |
| 57 | - ndnSIM no longer officially support Ubuntu Linux 12.04, as it now requires |
| 58 | a more modern compiler version and dependent libraries. |
| 59 | |
| 60 | New features |
| 61 | ~~~~~~~~~~~~ |
| 62 | |
| 63 | - The NetDevice address is now represented as a LocalUri instance for |
| 64 | NetDevice-based Faces (:issue:`2665`). |
| 65 | |
| 66 | - Enable configurability of NFD's managers (:issue:`3328`). |
| 67 | |
| 68 | The managers of NFD can be enabled/disabled as specified in a simulation |
| 69 | scenario. |
| 70 | |
| 71 | Improvements and bug fixes |
| 72 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 73 | |
| 74 | - Bugfix in RandomPolicy for the "old-style" ContentStore implementation. |
| 75 | |
| 76 | - Updates of the `ndnSIM 2 Technical Report <https://named-data.net/publications/techreports/ndn-0028-2-ndnsim-v2/>`__ |
| 77 | |
| 78 | Technical Report became up-to-date with the latest version of ndnSIM. |
| 79 | Please see report's change-log for more detailed information. |
| 80 | |
| 81 | - Updates of the ndnSIM documentation (:issue:`3835`) |
| 82 | |
| 83 | * Updated out-dated statements about NFD's CS implementation (:issue:`3827`). |
| 84 | * Added explanation about the limited support of NDNLPv2 and its implications. |
| 85 | * Fixed description of the ConsumerBatches application. |
| 86 | * Added homebrew instructions for dependency installation on OS X. |
| 87 | * Added specification of ndn::CsTracer output format. |
| 88 | |
| 89 | ******************************************************************************** |
| 90 | |
Spyridon Mastorakis | 5897c96 | 2015-08-31 15:37:18 -0700 | [diff] [blame] | 91 | Release 2.1 (Changes since release 2.0) |
| 92 | --------------------------------------- |
| 93 | |
| 94 | Release date: September 4, 2015 |
| 95 | |
| 96 | Overview |
| 97 | ~~~~~~~~ |
| 98 | |
| 99 | - Integration with ndn-cxx and NFD codebases has been refactored to include ndn-cxx and |
| 100 | NFD repositories as git submodules within ndnSIM repository (:issue:`3138`). |
| 101 | |
| 102 | This refactoring simplifies upgrading ndn-cxx and NFD to new versions and prevents old |
| 103 | simulation code to break because of API changes in newer versions of ndn-cxx library. |
| 104 | |
| 105 | .. note:: |
| 106 | In order to retrieve the marked versions of ndn-cxx and NFD, use ``--recursive`` |
| 107 | option to the git clone command or run ``git submodule update --init`` after clone, |
| 108 | pull, or merge. |
| 109 | |
| 110 | - The official home for ndnSIM codebase has been moved to `GitHub named-data-ndnSIM |
| 111 | organization <https://github.com/named-data-ndnSIM>`__ (:issue:`3123`): |
| 112 | |
| 113 | * `ndnSIM codebase <https://github.com/named-data-ndnSIM/ndnSIM>`__ |
| 114 | * `Modified version of ndn-cxx <https://github.com/named-data-ndnSIM/ndn-cxx>`__ |
| 115 | * `Modified version of NFD <https://github.com/named-data-ndnSIM/NFD>`__ |
| 116 | * `Modified version of NS-3 <https://github.com/named-data-ndnSIM/ns-3-dev>`__ |
| 117 | * `Modified version of python bindings generator <https://github.com/named-data-ndnSIM/pybindgen>`__ |
| 118 | |
| 119 | - Modified version of NS-3 was updated to (rebased on top of) version 2.23-dev, with |
| 120 | ndnSIM codebase adjusted to reflect API changes (:issue:`3122`) |
| 121 | |
| 122 | - NFD and ndn-cxx has been upgraded to version 0.3.4 (:issue:`3125`) |
spirosmastorakis | c09bb40 | 2016-10-28 19:16:58 -0700 | [diff] [blame] | 123 | |
Spyridon Mastorakis | 5897c96 | 2015-08-31 15:37:18 -0700 | [diff] [blame] | 124 | New features |
| 125 | ~~~~~~~~~~~~ |
| 126 | |
| 127 | - ndnSIM-specific version of :ndnsim:`ndn::Face` (:issue:`2370`) |
| 128 | |
| 129 | The updated version of :ndnsim:`ndn::Face` specially designed to allow writing |
| 130 | simulation applications in the same way as real applications. It is also possible to |
| 131 | directly use codebase of the existing applications to drive simulations, provided that |
| 132 | the codebase meets or can be adjusted to meet the requirements listed in |
| 133 | :doc:`guide-to-simulate-real-apps`. |
| 134 | |
| 135 | - Full support for NFD'S RIB manager (:issue:`2370`) |
| 136 | |
| 137 | .. note:: |
| 138 | RIB manager support is currently available only for applications based on ndn-cxx. |
| 139 | :ndnsim:`FibHelper::AddRoute` and :ndnsim:`FibHelper::RemoveRoute` used by |
| 140 | :ndnsim:`ndn::Producer` and :ndnsim:`ndn::GlobalRoutingHelper` are currently |
| 141 | interacting directly with NFD's FIB manager. This issue will be resolved in the next |
| 142 | release of ndnSIM (:issue:`3121`) |
| 143 | |
| 144 | - Tutorial and example on how to speed up simulations with MPI module of NS-3: |
| 145 | `<http://ndnsim.net/2.0/parallel-simulations.html>`__ |
| 146 | |
| 147 | - Two new helpers to simplify writing basic simulation scenarios: |
| 148 | |
| 149 | - :ndnsim:`ScenarioHelper` leverages C++11 constructs to write scenarios. Example: |
| 150 | |
| 151 | .. code-block:: c++ |
| 152 | |
| 153 | ScenarioHelper helper; |
| 154 | helper.createTopology({ |
| 155 | {"1", "2"}, |
| 156 | {"2", "3"} |
| 157 | }); |
| 158 | |
| 159 | helper.addRoutes({ |
| 160 | {"1", "2", "/prefix", 1}, |
| 161 | {"2", "3", "/prefix", 1} |
| 162 | }); |
| 163 | |
| 164 | helper.addApps({ |
| 165 | {"1", "ns3::ndn::ConsumerCbr", |
| 166 | {{"Prefix", "/prefix"}, {"Frequency", "1"}}, |
| 167 | "0s", "100s"}, |
| 168 | {"3", "ns3::ndn::Producer", |
| 169 | {{"Prefix", "/prefix"}, {"PayloadSize", "1024"}}, |
| 170 | "0s", "100s"} |
| 171 | }); |
| 172 | |
| 173 | |
| 174 | - :ndnsim:`FactoryCallbackApp` simplifies creation of basic apps without creating a |
| 175 | separate class that is derived from ``ns3::Applications``. Example: |
| 176 | |
| 177 | .. code-block:: c++ |
| 178 | |
| 179 | class SomeApp |
| 180 | { |
| 181 | public: |
| 182 | SomeApp(size_t initParameter); |
| 183 | ... |
| 184 | }; |
| 185 | |
| 186 | FactoryCallbackApp::Install(node, [] () -> shared_ptr<void> { |
| 187 | return make_shared<SomeApp>(42); |
| 188 | }) |
| 189 | .Start(Seconds(1.01)); |
| 190 | |
| 191 | Improvements and bug fixes |
| 192 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 193 | |
| 194 | - Updates of ndnSIM documentation |
| 195 | |
| 196 | * Updated the structure for the `ndnSIM website index page <http://ndnsim.net>`__ |
| 197 | * Updated installation instructions to reflect refactoring and relocation of ndnSIM codebase |
| 198 | * API documentation (doxygen) improvements |
| 199 | * Updated list of ndnSIM research papers |
| 200 | |
| 201 | - The NDN stack can now be updated to handle any simulation topology changes after |
| 202 | its initial installation on a node (:issue:`2717`) |
| 203 | |
| 204 | - Application ID that appears in :ndnsim:`ndn::AppDelayTracer` output is now ID of the |
| 205 | application on the node, not ID of the application face that was used previously. |
| 206 | |
| 207 | - FibHelper has been extended to support route removals (:issue:`2358`) |
| 208 | |
| 209 | - ndnSIM codebase now partially covered with unit-tests (:issue:`2369`, :issue:`3059`, |
| 210 | :issue:`2783`) |
| 211 | |
| 212 | - Bugfixes: |
| 213 | |
| 214 | * In :ndnsim:`ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes` that caused crash in |
| 215 | some cases (:issue:`2535`) |
| 216 | |
| 217 | * In FailLink and Uplink methods of :ndnsim:`ndn::LinkControlHelper` class that affected |
| 218 | more links than requested (:issue:`2783`) |
| 219 | |
| 220 | * With hop count of data packets retrieved from the Contest Store of NFD (:issue:`2764`) |
| 221 | |
| 222 | * In :ndnsim:`ndn::Producer` application that caused a wrong dummy signature to be added |
| 223 | to the constructed data packets (:issue:`2927`) |
| 224 | |
| 225 | |
| 226 | |
| 227 | ******************************************************************************** |
| 228 | |
| 229 | |
| 230 | |
| 231 | Release 2.0 (Changes since release 1.0) |
| 232 | --------------------------------------- |
| 233 | |
| 234 | Release date: January 13, 2015 |
Alexander Afanasyev | ab933c6 | 2015-01-14 00:50:31 -0500 | [diff] [blame] | 235 | |
| 236 | Overview |
| 237 | ~~~~~~~~ |
| 238 | |
| 239 | ndnSIM 2.0 is a new release of NS-3 based Named Data Networking (NDN) simulator that went through |
| 240 | extensive refactoring and rewriting. The key new features of the new version: |
| 241 | |
| 242 | - ndnSIM no longer re-implements basic NDN primitives and directly uses implementation from |
| 243 | `ndn-cxx library (NDN C++ library with eXperimental |
| 244 | eXtensions) <http://named-data.net/doc/ndn-cxx/>`__. |
| 245 | |
| 246 | - All NDN forwarding and management is implemented directly using source code of `Named Data |
| 247 | Networking Forwarding Daemon (NFD) <http://named-data.net/doc/NFD/>`__. The current code is based |
| 248 | on ``a22a2172611b1cb93b2e2f53d9d5da122b384f3e`` commit of `NFD |
| 249 | repository <https://github.com/named-data/NFD/tree/a22a2172611b1cb93b2e2f53d9d5da122b384f3e>`__. |
| 250 | |
| 251 | Note RIB Manager is not yet available in ndnSIM. |
| 252 | |
| 253 | - Packet format changed to the `NDN packet format <http://named-data.net/doc/ndn-tlv/>`__. |
| 254 | |
| 255 | - Code style changes to conform to `ndn-cxx Code Style and Coding |
| 256 | Guidelines <http://named-data.net/doc/ndn-cxx/current/code-style.html>`__ This change also |
| 257 | includes renaming of the header and source files: ``*.h`` -> ``*.hpp``, ``*.cc`` -> ``*.cpp`` |
| 258 | |
| 259 | - ndnSIM now uses C++11. |
| 260 | |
| 261 | New Features |
| 262 | ~~~~~~~~~~~~ |
| 263 | |
Spyridon Mastorakis | 5897c96 | 2015-08-31 15:37:18 -0700 | [diff] [blame] | 264 | - Integration with NFD codebase. |
Alexander Afanasyev | ab933c6 | 2015-01-14 00:50:31 -0500 | [diff] [blame] | 265 | - A realistic behavior is added to the simulations. |
| 266 | - Forwarding plane extensions can be used in both ndnSIM simulations and real NFD deployment. |
| 267 | - Per namespace forwarding strategies for different namespaces (one strategy per namespace). |
| 268 | - New examples: |
| 269 | - ``ndn-load-balancer`` |
| 270 | - ``ndn-grid-multiple-strategies`` |
| 271 | - ``ndn-different-strategy-per-prefix`` |
| 272 | - Basic examples using python bindings: ``ndn-simple.py`` and ``ndn-grid.py`` |
| 273 | - Use of the the full-featured NDN packet format. |
| 274 | - Full-featured support for Interest selectors. |
| 275 | - Full-featured crypto operations can be simulated (disabled by default). |
| 276 | - FibHelper to manage FIB entries. |
| 277 | - StrategyChoiceHelper to manage per-namespace forwarding strategy selection. |
| 278 | |
| 279 | Changes |
| 280 | ~~~~~~~ |
| 281 | |
| 282 | - HopCount tracing now includes only one way network-level hop count (e.g., the number of physical |
| 283 | links traversed by a packet). Previously, this tracing was round-trip and included applications |
| 284 | hops. |
| 285 | - Python bindings have changed and, due to limitations of pybindgen, currently cover a smaller |
| 286 | subset of C++ code (`Task #2341 <http://redmine.named-data.net/issues/2341>`__). |
| 287 | - LinkControlHelper now uses ErrorRate to simulate link failure/recovery. Previously it was relying |
| 288 | on Up/Down flag on NDN level. |
| 289 | - The Face abstraction of NFD is now used. |
| 290 | |
| 291 | Bug fixes |
| 292 | ~~~~~~~~~ |
| 293 | |
| 294 | - Fix processing files with customized LossRate or Queue model in AnnotatedTopologyReader `Bug |
| 295 | #2354 <http://redmine.named-data.net/issues/2354>`__. |
| 296 | |
| 297 | Removals |
| 298 | ~~~~~~~~ |
| 299 | |
| 300 | - PyNDN emulation |
| 301 | - (temporarily) ApiFace. Will be replaced with emulation of ndn-cxx ``ndn::Face`` in future |
| 302 | releases (`Issue #2370 <http://redmine.named-data.net/issues/2370>`__). |
| 303 | - (temporarily) UdpFace, TcpFace (`Issue #2371 <http://redmine.named-data.net/issues/2371>`__). |
| 304 | - Limits, LimitsWindow, LimitsRate. |
| 305 | - PIT, FIB with "replacement" policies. |
| 306 | - Old deprecated packet formats. |