[ndnSIM] Is the version 2.0 really stable? Is it encouraged to upgrade to version 2.0?

Jim Gibson gibson at cisco.com
Tue Feb 17 11:02:47 PST 2015


 > the new version of the simulator is fully stable and you are encouraged to install it, because it provides the features of all the recent advancements of NDN research.
 > 
 > All issues have been resolved a long time ago as you can see here:
 > 
 > http://www.lists.cs.ucla.edu/pipermail/ndnsim/2015-January/001519.html

A timely thread -- I tried an install of ndnSim2.0 yesterday and once I
found a combination that built, tried a few examples that are running
fine, so the above so far seems essentially true.  But, following the
install instructions, I got build errors from ns-3/waf until I backed
off the most recent commit to ndn-cxx and also the most recent commit to
ns-3/src/ndnSim.

This is my first interaction with the ndn code: no prior experience with
simulator or path, so maybe I missed something. Is there some documented
stability point that I overlooked and I'm accidentally on bleeding edge
code, or is this a hiccup in the continuous integration model or
something else going on or just expected rough edges?

[If specifics are of interest, I needed to back off from the commits
marked -> to the commits marked *>, to fix build errors, with a couple
of examples shown.]

Cheers,
--Jim

ndnSIM/ndn-cxx
  > bash git log origin/master --format=fuller | more
 -> commit c759a20046bce82a83c7956d3a28739b0be1f982
  > Author:     Jiewen Tan <alanwake.tan at gmail.com>
  > AuthorDate: Thu Jan 29 23:31:09 2015 -0800
  > Commit:     Alex Afanasyev <alexander.afanasyev at ucla.edu>
  > CommitDate: Mon Feb 16 11:39:47 2015 -0800
  > 
  >     management: add CachingPolicy to LocalControlHeader
  >     
  >     Breaks: NFD:commit:9cfeecaa2ffad1a1be79aed2321dcc7d042ecc5f
  >     Breaks: ndnSIM:commit:ffe2586cfc466935c0632a5a64384f0fda709086
  >     
  >     Change-Id: Idcce2b7ee9be31b55f9ec16c17e915d93974bff4
  >     Refs: #2183
  > 
 *> commit 190bee2f7df5578718bac83af07b3591a2b8d9fa
  > Author:     Junxiao Shi <git at mail1.yoursunny.com>
  > AuthorDate: Sat Feb 14 19:21:36 2015 -0700
  > Commit:     Junxiao Shi <sunnylandh at gmail.com>
  > CommitDate: Mon Feb 16 10:42:53 2015 -0800
 

ns-3/src/ndnSim
 -> commit 8f5a99d521618721ad210e86c867a89379bb1f97
  > Author: Alexander Afanasyev <alexander.afanasyev at ucla.edu>
  > Date:   Fri Feb 13 15:07:06 2015 -0800
  > 
  >     NFD: Update code to work with updated LocalControlHeader
  >     implementation
  >     
  >     Change-Id: Iafd62348ee1f09f256d54152ce7274cf24d5b9f9
  >     Refs: #2183
  > 
 *> commit ffe2586cfc466935c0632a5a64384f0fda709086
  > Author: Spyridon Mastorakis <spiros.mastorakis at gmail.com>
  > Date:   Tue Feb 3 16:21:28 2015 -0800
  > 
  >     docs: Adding references to the new TR
  >     
  >     Change-Id: I5235462cad6f01751bcd5141b2c3e14585d5baf3
 

Sample build errors for each change:

Fixed by backing off the most recent ndn-cxx commit
 > 
 > cxx: examples/tutorial/second.cc ->
 > build/examples/tutorial/second.cc.3.o
 > In file included from ./ns3/ndnSIM/model/ndn-app-face.hpp:24:0,
 >                  from ../src/ndnSIM/apps/ndn-app.hpp:24,
 >                  from ../src/ndnSIM/apps/ndn-consumer.hpp:25,
 >                  from ../src/ndnSIM/apps/ndn-consumer-window.hpp:25,
 >                  from ../src/ndnSIM/apps/ndn-consumer-window.cpp:20:
 > ./ns3/ndnSIM/NFD/daemon/face/local-face.hpp: In member function ‘bool
 > nfd::LocalFace::decodeAndDispatchInput(const ndn::Block&)’:
 > ./ns3/ndnSIM/NFD/daemon/face/local-face.hpp:156:88: error: no matching
 > function for call to ‘ndn::nfd::LocalControlHeader::wireDecode(const
 > ndn::Block&, bool, bool)’
 >                this->isLocalControlHeaderEnabled(LOCAL_CONTROL_FEATURE_NEXT_HOP_FACE_ID));
 >                                                                                         ^
 > ./ns3/ndnSIM/NFD/daemon/face/local-face.hpp:156:88: note: candidate is:
 > In file included from /usr/local/include/ndn-cxx/interest.hpp:30:0,
 >                  from ./ns3/ndnSIM/model/ndn-common.hpp:28,
 >                  from ../src/ndnSIM/apps/ndn-consumer-window.hpp:23,
 >                  from ../src/ndnSIM/apps/ndn-consumer-window.cpp:20:
 > /usr/local/include/ndn-cxx/management/nfd-local-control-header.hpp
 > :265:1: note: void ndn::nfd::LocalControlHeader::wireDecode(const
 > ndn::Block&, uint8_t)
 >  LocalControlHeader::wireDecode(const Block& wire, uint8_t encodeMask)
 >  ^
 > /usr/local/include/ndn-cxx/management/nfd-local-control-header.hpp:265:1:
 > note:   candidate expects 2 arguments, 3 provided

Fixed by backing off the most recent ns-3/src/ndnSim commit

 > [1879/2449] cxx:src/ndnSIM/examples/ndn-simple-with-content-freshness/one-interest-requester.cpp -> build/src/ndnSIM/examples/ndn-simple-with-content-freshness/one-interest-requester.cpp.13.o
 > In file included from ./ns3/ndnSIM/model/ndn-app-face.hpp:24:0,
 >                  from ./ns3/ndnSIM/apps/ndn-app.hpp:24,
 >                  from ../src/ndnSIM/examples/ndn-custom-apps/hijacker.hpp:25,
 >                  from ../src/ndnSIM/examples/ndn-custom-apps/hijacker.cpp:22:
 > ./ns3/ndnSIM/NFD/daemon/face/local-face.hpp: In member function ‘bool nfd::Local Face::decodeAndDispatchInput(const ndn::Block&)’:
 > ./ns3/ndnSIM/NFD/daemon/face/local-face.hpp:156:23: error: ‘ENCODE_NEXT_HOP’ is not a member of ‘ndn::nfd::LocalControlHeader’
 >                mask |= ndn::nfd::LocalControlHeader::ENCODE_NEXT_HOP;
 >                        ^
 > ./ns3/ndnSIM/NFD/daemon/face/local-face.hpp: In member function ‘bool nfd::Local Face::isEmptyFilteredLocalControlHeader(const ndn::nfd::LocalControlHeader&) con st’:
 > ./ns3/ndnSIM/NFD/daemon/face/local-face.hpp:199:13: error: ‘ENCODE_INCOMING_FACE _ID’ is not a member of ‘ndn::nfd::LocalControlHeader’      mask |= ndn::nfd::LocalControlHeader::ENCODE_INCOMING_FACE_ID;
 > 

From: "Spyridon (Spyros) Mastorakis" <spiros.mastorakis at gmail.com>
Date: Mon, 16 Feb 2015 10:50:38 -0800
To: Kanin Assantachai <kanin at inl.ics.keio.ac.jp>
CC: <ndnSIM at lists.cs.ucla.edu>
Subject: Re: [ndnSIM] Is the version 2.0 really stable? Is it encouraged to
	upgrade to version 2.0?
Sender: ndnSIM <ndnsim-bounces at lists.cs.ucla.edu>

Hello,

the new version of the simulator is fully stable and you are encouraged to install it, because it provides the features of all the recent advancements of NDN research.

All issues have been resolved a long time ago as you can see here:

http://www.lists.cs.ucla.edu/pipermail/ndnsim/2015-January/001519.html

--
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
PhD Computer Science
UCLA




> On Feb 16, 2015, at 1:50 AM, Kanin Assantachai <kanin at inl.ics.keio.ac.jp> wrote:
> 
> Hello all,
> 
> Originally I wanted to include this question into the email I just sent a moment ago, but I realized that this question might benefit other people too. So I have decided to make a new thread for this question.
> 
> After I have read through archived emails from January 2015 onwards, I saw a lot of emails reporting problems of compiling the new version of simulator. So I would like to ask if the current new version is stable already? Since my project is still at the beginning stage, it is fine for me to uninstall the previous version and install the new version from scratch. However for other people who have been working with the old version for a long time, they might have problems performing fresh install (to avoid errors from version mismatch between ndnSIM and ns-3, etc). Is it encouraged to upgrade to new version as soon as possible, or is it better to wait for this new version to be even more stable first? Thank you for your responses in advance.
> 
> Kanin
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim


_______________________________________________
ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu
http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim




More information about the ndnSIM mailing list