[ndnSIM] Making a simple (?) custom example
John Baugh
jpbaugh at umich.edu
Sun Oct 30 21:45:18 PDT 2016
Greetings again, ndnSIM friends,
Sorry to bother you all again. As I tackle this simulator and all the
different files and such, I'm finding it somewhat overwhelming at times.
So I hope you can understand if I'm asking silly questions.
Here's my naive thought:
I should be able to just go into the ndnSIM/ns-3/src/ndnSIM/examples
directory, copy one of the files, say *ndn-tree-cs-tracers *to
*ndn-tree-cs2-tracers* (note that 2 in the name).
Then, I did notice that if I move up a couple directories and run ./waf
--run=ndn-tree-cs2-tracers it does seem to work.
Is this the directory we should always work out of? Will Waf always find
the file even if I make my own custom directory?
*Also, *it looks like most (all?) of the examples on the ndnSIM site* use
the Old Content store.* Is this still recommended, or can we freely use
the NDF version now with no serious issues? The previous e-mails seem to
imply this.
-----------------------------
*I tried commenting out the SetOldContentStore *lines and added a call to
SetContentStore:
*ndnHelper.SetContentStore ("ns3::ndn::cs::Lru",*
* "MaxSize", "10000");*
When I move up a couple directories and run ./wra
--run=ndn-tree-cs2-tracers, I get an error saying that "*SetContentStore is
not a member of ns3::ndn::StackHelper"*, but it's right there in your
documentation.
I'm very confused and just trying to get my feet wet with the actual code
before I dive in.
Thanks!
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161031/e3f9a0c4/attachment.html>
More information about the ndnSIM
mailing list