[ndnSIM] Scenario template and visualizer

Muhammad Hosain Abdollahi Sabet M.AbdollahiSabet at mail.sbu.ac.ir
Sat Apr 30 23:06:21 PDT 2016


Hi Alex,

Those two lines had been there but no difference. Actually getme-simple is a copy of ndn-simple with some extensions in #include. 
https://github.com/Mr-Norrell/PassiveConsumer

Thanks,
Sabet



-----Original Message-----
From: Alex Afanasyev [mailto:aa at cs.ucla.edu]
Sent: Wed 4/27/2016 11:12 PM
To: Muhammad Hosain Abdollahi Sabet
Cc: ndnsim at lists.cs.ucla.edu
Subject: Re: [ndnSIM] Scenario template and visualizer
 
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 --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160501/dc97104f/attachment.html>


More information about the ndnSIM mailing list