[ndnSIM] new scenario files
alexander.afanasyev at ucla.edu
Wed May 22 13:46:15 PDT 2013
I saw that you created and then closed the issue on github, so I'm assuming that you managed to solve the problem.
The simplest way to add a custom scenario is to put it into a scratch/ folder, then the command that you were running should have worked. When you're adding scenarios in src/ndnSIM/examples/ folder, you also have to add a couple of lines in src/ndnSIM/examples/wscript. It should be straightforward, can you let me know which problem you were getting?
The recommended approach (using a separate repository, in a manner described here: http://ndnsim.net/getting-started.html#simulating-using-ndnsim) is a little bit more complicated then putting files into scratch/ folder, but is more beneficial in a long run, since it is way easier to keep track of your modifications.
On May 21, 2013, at 9:12 AM, ioannoa at scss.tcd.ie wrote:
> I was just trying to create my own scenario file. I got the instructions
> about a new file/template but as far as it is said into the directions at
> examples can be also be written in the examples or scratch folder.
> Well, I've used the examples folder and made an example similar to the
> tree one with a separate topology written as a txt file. No major
> alterations, only 2-3 names to be exact. So, i guess should work.
> So I am compiling the examples using
> ./waf configure --enable-examples
> ./waf --run=ndn-tree-topo-plugin-a (where ndn-three-topo-plugin-a is my
> file name)
> but i get a msg: 'program 'ndn-tree-topo-plugin-a' not found; available
> programs are: ....'
> Is the case that I need to modify my wscript file? Cause I've tried to
> change it and got errors when doing the ./waf so skipped it.
> If that's nay much of a help, my files are at the locations:
> Apologies for creating an issue but the only relevant that i found was
> that one:
> Many thanks,
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
More information about the ndnSIM