[ndnSIM] Scenario template and visualizer

Alex Afanasyev aa at CS.UCLA.EDU
Wed Apr 27 11:42:14 PDT 2016


Hi Sabet,

In that case I can only give you a wild guess of what can be wrong with your scenario.  '--vis' option relies on the fact that your scenario will process command-line parameters according to NS-3 convention.  To enable this, you have to include these lines somewhere before you create your topology (see ndnsim.net for examples):

   // Read optional command-line parameters (e.g., enable visualizer with ./waf --run=<> --visualize
   CommandLine cmd;
   cmd.Parse(argc, argv);

---
Alex

> On Apr 27, 2016, at 10:02 AM, Muhammad Hosain Abdollahi Sabet <M.AbdollahiSabet at Mail.sbu.ac.ir> wrote:
> 
> Alex,
> 
> I've followed your scenario template(from you GitHub page). I'm not aware if any other template exists. 'getme-simple' is my written scenario which has my extensions as header.
> 
> Thanks
> Sabet
> 
> -----Original Message-----
> From: Alex Afanasyev [mailto:aa at cs.ucla.edu]
> Sent: Wed 4/27/2016 2:58 AM
> To: Muhammad Hosain Abdollahi Sabet
> Cc: ndnsim at lists.cs.ucla.edu
> Subject: Re: [ndnSIM] Scenario template and visualizer
> 
> Please be more specific.  Which scenario template you used and what is 'getme-simple' scenario?  Did you write this or is it a part of the template?
> 
> > On Apr 26, 2016, at 12:07 AM, Muhammad Hosain Abdollahi Sabet <M.AbdollahiSabet at mail.sbu.ac.ir> wrote:
> >
> > Hi,
> >
> > I've followed scenario template instruction for my experimentations. While previous ones were built sucessfully with visualizer, the last one does not go with --vis. Actually It gives me no error regarding to the situation.
> >
> > suser at ubuntu:~/ndnSIM/custom-scenario/passive-consumer$ ./waf --run getme-simple --vis
> > Waf: Entering directory `/../ndnSIM/custom-scenario/passive-consumer/build'
> > Waf: Leaving directory `/../ndnSIM/custom-scenario/passive-consumer/build'
> > 'build' finished successfully (0.024s)
> >
> > But noting shows up.
> > Anyone can help me?
> >
> > Thanks,
> > Sabet
> > _______________________________________________
> > ndnSIM mailing list
> > ndnSIM at lists.cs.ucla.edu <mailto:ndnSIM at lists.cs.ucla.edu>
> > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim <http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim>
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160427/94b93b76/attachment.bin>


More information about the ndnSIM mailing list