From mastorakis at CS.UCLA.EDU Wed Jun 1 18:41:10 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Wed, 1 Jun 2016 18:41:10 -0700 Subject: [ndnSIM] Get Cached Content Size In-Reply-To: References: Message-ID: Hi, if you use the CS of NFD, you can use the size() method of the CS class to get the number of packets stored in CS: https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.3.4-ndnSIM/daemon/table/cs.hpp#L125 If you use the CS of ndnSIM, you can use the GetSize() method to retrieve the number of packets stored in CS: https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/cs/ndn-content-store.hpp#L151-L152 Use example: https://github.com/named-data-ndnSIM/ndnSIM/blob/a4915caa0c4121f2dd87fd3d7cc3b6eb91632f16/tests/other/ndn-test.cpp#L113-L116 Hope that this helps! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On May 30, 2016, at 4:42 AM, Dhiab Imen wrote: > > Hi all, > > I want to know if it is possible to get total size of cached content in the content Store? and how?? > > thanks for help. > > -- > Cordialement > Imen Dhiab > > *************************************************************************************************** > Ing?nieur Informatique dipl?m? de l'Ecole Nationale d'Ing?nieurs de Sfax. > Membre de l'unit? de recherche SAGE (Syst?mes Avanc?s en G?nie Electrique), Ecole Nationale d'Ing?nieurs de Sousse. > +216 53 59 19 88 > Pages personnelles : http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html > *************************************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From ali1marandi at gmail.com Fri Jun 3 03:39:12 2016 From: ali1marandi at gmail.com (Ali Marandi) Date: Fri, 3 Jun 2016 12:39:12 +0200 Subject: [ndnSIM] How to get the "size" of interest messages ? Message-ID: Hi ! I would like to get the size of outgoing interest messages, i.e., in "onOutgoingInterest". Could you please let me know the correct way of doing this ? Thanks. A -------------- next part -------------- An HTML attachment was scrubbed... URL: From anilj.mailing at gmail.com Fri Jun 3 11:31:49 2016 From: anilj.mailing at gmail.com (Anil Jangam) Date: Fri, 3 Jun 2016 11:31:49 -0700 Subject: [ndnSIM] How to get the "size" of interest messages ? In-Reply-To: References: Message-ID: Hi Ali, One way to get it using following API. std::to_string(interest.wireEncode().size()); // This will give you the string form of the size number. Same way you can get the size of the data message. std::to_string(data->wireEncode().size() /anil. On Fri, Jun 3, 2016 at 3:39 AM, Ali Marandi wrote: > Hi ! > > I would like to get the size of outgoing interest messages, i.e., in > "onOutgoingInterest". Could you please let me know the correct way of doing > this ? > > Thanks. > A > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mhasabet at gmail.com Sun Jun 5 00:49:40 2016 From: mhasabet at gmail.com (Muhammad Hosain Abdollahi Sabet) Date: Sun, 5 Jun 2016 12:19:40 +0430 Subject: [ndnSIM] Not being able to build pretty much the same TypeId In-Reply-To: References: Message-ID: Alex, Sure! Here you are: https://github.com/Mr-Norrell/PlayWithLink This is for the application which is working: https://github.com/Mr-Norrell/PlayWithLink/blob/master/extensions/Producer.cpp And this is for the other one, which is not working: https://github.com/Mr-Norrell/PlayWithLink/blob/master/extensions/Consumer.cpp Thanks, Sabet On 5/30/16, Alex Afanasyev wrote: > Without seeing actual code, I will not be able to say for sure what's going > on (you need at least share a small snippet that shows the error). One > obvious thing is that you're using the same names as Consumer/Producer app > in ndnSIM. Unless you're using a dedicated namespace in your extension, > this definitely should cause issues. > > -- > Alex > >> On May 28, 2016, at 1:05 AM, Muhammad Hosain Abdollahi Sabet >> wrote: >> >> ?Hello everyone, >> >> Using http://github.com/cawka/ndnSIM-scenario-template >> , I'm writing 2 custom >> applications. In TypeId they are pretty much the same: >> >> TypeId >> Consumer::GetTypeId() >> { >> static TypeId tid = TypeId ("Consumer") >> .SetGroupName("Ndn") >> .SetParent() >> .AddConstructor() >> .AddAttribute("Prefix","Prefix, for which consumer sends >> interest", StringValue("/"), >> ndn::MakeNameAccessor(&Consumer::m_interestName), >> ndn::MakeNameChecker()) >> .AddAttribute("Hint","Forwarding Hint Name", >> StringValue("/"), >> MakeStringAccessor(&Consumer::m_linkName), >> MakeStringChecker()) >> .AddAttribute("HasLink","Does this app use Link?", >> BooleanValue(false), >> MakeBooleanAccessor(&Consumer::m_hasLink), >> MakeBooleanChecker()) >> .AddAttribute("LifeTime", "Interest Life Time", >> StringValue("2s"), >> MakeTimeAccessor(&Consumer::m_interestLifeTime), >> MakeTimeChecker()); >> >> return tid; >> } >> >> >> And the other one is: >> >> TypeId >> Producer::GetTypeId(){ >> static TypeId tid = TypeId ("Producer") >> .SetGroupName("Ndn") >> .SetParent() >> .AddConstructor() >> .AddAttribute("Prefix", "Prefix, for which producer has the >> data", StringValue("/"), >> MakeNameAccessor(&Producer::m_prefix), >> ndn::MakeNameChecker()) >> .AddAttribute("LinkName", "The Name of Forwarding Hint", >> StringValue("/"), >> MakeNameAccessor(&Producer::m_linkName), >> ndn::MakeNameChecker()) >> .AddAttribute("PayloadSize", "Virtual payload size for >> Content packets", UintegerValue(1024), >> >> MakeUintegerAccessor(&Producer::m_virtualPayloadSize), >> MakeUintegerChecker()) >> .AddAttribute("Freshness", "Freshness of data packets, if 0, >> then unlimited freshness", >> TimeValue(Seconds(0)), >> MakeTimeAccessor(&Producer::m_freshness), >> MakeTimeChecker()) >> .AddAttribute("Signature","Fake signature, 0 valid signature >> (default), other values application-specific", >> UintegerValue(0), >> MakeUintegerAccessor(&Producer::m_signature), >> MakeUintegerChecker()) >> .AddAttribute("KeyLocator","Name to be used for key locator. >> If root, then key locator is not used", >> ndn::NameValue(), >> MakeNameAccessor(&Producer::m_keyLocator), >> ndn::MakeNameChecker()) >> .AddAttribute("HasLink","Define if the Producer uses Link", >> BooleanValue(false), >> MakeBooleanAccessor(&Producer::m_hasLink), >> MakeBooleanChecker()); >> ; >> return tid; >> } >> >> ?Producer is ok. But in ?Linking the other one I'm receiving: >> >> extensions/Consumer.cpp.1.o: In function >> `ns3::AccessorHelper> ns3::StringValue>::Set(ns3::ObjectBase*, ns3::AttributeValue const&) >> const': >> /usr/local/include/ns3-dev/ns3/attribute-accessor-helper.h:183: undefined >> reference to `typeinfo for ns3::Consumer' >> extensions/Consumer.cpp.1.o: In function >> `ns3::AccessorHelper::Get(ns3::ObjectBase >> const*, ns3::AttributeValue&) const': >> /usr/local/include/ns3-dev/ns3/attribute-accessor-helper.h:209: undefined >> reference to `typeinfo for ns3::Consumer' >> extensions/Consumer.cpp.1.o: In function >> `ns3::AccessorHelper> ns3::ndn::NameValue>::Set(ns3::ObjectBase*, ns3::AttributeValue const&) >> const': >> /usr/local/include/ns3-dev/ns3/attribute-accessor-helper.h:183: undefined >> reference to `typeinfo for ns3::Consumer' >> extensions/Consumer.cpp.1.o: In function >> `ns3::AccessorHelper> ns3::ndn::NameValue>::Get(ns3::ObjectBase const*, ns3::AttributeValue&) >> const': >> /usr/local/include/ns3-dev/ns3/attribute-accessor-helper.h:209: undefined >> reference to `typeinfo for ns3::Consumer' >> extensions/Consumer.cpp.1.o: In function `ns3::TypeId >> ns3::TypeId::AddConstructor()::Maker::Create()': >> /ndnSIM/custom-scenario/link/build/../extensions/Consumer.hpp:22: >> undefined reference to `vtable for ns3::Consumer' >> collect2: error: ld returned 1 exit status >> >> The .hpps are also pretty much the same. I've copied the ndn-custom-app >> and modified it. >> >> Anyone has and idea what is wrong? >> >> Thanks, >> Sabet >> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -- ????? ????? ?? ???? From mhasabet at gmail.com Sun Jun 5 22:54:54 2016 From: mhasabet at gmail.com (Muhammad Hosain Abdollahi Sabet) Date: Mon, 6 Jun 2016 10:24:54 +0430 Subject: [ndnSIM] Visualizer shows something no showed in NS_LOG In-Reply-To: <4D19FB27-FDB9-46A5-95A3-CDFEEC806F88@cs.ucla.edu> References: <4D19FB27-FDB9-46A5-95A3-CDFEEC806F88@cs.ucla.edu> Message-ID: Alex, I did fetched the last commits, but still am getting those errors. Regards, Sabet ????? ????? ?? ???? On Tue, May 31, 2016 at 6:10 PM, Alex Afanasyev wrote: > Hi Sabet, > > That would be correct solution. Some code in NS-3 doesn't pass the > pedantic checks. Check the latest commit to scenario-template repository, > which fixes exactly this problem: > > > https://github.com/named-data-ndnSIM/scenario-template/commit/2b5b6f55f04982273e62127082a19459ec68ff43 > > -- > Alex > > > On May 31, 2016, at 4:16 AM, Muhammad Hosain Abdollahi Sabet < > mhasabet at gmail.com> wrote: > > > > Alex, > > > > I did so. And now I'm getting a whole set of > > > > extra ?;? [-Werror=pedantic] > > and > > cc1plus: all warnings being treated as errors > > and > > extra tokens at end of #include directive [-Werror] > > > > > > for header files. We could modify CXXFLAGS, but is it correct to do so? > What is the problem? > > > > ?Thanks, > > Sabet? > > > > On Tue, May 31, 2016 at 2:04 AM, Alex Afanasyev wrote: > > Did you use --debug flag when configuring the scenario? If not, it > still uses the optimized version of NS-3. > > > > -- > > Alex > > > >> On May 30, 2016, at 3:12 AM, Muhammad Hosain Abdollahi Sabet < > mhasabet at gmail.com> wrote: > >> > >> I did compile NS-3 in debug mode. And did compile my scenario with > >> > >> export 'NS_LOG=*=debug|prefix_func|prefix_time' > >> but again, I got only my application LOGs. So? > >> > >> ?Regards, > >> Sabet > >> > >> On Mon, May 30, 2016 at 11:00 AM, Muhammad Hosain Abdollahi Sabet < > mhasabet at gmail.com> wrote: > >> ?Alex, > >> > >> You're right. I've wafed with -d optimized accoriding to > scenario-tamplate. I'll compile in debug mode and will let you know. > >> > >> Thanks, > >> Sabet > >> > >> ????? ????? > >> ?? ???? > >> > >> On Mon, May 30, 2016 at 12:24 AM, Alex Afanasyev > wrote: > >> NS_LOG is enabled only in debug version of the simulator and scenario. > I'm guessing that you have compiled in optimized mode, where al NS_LOG > macros are expanded to nothing. Visualizer is using trace mechanism, so it > works in either case. > >> > >> Just compile NS-3 and your scenario in debug mode and it should work. > >> > >> --- > >> Alex > >> > >> > >>> On May 26, 2016, at 10:58 AM, Muhammad Hosain Abdollahi Sabet < > mhasabet at gmail.com> wrote: > >>> > >>> ?Hi All, > >>> > >>> I have faced a situation in which visualizer shows an exchange (both > interest and data), but NS_LOG doesn't show it. Is it a bug or something? > Or that exchange is really happening? > >>> > >>> Thanks, > >>> Sabet > >> > >> > >> > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cs15mtech11007 at iith.ac.in Sun Jun 5 23:28:13 2016 From: cs15mtech11007 at iith.ac.in (Krishnakanth Singh) Date: Mon, 6 Jun 2016 11:58:13 +0530 Subject: [ndnSIM] traffic pattern of edge routers Message-ID: Hi, I wanted to know if i could get the traffic pattern (the prefix) for the edge routers.is it possible in ndnsim if so how ??? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From zhangran at bupt.edu.cn Sun Jun 5 23:35:17 2016 From: zhangran at bupt.edu.cn (zhangran at bupt.edu.cn) Date: Mon, 6 Jun 2016 14:35:17 +0800 Subject: [ndnSIM] traffic pattern of edge routers References: Message-ID: <201606061435169275645@bupt.edu.cn> Hi, krishnakanth I think it is possible to collect such information. One possible solution is to record such information in NFD of the node. In the pipeline of forward, you can implent map and record packets about their prefix, arrival time, and other information. There could be other solutions that directly deploy ndnSIM tool, you might as well try to study them. zhangran at bupt.edu.cn From: Krishnakanth Singh Date: 2016-06-06 14:58 To: ndnsim Subject: [ndnSIM] traffic pattern of edge routers Hi, I wanted to know if i could get the traffic pattern (the prefix) for the edge routers.is it possible in ndnsim if so how ??? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From mhasabet at gmail.com Mon Jun 6 00:31:46 2016 From: mhasabet at gmail.com (Muhammad Hosain Abdollahi Sabet) Date: Mon, 6 Jun 2016 12:01:46 +0430 Subject: [ndnSIM] Visualizer shows something no showed in NS_LOG In-Reply-To: References: <4D19FB27-FDB9-46A5-95A3-CDFEEC806F88@cs.ucla.edu> Message-ID: --Update My bad! I had done with wrong repository(cawka). I've done it with the right one. And now: error while loading shared libraries: libns3-dev-core-debug.so: cannot open shared object file: No such file or directory Any ideas? P.S: Could you correct ndnsim.net: http://ndnsim.net/2.1/getting-started.html#simulating-using-ndnsim It is still referring to cawka/ndnSIM-scenario-template. Regards, Sabet ????? ????? ?? ???? On Mon, Jun 6, 2016 at 10:24 AM, Muhammad Hosain Abdollahi Sabet < mhasabet at gmail.com> wrote: > Alex, > > I did fetched the last commits, but still am getting those errors. > > Regards, > Sabet > > ????? ????? > ?? ???? > > On Tue, May 31, 2016 at 6:10 PM, Alex Afanasyev wrote: > >> Hi Sabet, >> >> That would be correct solution. Some code in NS-3 doesn't pass the >> pedantic checks. Check the latest commit to scenario-template repository, >> which fixes exactly this problem: >> >> >> https://github.com/named-data-ndnSIM/scenario-template/commit/2b5b6f55f04982273e62127082a19459ec68ff43 >> >> -- >> Alex >> >> > On May 31, 2016, at 4:16 AM, Muhammad Hosain Abdollahi Sabet < >> mhasabet at gmail.com> wrote: >> > >> > Alex, >> > >> > I did so. And now I'm getting a whole set of >> > >> > extra ?;? [-Werror=pedantic] >> > and >> > cc1plus: all warnings being treated as errors >> > and >> > extra tokens at end of #include directive [-Werror] >> > >> > >> > for header files. We could modify CXXFLAGS, but is it correct to do so? >> What is the problem? >> > >> > ?Thanks, >> > Sabet? >> > >> > On Tue, May 31, 2016 at 2:04 AM, Alex Afanasyev wrote: >> > Did you use --debug flag when configuring the scenario? If not, it >> still uses the optimized version of NS-3. >> > >> > -- >> > Alex >> > >> >> On May 30, 2016, at 3:12 AM, Muhammad Hosain Abdollahi Sabet < >> mhasabet at gmail.com> wrote: >> >> >> >> I did compile NS-3 in debug mode. And did compile my scenario with >> >> >> >> export 'NS_LOG=*=debug|prefix_func|prefix_time' >> >> but again, I got only my application LOGs. So? >> >> >> >> ?Regards, >> >> Sabet >> >> >> >> On Mon, May 30, 2016 at 11:00 AM, Muhammad Hosain Abdollahi Sabet < >> mhasabet at gmail.com> wrote: >> >> ?Alex, >> >> >> >> You're right. I've wafed with -d optimized accoriding to >> scenario-tamplate. I'll compile in debug mode and will let you know. >> >> >> >> Thanks, >> >> Sabet >> >> >> >> ????? ????? >> >> ?? ???? >> >> >> >> On Mon, May 30, 2016 at 12:24 AM, Alex Afanasyev >> wrote: >> >> NS_LOG is enabled only in debug version of the simulator and >> scenario. I'm guessing that you have compiled in optimized mode, where al >> NS_LOG macros are expanded to nothing. Visualizer is using trace >> mechanism, so it works in either case. >> >> >> >> Just compile NS-3 and your scenario in debug mode and it should work. >> >> >> >> --- >> >> Alex >> >> >> >> >> >>> On May 26, 2016, at 10:58 AM, Muhammad Hosain Abdollahi Sabet < >> mhasabet at gmail.com> wrote: >> >>> >> >>> ?Hi All, >> >>> >> >>> I have faced a situation in which visualizer shows an exchange (both >> interest and data), but NS_LOG doesn't show it. Is it a bug or something? >> Or that exchange is really happening? >> >>> >> >>> Thanks, >> >>> Sabet >> >> >> >> >> >> >> > >> > >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From raaid.alubady at yahoo.com Mon Jun 6 09:00:17 2016 From: raaid.alubady at yahoo.com (Raaid Alubady) Date: Mon, 6 Jun 2016 16:00:17 +0000 (UTC) Subject: [ndnSIM] PIT References: <654332469.1857437.1465228817466.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <654332469.1857437.1465228817466.JavaMail.yahoo@mail.yahoo.com> Hello everybody, I would like to setting PIT size by using ndnSim 2.0. Could you please let me know the correct way of doing this ? Thanks.??Raaid?Alubady Doctoral Researcher? InterNetWorks Research Lab, School of Computing, Universiti Utara Malaysia 06010 UUM Sintok, Kedah, M A L A Y S I AHP:?+60129636379 , +601128408117 raaid.n.alubady at uobabylon.edu.iqraaid.alubady@internetworks.myraaid.n.alubady at ieee.org alubadyraaid at gmail.com? **********************************************************************************Join us at the 2015 4th International Conference on Internet Applications, Protocols and Services (NETAPPS2015) in Putrajaya, Malaysia? http://netapps2015.internetworks.my/********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Mon Jun 6 11:44:47 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Mon, 6 Jun 2016 11:44:47 -0700 Subject: [ndnSIM] PIT In-Reply-To: <654332469.1857437.1465228817466.JavaMail.yahoo@mail.yahoo.com> References: <654332469.1857437.1465228817466.JavaMail.yahoo.ref@mail.yahoo.com> <654332469.1857437.1465228817466.JavaMail.yahoo@mail.yahoo.com> Message-ID: <28FA4812-2B89-4A8E-A624-C4E8FED21C57@cs.ucla.edu> Hi, I assume that you would like to set the maximum size of PIT. If so, ndnSIM uses NFD?s PIT. This PIT does not have a maximum size. You could trivially modify the PIT class to add an attribute like that though. Hope that this helps! Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Jun 6, 2016, at 9:00 AM, Raaid Alubady wrote: > > Hello everybody, > > I would like to setting PIT size by using ndnSim 2.0. Could you please let me know the correct way of doing this ? > > Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From raaid.alubady at yahoo.com Tue Jun 7 13:07:48 2016 From: raaid.alubady at yahoo.com (Raaid Alubady) Date: Tue, 7 Jun 2016 20:07:48 +0000 (UTC) Subject: [ndnSIM] PIT In-Reply-To: <28FA4812-2B89-4A8E-A624-C4E8FED21C57@cs.ucla.edu> References: <654332469.1857437.1465228817466.JavaMail.yahoo.ref@mail.yahoo.com> <654332469.1857437.1465228817466.JavaMail.yahoo@mail.yahoo.com> <28FA4812-2B89-4A8E-A624-C4E8FED21C57@cs.ucla.edu> Message-ID: <489302026.540555.1465330068949.JavaMail.yahoo@mail.yahoo.com> Hi, Thank you so much. Yes, this is what I mean. So, needing to modify the PIT class. Sir, I have another question, if I want to manage PIT table (e. g. to monitor the incoming Interest based on the interest rate, which file should I deal with it. Is the file ndn-pit-entry or others. Thanks. ??Raaid?Alubady Doctoral Researcher? InterNetWorks Research Lab, School of Computing, Universiti Utara Malaysia 06010 UUM Sintok, Kedah, M A L A Y S I AHP:?+60129636379 , +601128408117 raaid.n.alubady at uobabylon.edu.iqraaid.alubady@internetworks.myraaid.n.alubady at ieee.org alubadyraaid at gmail.com? **********************************************************************************Join us at the 2015 4th International Conference on Internet Applications, Protocols and Services (NETAPPS2015) in Putrajaya, Malaysia? http://netapps2015.internetworks.my/********************************************************************************** On Tuesday, June 7, 2016 2:44 AM, Spyridon (Spyros) Mastorakis wrote: Hi, I assume that you would like to set the maximum size of PIT. If so, ndnSIM uses NFD?s PIT. This PIT does not have a maximum size. You could trivially modify the PIT class to add an attribute like that though. Hope that this helps! Spyridon (Spyros) Mastorakis Personal Website:?http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA On Jun 6, 2016, at 9:00 AM, Raaid Alubady wrote: Hello everybody, I would like to setting PIT size by using ndnSim 2.0. Could you please let me know the correct way of doing this ? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ndn at sqh.me Wed Jun 8 07:31:47 2016 From: ndn at sqh.me (qhsong) Date: Wed, 8 Jun 2016 22:31:47 +0800 Subject: [ndnSIM] Get Cached Content Size In-Reply-To: References: Message-ID: BTY, Is"max content size" means max content entry number, not the total size of content entry file number? qhsong 2016-06-02 9:41 GMT+08:00 Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu>: > Hi, > > if you use the CS of NFD, you can use the size() method of the CS class to > get the number of packets stored in CS: > > > https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.3.4-ndnSIM/daemon/table/cs.hpp#L125 > > If you use the CS of ndnSIM, you can use the GetSize() method to retrieve > the number of packets stored in CS: > > > https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/cs/ndn-content-store.hpp#L151-L152 > > Use example: > > > https://github.com/named-data-ndnSIM/ndnSIM/blob/a4915caa0c4121f2dd87fd3d7cc3b6eb91632f16/tests/other/ndn-test.cpp#L113-L116 > > Hope that this helps! > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > On May 30, 2016, at 4:42 AM, Dhiab Imen wrote: > > Hi all, > > I want to know if it is possible to get total size of cached content in > the content Store? and how?? > > thanks for help. > > -- > Cordialement > Imen Dhiab > > > *************************************************************************************************** > Ing?nieur Informatique dipl?m? de l'Ecole Nationale d'Ing?nieurs de Sfax. > Membre de l'unit? de recherche SAGE (Syst?mes Avanc?s en > G?nie Electrique), Ecole Nationale d'Ing?nieurs de Sousse. > +216 53 59 19 88 > Pages personnelles : > http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html > > *************************************************************************************************** > > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Wed Jun 8 15:25:25 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Wed, 8 Jun 2016 15:25:25 -0700 Subject: [ndnSIM] Get Cached Content Size In-Reply-To: References: Message-ID: Hi, I am not sure I understand your question. Could you tell me where you found this term, so that I can understand the context? Thanks, Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Jun 8, 2016, at 7:31 AM, qhsong wrote: > > BTY, Is"max content size" means max content entry number, not the total size of content entry file number? > > qhsong > > 2016-06-02 9:41 GMT+08:00 Spyridon (Spyros) Mastorakis >: > Hi, > > if you use the CS of NFD, you can use the size() method of the CS class to get the number of packets stored in CS: > > https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.3.4-ndnSIM/daemon/table/cs.hpp#L125 > > If you use the CS of ndnSIM, you can use the GetSize() method to retrieve the number of packets stored in CS: > > https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/cs/ndn-content-store.hpp#L151-L152 > > Use example: > > https://github.com/named-data-ndnSIM/ndnSIM/blob/a4915caa0c4121f2dd87fd3d7cc3b6eb91632f16/tests/other/ndn-test.cpp#L113-L116 > > Hope that this helps! > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > >> On May 30, 2016, at 4:42 AM, Dhiab Imen > wrote: >> >> Hi all, >> >> I want to know if it is possible to get total size of cached content in the content Store? and how?? >> >> thanks for help. >> >> -- >> Cordialement >> Imen Dhiab > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mhasabet at gmail.com Thu Jun 9 22:48:19 2016 From: mhasabet at gmail.com (Muhammad Hosain Abdollahi Sabet) Date: Fri, 10 Jun 2016 10:18:19 +0430 Subject: [ndnSIM] Visualizer shows something no showed in NS_LOG In-Reply-To: References: <4D19FB27-FDB9-46A5-95A3-CDFEEC806F88@cs.ucla.edu> Message-ID: More info: It seems it has to do with the last commit. I've *waf*ed only with --logging(without --debug) and it works without --vis. With --vis I'm getting: 'build' finished successfully (0.023s) > Traceback (most recent call last): > File "", line 1, in > File "/usr/local/lib/python2.7/dist-packages/visualizer/__init__.py", > line 2, in > from core import start, register_plugin, set_bounds, > add_initialization_hook > File "/usr/local/lib/python2.7/dist-packages/visualizer/core.py", line > 23, in > import ns.core > File "/usr/local/lib/python2.7/dist-packages/ns/core.py", line 5, in > > from . import _core > ImportError: libns3-dev-core-debug.so: cannot open shared object file: No > such file or directory > When I do *waf --debug --logging*, with or without --vis I get: 'build' finished successfully (7.276s) > build/getme-simple: error while loading shared libraries: > libns3-dev-core-debug.so: cannot open shared object file: No such file or > directory The actual ns-3 build with -d debug is working correctly. With --vis and with NS_LOG=nfd.Forwarder. Regard, Thanks On Mon, Jun 6, 2016 at 12:01 PM, Muhammad Hosain Abdollahi Sabet < mhasabet at gmail.com> wrote: > --Update > My bad! I had done with wrong repository(cawka). I've done it with the > right one. And now: > > error while loading shared libraries: libns3-dev-core-debug.so: cannot > open shared object file: No such file or directory > > Any ideas? > > P.S: Could you correct ndnsim.net: > http://ndnsim.net/2.1/getting-started.html#simulating-using-ndnsim > It is still referring to cawka/ndnSIM-scenario-template. > > Regards, > Sabet > > > > ????? ????? > ?? ???? > > On Mon, Jun 6, 2016 at 10:24 AM, Muhammad Hosain Abdollahi Sabet < > mhasabet at gmail.com> wrote: > >> Alex, >> >> I did fetched the last commits, but still am getting those errors. >> >> Regards, >> Sabet >> >> ????? ????? >> ?? ???? >> >> On Tue, May 31, 2016 at 6:10 PM, Alex Afanasyev wrote: >> >>> Hi Sabet, >>> >>> That would be correct solution. Some code in NS-3 doesn't pass the >>> pedantic checks. Check the latest commit to scenario-template repository, >>> which fixes exactly this problem: >>> >>> >>> https://github.com/named-data-ndnSIM/scenario-template/commit/2b5b6f55f04982273e62127082a19459ec68ff43 >>> >>> -- >>> Alex >>> >>> > On May 31, 2016, at 4:16 AM, Muhammad Hosain Abdollahi Sabet < >>> mhasabet at gmail.com> wrote: >>> > >>> > Alex, >>> > >>> > I did so. And now I'm getting a whole set of >>> > >>> > extra ?;? [-Werror=pedantic] >>> > and >>> > cc1plus: all warnings being treated as errors >>> > and >>> > extra tokens at end of #include directive [-Werror] >>> > >>> > >>> > for header files. We could modify CXXFLAGS, but is it correct to do >>> so? What is the problem? >>> > >>> > ?Thanks, >>> > Sabet? >>> > >>> > On Tue, May 31, 2016 at 2:04 AM, Alex Afanasyev >>> wrote: >>> > Did you use --debug flag when configuring the scenario? If not, it >>> still uses the optimized version of NS-3. >>> > >>> > -- >>> > Alex >>> > >>> >> On May 30, 2016, at 3:12 AM, Muhammad Hosain Abdollahi Sabet < >>> mhasabet at gmail.com> wrote: >>> >> >>> >> I did compile NS-3 in debug mode. And did compile my scenario with >>> >> >>> >> export 'NS_LOG=*=debug|prefix_func|prefix_time' >>> >> but again, I got only my application LOGs. So? >>> >> >>> >> ?Regards, >>> >> Sabet >>> >> >>> >> On Mon, May 30, 2016 at 11:00 AM, Muhammad Hosain Abdollahi Sabet < >>> mhasabet at gmail.com> wrote: >>> >> ?Alex, >>> >> >>> >> You're right. I've wafed with -d optimized accoriding to >>> scenario-tamplate. I'll compile in debug mode and will let you know. >>> >> >>> >> Thanks, >>> >> Sabet >>> >> >>> >> ????? ????? >>> >> ?? ???? >>> >> >>> >> On Mon, May 30, 2016 at 12:24 AM, Alex Afanasyev >>> wrote: >>> >> NS_LOG is enabled only in debug version of the simulator and >>> scenario. I'm guessing that you have compiled in optimized mode, where al >>> NS_LOG macros are expanded to nothing. Visualizer is using trace >>> mechanism, so it works in either case. >>> >> >>> >> Just compile NS-3 and your scenario in debug mode and it should work. >>> >> >>> >> --- >>> >> Alex >>> >> >>> >> >>> >>> On May 26, 2016, at 10:58 AM, Muhammad Hosain Abdollahi Sabet < >>> mhasabet at gmail.com> wrote: >>> >>> >>> >>> ?Hi All, >>> >>> >>> >>> I have faced a situation in which visualizer shows an exchange (both >>> interest and data), but NS_LOG doesn't show it. Is it a bug or something? >>> Or that exchange is really happening? >>> >>> >>> >>> Thanks, >>> >>> Sabet >>> >> >>> >> >>> >> >>> > >>> > >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mhasabet at gmail.com Fri Jun 10 21:52:15 2016 From: mhasabet at gmail.com (Muhammad Hosain Abdollahi Sabet) Date: Sat, 11 Jun 2016 09:22:15 +0430 Subject: [ndnSIM] Test and debug modified ndnSIM Message-ID: Hi there, I have changed somethings in ndnSIM packet format(ndncxx) and am going to have some changes in NFD. Is there any shorter way to compile my modified version of ndnSIM than compile it with the whole ns-3 modules? It's pretty time consuming now. Thanks, Sabet -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Fri Jun 10 22:56:15 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Fri, 10 Jun 2016 22:56:15 -0700 Subject: [ndnSIM] Test and debug modified ndnSIM In-Reply-To: References: Message-ID: Unfortunately, this is inherent to NS-3. You can try to speedup compilation by - selecting only necessary NS-3 modules to compile, e.g. using .ns3rc file (see example in utils/.ns3rc) - and/or using ccache (CXX="ccache g++" ./waf configure ...) - using distributed compilation using distcc if you have access to many server machines that can do compilation for you. -- Alex > On Jun 10, 2016, at 9:52 PM, Muhammad Hosain Abdollahi Sabet wrote: > > Hi there, > I have changed somethings in ndnSIM packet format(ndncxx) and am going to have some changes in NFD. Is there any shorter way to compile my modified version of ndnSIM than compile it with the whole ns-3 modules? It's pretty time consuming now. > > Thanks, > Sabet -------------- 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: From mhasabet at gmail.com Sat Jun 11 04:43:07 2016 From: mhasabet at gmail.com (Muhammad Hosain Abdollahi Sabet) Date: Sat, 11 Jun 2016 16:13:07 +0430 Subject: [ndnSIM] Porting scenarios to ndnSIM 2.1 In-Reply-To: References: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A20@m-pdc.sbu.ac.ir> <1FDB6284-9893-44B6-84CF-C82D0BCE645E@cs.ucla.edu> <4AC03A6244C3C34BB52A7EC60B799C4C043E7B56@m-pdc.sbu.ac.ir> <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A2C@m-pdc.sbu.ac.ir> Message-ID: Hi again, Sorry. I want to port some changes in these functions which are defined in model/wire/ndnsim.h: - Interest::GetSerializedSize - Interest::Serialize - Interest::Deserialize Which will lead to modifying ndn-header, right? But header in v 2.1 is much simpler than in v 1. What has been changed here? Thanks, Sabet On 2 May 2016 09:11, "Alex Afanasyev" wrote: > > > On Apr 30, 2016, at 11:59 PM, Muhammad Hosain Abdollahi Sabet < > M.AbdollahiSabet at Mail.sbu.ac.ir> wrote: > > > > Alex, > > > > What is equivalent of /model/wire/ndnsim in V.2? > > > > The wire encoding is embedded directly in each of the data structure: > ndn-cxx/src/interest.cpp, ndn-cxx/src/data.cpp, etc. Some general-purpose > wire-encoding functions are in ndn-cxx/src/encoding. > > -- > Alex > > > > > Thanks, > > Sabet > > > > > > > > -----Original Message----- > > From: Muhammad Hosain Abdollahi Sabet > > Sent: Tue 4/26/2016 4:42 PM > > To: 'Alex Afanasyev' > > Cc: 'ndnsim' > > Subject: RE: [ndnSIM] Porting scenarios to ndnSIM 2.1 > > > > Alex, > > > > Thank you so much. You're saving lives!! > > > > Regards, > > Sabet > > > > -----Original Message----- > > From: Alex Afanasyev [mailto:aa at cs.ucla.edu] > > Sent: Thursday, April 14, 2016 6:46 AM > > To: Muhammad Hosain Abdollahi Sabet > > Cc: ndnsim at lists.cs.ucla.edu > > Subject: Re: [ndnSIM] Porting scenarios to ndnSIM 2.1 > > > > > > > On Apr 2, 2016, at 11:43 AM, Muhammad Hosain Abdollahi Sabet < > M.AbdollahiSabet at mail.sbu.ac.ir> wrote: > > > > > > Hi everyone, > > > Is there any guide on how one can port simulation scenarios wrote for > ndnSIM 1? Currently I have a simulation in which has some modifications in > model/ndn-interest.h/.cc, model/wire/ndnsim.h/.cc, > ndn.cxx/detail/pending-interests-container.h, > model/fw/ndn-forwarding-strategy.h/.cc. I know NFD is being used directly > in ndnSIM 2.1 and there has been some changes in ndn-cxx. But honestly I'm > not much familiar with them and need some guide. > > > > It very much depends on how extensive are your changes. > > > > To modify interest abstraction and wire encoding, you need to look at > > > > - ndnSIM/ndn-cxx/src/interest.hpp > > - ndnSIM/ndn-cxx/src/interest.cpp > > > > For application PIT (ndn.cxx/...), you can look at > > > > - ndnSIM/ndn-cxx/src/detail/pending-interests.hpp, but there is also > logic in ndnSIM/ndn-cxx/src/detail/face-impl.hpp > > > > For forwarding strategy, depending on your specific interest, it could > be part of the strategy interface > > > > - ndnSIM/NFD/daemon/fw/strategy.hpp > > - ndnSIM/NFD/daemon/fw/strategy.cpp > > - ndnSIM/NFD/daemon/fw/*-strategy.*pp (examples of implemented > strategies) > > > > or if you need to change some of the forwarding logic (which we call now > "pipelines"), you may look into > > > > - ndnSIM/NFD/daemon/fw/forwarder.hpp > > - ndnSIM/NFD/daemon/fw/forwarder.cpp > > > > --- > > Alex > > > > > > > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ndn at sqh.me Tue Jun 14 00:21:51 2016 From: ndn at sqh.me (qhsong) Date: Tue, 14 Jun 2016 15:21:51 +0800 Subject: [ndnSIM] Get Cached Content Size In-Reply-To: References: Message-ID: Hi, For example, I use SetOldContentStore to set "MaxSize" for a node, I set MaxSize is 1024. That means this node can store 1024 Interest packets, Or this node can store 1024B Interest packet totally. Do you get my point? Best wishes, qhsong 2016-06-09 6:25 GMT+08:00 Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu>: > Hi, > > I am not sure I understand your question. Could you tell me where you > found this term, so that I can understand the context? > > Thanks, > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > On Jun 8, 2016, at 7:31 AM, qhsong wrote: > > BTY, Is"max content size" means max content entry number, not the total > size of content entry file number? > > qhsong > > 2016-06-02 9:41 GMT+08:00 Spyridon (Spyros) Mastorakis < > mastorakis at cs.ucla.edu>: > >> Hi, >> >> if you use the CS of NFD, you can use the size() method of the CS class >> to get the number of packets stored in CS: >> >> >> https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.3.4-ndnSIM/daemon/table/cs.hpp#L125 >> >> If you use the CS of ndnSIM, you can use the GetSize() method to retrieve >> the number of packets stored in CS: >> >> >> https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/cs/ndn-content-store.hpp#L151-L152 >> >> Use example: >> >> >> https://github.com/named-data-ndnSIM/ndnSIM/blob/a4915caa0c4121f2dd87fd3d7cc3b6eb91632f16/tests/other/ndn-test.cpp#L113-L116 >> >> Hope that this helps! >> >> Spyridon (Spyros) Mastorakis >> Personal Website: http://cs.ucla.edu/~mastorakis/ >> Internet Research Laboratory >> Computer Science Department >> UCLA >> >> On May 30, 2016, at 4:42 AM, Dhiab Imen wrote: >> >> Hi all, >> >> I want to know if it is possible to get total size of cached content in >> the content Store? and how?? >> >> thanks for help. >> >> -- >> Cordialement >> Imen Dhiab >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mastorakis at CS.UCLA.EDU Tue Jun 14 10:50:09 2016 From: mastorakis at CS.UCLA.EDU (Spyridon (Spyros) Mastorakis) Date: Tue, 14 Jun 2016 13:50:09 -0400 Subject: [ndnSIM] Get Cached Content Size In-Reply-To: References: Message-ID: <587EE487-5246-4747-A6BA-D5971207D6AB@cs.ucla.edu> I guess you meant to say Data packets :-) If the MaxSize of the CS of a node is 1024, this node has a CS that can store 1024 data packets. Hope that this helps. Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory Computer Science Department UCLA > On Jun 14, 2016, at 3:21 AM, qhsong wrote: > > Hi, > For example, I use SetOldContentStore to set "MaxSize" for a node, I set MaxSize is 1024. > That means this node can store 1024 Interest packets, Or this node can store 1024B Interest packet totally. > Do you get my point? > > Best wishes, > qhsong > > 2016-06-09 6:25 GMT+08:00 Spyridon (Spyros) Mastorakis >: > Hi, > > I am not sure I understand your question. Could you tell me where you found this term, so that I can understand the context? > > Thanks, > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > >> On Jun 8, 2016, at 7:31 AM, qhsong > wrote: >> >> BTY, Is"max content size" means max content entry number, not the total size of content entry file number? >> >> qhsong >> >> 2016-06-02 9:41 GMT+08:00 Spyridon (Spyros) Mastorakis >: >> Hi, >> >> if you use the CS of NFD, you can use the size() method of the CS class to get the number of packets stored in CS: >> >> https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.3.4-ndnSIM/daemon/table/cs.hpp#L125 >> >> If you use the CS of ndnSIM, you can use the GetSize() method to retrieve the number of packets stored in CS: >> >> https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/cs/ndn-content-store.hpp#L151-L152 >> >> Use example: >> >> https://github.com/named-data-ndnSIM/ndnSIM/blob/a4915caa0c4121f2dd87fd3d7cc3b6eb91632f16/tests/other/ndn-test.cpp#L113-L116 >> >> Hope that this helps! >> >> Spyridon (Spyros) Mastorakis >> Personal Website: http://cs.ucla.edu/~mastorakis/ >> Internet Research Laboratory >> Computer Science Department >> UCLA >> >>> On May 30, 2016, at 4:42 AM, Dhiab Imen > wrote: >>> >>> Hi all, >>> >>> I want to know if it is possible to get total size of cached content in the content Store? and how?? >>> >>> thanks for help. >>> >>> -- >>> Cordialement >>> Imen Dhiab >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From raaid.alubady at yahoo.com Tue Jun 14 12:05:28 2016 From: raaid.alubady at yahoo.com (Raaid Alubady) Date: Tue, 14 Jun 2016 19:05:28 +0000 (UTC) Subject: [ndnSIM] (no subject) References: <2068572139.2469561.1465931128863.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <2068572139.2469561.1465931128863.JavaMail.yahoo@mail.yahoo.com> Hi,I created a new replacement policy that deals with PIT table. I have already inserted this policy (HRT. h) inside trie folder in ndnSim 1.0. Moreover, I made all required connections my policy with the other files such as ndn-pit-impl.cc and ndn-pit-impl.h. After I finished all these steps, and by running the example under the name ndn-simple-pit-policy after I replace the exist policy with my policy. Unfortunately, I got this error message " assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::ndn::pit::Hllr not found", file=../src/core/model/type-id.cc, line=539 terminate called without an active exception" Kindly, can anyone help me to know what means this error and what I should do in order to avoid it. Thank you. ??Raaid?Alubady Doctoral Researcher? InterNetWorks Research Lab, School of Computing, Universiti Utara Malaysia 06010 UUM Sintok, Kedah, M A L A Y S I AHP:?+60129636379 , +601128408117 raaid.n.alubady at uobabylon.edu.iqraaid.alubady@internetworks.myraaid.n.alubady at ieee.org alubadyraaid at gmail.com? **********************************************************************************Join us at the 2015 4th International Conference on Internet Applications, Protocols and Services (NETAPPS2015) in Putrajaya, Malaysia? http://netapps2015.internetworks.my/********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlzu8 at gmail.com Tue Jun 14 13:53:58 2016 From: carlzu8 at gmail.com (Carl Zu) Date: Tue, 14 Jun 2016 22:53:58 +0200 Subject: [ndnSIM] problem installing ndnSIM on CentOS release 6.8 (cluster) Message-ID: Dear all, Before to ask about my problem in building ndnSIM on CentOS release 6.8, Is it possible for ndnSIM to run on CentOS release 6.8 (a cluster) ?. Thanks. C -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlzu8 at gmail.com Tue Jun 14 15:36:25 2016 From: carlzu8 at gmail.com (Carl Zu) Date: Wed, 15 Jun 2016 00:36:25 +0200 Subject: [ndnSIM] CryptoPP is present, but is not usable Message-ID: Hi, I am receiving the following error once I configure ndnSIM on CentOS release 6.8 (cluster). Seems CryptoPP is installed but cannot be used. Any guidance is highly appreciated. Best. C -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Tue Jun 14 18:08:32 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Tue, 14 Jun 2016 18:08:32 -0700 Subject: [ndnSIM] problem installing ndnSIM on CentOS release 6.8 (cluster) In-Reply-To: References: Message-ID: Most likely yes, but you definitely would need custom (from source) installations of recent versions of CryptoPP and boost libraries. 6.8 ships with extremely old versions. -- Alex > On Jun 14, 2016, at 1:53 PM, Carl Zu wrote: > > Dear all, > > Before to ask about my problem in building ndnSIM on CentOS release 6.8, Is it possible for ndnSIM to run on CentOS release 6.8 (a cluster) ?. > > Thanks. > C -------------- 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: From ndn at sqh.me Wed Jun 15 00:16:04 2016 From: ndn at sqh.me (qhsong) Date: Wed, 15 Jun 2016 15:16:04 +0800 Subject: [ndnSIM] Get Cached Content Size In-Reply-To: <587EE487-5246-4747-A6BA-D5971207D6AB@cs.ucla.edu> References: <587EE487-5246-4747-A6BA-D5971207D6AB@cs.ucla.edu> Message-ID: Hi, Sorry to my mistake, that's data packet. Thanks for your help. Best wishes, qhsong 2016-06-15 1:50 GMT+08:00 Spyridon (Spyros) Mastorakis < mastorakis at cs.ucla.edu>: > I guess you meant to say Data packets :-) > > If the MaxSize of the CS of a node is 1024, this node has a CS that can > store 1024 data packets. > > Hope that this helps. > > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > Computer Science Department > UCLA > > On Jun 14, 2016, at 3:21 AM, qhsong wrote: > > Hi, > For example, I use SetOldContentStore to set "MaxSize" for a node, I set > MaxSize is 1024. > That means this node can store 1024 Interest packets, Or this node can > store 1024B Interest packet totally. > Do you get my point? > > Best wishes, > qhsong > > 2016-06-09 6:25 GMT+08:00 Spyridon (Spyros) Mastorakis < > mastorakis at cs.ucla.edu>: > >> Hi, >> >> I am not sure I understand your question. Could you tell me where you >> found this term, so that I can understand the context? >> >> Thanks, >> >> Spyridon (Spyros) Mastorakis >> Personal Website: http://cs.ucla.edu/~mastorakis/ >> Internet Research Laboratory >> Computer Science Department >> UCLA >> >> On Jun 8, 2016, at 7:31 AM, qhsong wrote: >> >> BTY, Is"max content size" means max content entry number, not the total >> size of content entry file number? >> >> qhsong >> >> 2016-06-02 9:41 GMT+08:00 Spyridon (Spyros) Mastorakis < >> mastorakis at cs.ucla.edu>: >> >>> Hi, >>> >>> if you use the CS of NFD, you can use the size() method of the CS class >>> to get the number of packets stored in CS: >>> >>> >>> https://github.com/named-data-ndnSIM/NFD/blob/NFD-0.3.4-ndnSIM/daemon/table/cs.hpp#L125 >>> >>> If you use the CS of ndnSIM, you can use the GetSize() method to >>> retrieve the number of packets stored in CS: >>> >>> >>> https://github.com/named-data-ndnSIM/ndnSIM/blob/master/model/cs/ndn-content-store.hpp#L151-L152 >>> >>> Use example: >>> >>> >>> https://github.com/named-data-ndnSIM/ndnSIM/blob/a4915caa0c4121f2dd87fd3d7cc3b6eb91632f16/tests/other/ndn-test.cpp#L113-L116 >>> >>> Hope that this helps! >>> >>> Spyridon (Spyros) Mastorakis >>> Personal Website: http://cs.ucla.edu/~mastorakis/ >>> Internet Research Laboratory >>> Computer Science Department >>> UCLA >>> >>> On May 30, 2016, at 4:42 AM, Dhiab Imen wrote: >>> >>> Hi all, >>> >>> I want to know if it is possible to get total size of cached content in >>> the content Store? and how?? >>> >>> thanks for help. >>> >>> -- >>> Cordialement >>> Imen Dhiab >>> >>> >>> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlzu8 at gmail.com Thu Jun 16 13:19:40 2016 From: carlzu8 at gmail.com (Carl Zu) Date: Thu, 16 Jun 2016 22:19:40 +0200 Subject: [ndnSIM] problem installing ndnSIM on CentOS release 6.8 (cluster) In-Reply-To: References: Message-ID: Hi Alex, Thanks, I could compile ndnSIM. however got the error below once ran ndn-simple: -bash-4.1$ ./waf --run ndn-simple Waf: Entering directory `/gpfs/homefs/inf/zu/ndnSIM/ns-3/build' Waf: Leaving directory `/gpfs/homefs/inf/zu/ndnSIM/ns-3/build' Build commands will be stored in build/compile_commands.json 'build' finished successfully (8.681s) /gpfs/homefs/inf/zu/ndnSIM/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug: error while loading shared libraries: libboost_graph.so.1.57.0: cannot open shared object file: No such file or directory Command ['/gpfs/homefs/inf/zu/ndnSIM/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug'] exited with code 127 Looking forward to your response. C On Wed, Jun 15, 2016 at 3:08 AM, Alex Afanasyev wrote: > Most likely yes, but you definitely would need custom (from source) > installations of recent versions of CryptoPP and boost libraries. 6.8 > ships with extremely old versions. > > -- > Alex > > > On Jun 14, 2016, at 1:53 PM, Carl Zu wrote: > > > > Dear all, > > > > Before to ask about my problem in building ndnSIM on CentOS release 6.8, > Is it possible for ndnSIM to run on CentOS release 6.8 (a cluster) ?. > > > > Thanks. > > C > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Thu Jun 16 15:41:30 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Thu, 16 Jun 2016 15:41:30 -0700 Subject: [ndnSIM] problem installing ndnSIM on CentOS release 6.8 (cluster) In-Reply-To: References: Message-ID: <1905A84C-AB31-4FD0-AAD6-D1DF0CEBB762@cs.ucla.edu> If you installed boost in a standard place, you just need to run sudo ldconfig If not or if /usr/local/lib is not on the default list in centos (fedora has this issue), you can simply set LD_LIBRARY_PATH variable before running the app (there should be examples on ndnsim website). --- Alex > On Jun 16, 2016, at 1:19 PM, Carl Zu wrote: > > Hi Alex, > > Thanks, I could compile ndnSIM. however got the error below once ran ndn-simple: > > -bash-4.1$ ./waf --run ndn-simple > Waf: Entering directory `/gpfs/homefs/inf/zu/ndnSIM/ns-3/build' > Waf: Leaving directory `/gpfs/homefs/inf/zu/ndnSIM/ns-3/build' > Build commands will be stored in build/compile_commands.json > 'build' finished successfully (8.681s) > /gpfs/homefs/inf/zu/ndnSIM/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug: error while loading shared libraries: libboost_graph.so.1.57.0: cannot open shared object file: No such file or directory > Command ['/gpfs/homefs/inf/zu/ndnSIM/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-debug'] exited with code 127 > > > Looking forward to your response. > C > >> On Wed, Jun 15, 2016 at 3:08 AM, Alex Afanasyev wrote: >> Most likely yes, but you definitely would need custom (from source) installations of recent versions of CryptoPP and boost libraries. 6.8 ships with extremely old versions. >> >> -- >> Alex >> >> > On Jun 14, 2016, at 1:53 PM, Carl Zu wrote: >> > >> > Dear all, >> > >> > Before to ask about my problem in building ndnSIM on CentOS release 6.8, Is it possible for ndnSIM to run on CentOS release 6.8 (a cluster) ?. >> > >> > Thanks. >> > C > -------------- next part -------------- An HTML attachment was scrubbed... URL: From z.rezaiefar at yahoo.com Tue Jun 21 08:30:22 2016 From: z.rezaiefar at yahoo.com (Zeinab Rezaiefar) Date: Tue, 21 Jun 2016 15:30:22 +0000 (UTC) Subject: [ndnSIM] red line shown in visualization References: <712674848.7010521.1466523022666.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <712674848.7010521.1466523022666.JavaMail.yahoo@mail.yahoo.com> ? Hello, I have implemented DFN topology in which each end node can be producer or consumer. I have ran topology with ?vis . However , in the screenshot, when the simulation time is passed, i can see the red line which is going out from the node. (the snapshot is attachaed to this email) i am wondering what can be the reason for that. is there any one knows that what is happening that this red line is shown during simulation time. Thanks in advancebest regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: datauri-file.png Type: image/png Size: 97553 bytes Desc: not available URL: From cs15mtech11007 at iith.ac.in Wed Jun 22 00:22:55 2016 From: cs15mtech11007 at iith.ac.in (Krishnakanth Singh) Date: Wed, 22 Jun 2016 12:52:55 +0530 Subject: [ndnSIM] Caching Message-ID: Hi, I want to add oppurtunistic caching to the nodes basically if some node n1 is caching a resource r1 then based on some metric i also want to push that node to n2.Is this possible in the nfd module.I am in a hurry could please point me to relevant section to read so i could get going.Also using this example is it possible to get the trace of the traffic at nodes. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlzu8 at gmail.com Wed Jun 22 08:28:03 2016 From: carlzu8 at gmail.com (Carl Zu) Date: Wed, 22 Jun 2016 17:28:03 +0200 Subject: [ndnSIM] consumer frequency does not work .. Message-ID: Hi all, I have a zipfian consumer installed at each consumer node. Even if I have set the "frequency" to one (1 second), the last time that each consumer node generates an interest is different. Please see below some information about this (SIMULATION_TIME=1800 s): nodeID lastInterestFwd nInterestFwd interestOverhead 0 1701.32 37 2059 1 675.495 29 1557 2 1619.28 34 1781 3 590.82 33 1790 4 836.126 30 1675 5 80.0199 24 1274 6 1546.96 32 1764 7 515.022 28 1596 8 1214.58 29 1616 9 1184.11 32 1641 10 902.013 36 2086 11 1066.91 27 1452 12 389.501 29 1451 13 1378.49 29 1505 14 821.176 33 1823 15 713.737 28 1599 16 1795.63 29 1514 17 673.653 33 1802 18 254.06 28 1420 19 1082.7 29 1720 20 998.265 32 1747 Thanks for any guidance. C -------------- next part -------------- An HTML attachment was scrubbed... URL: From pratyushagnihotri03 at gmail.com Wed Jun 22 22:29:31 2016 From: pratyushagnihotri03 at gmail.com (Pratyush Agnihotri) Date: Thu, 23 Jun 2016 07:29:31 +0200 Subject: [ndnSIM] ndnSIM : Implementing energy model of nodes Message-ID: Hi Alex, I am implementing a scenario where I want to install energy module on NDN nodes. Please can you suggest or share sample example regarding how to implement or assign basic energy source to NDN node. Thanks. -- Kind Regards, Pratyush Agnihotri -------------- next part -------------- An HTML attachment was scrubbed... URL: From cs15mtech11007 at iith.ac.in Wed Jun 22 23:47:23 2016 From: cs15mtech11007 at iith.ac.in (Krishnakanth Singh) Date: Thu, 23 Jun 2016 12:17:23 +0530 Subject: [ndnSIM] Community detection Message-ID: I was actually trying to detect communities in the edge routers based on their traffic patters.But when created the flow gaph (every node is a edge router and every edge is weighted edge edge between nodes that acess a say a item 'a' the weight is = min(# of times 'a' requsted by e1,# of times 'a' requsted by e2). The problem i am running into is the louvian communitu detection algorithm detects all the nodes in one community .I think this is because all nodes are following zipf distb pattern for data request.Do you have any idea that could help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From farzam.tawos at yahoo.com Fri Jun 24 07:48:18 2016 From: farzam.tawos at yahoo.com (Farzam Tawos) Date: Fri, 24 Jun 2016 14:48:18 +0000 (UTC) Subject: [ndnSIM] Multiple interest packet References: <375851223.793423.1466779698154.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <375851223.793423.1466779698154.JavaMail.yahoo@mail.yahoo.com> Hi all,I want to send multiple same interest packet from consumerCbr, Is it possible? if yes can anyone give me some hint how to create it?? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Fri Jun 24 21:57:50 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Fri, 24 Jun 2016 21:57:50 -0700 Subject: [ndnSIM] consumer frequency does not work .. In-Reply-To: References: Message-ID: <3756AE4A-6F4E-44EB-893A-20E64DCA9F96@cs.ucla.edu> Hi Carl, ConsumerZipfMandelbrot app does't have Frequency parameter, as it models ZipfMandelbrot distribution of requests. It has 3 prameters that you can control the model, you can check then in the source code https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer-zipf-mandelbrot.cpp (more about model is on wikipedia https://en.m.wikipedia.org/wiki/Zipf?Mandelbrot_law). The last time would be different, as the model is probabilistic. --- Alex > On Jun 22, 2016, at 8:28 AM, Carl Zu wrote: > > Hi all, > > I have a zipfian consumer installed at each consumer node. Even if I have set the "frequency" to one (1 second), the last time that each consumer node generates an interest is different. Please see below some information about this (SIMULATION_TIME=1800 s): > > nodeID lastInterestFwd nInterestFwd interestOverhead > 0 1701.32 37 2059 > 1 675.495 29 1557 > 2 1619.28 34 1781 > 3 590.82 33 1790 > 4 836.126 30 1675 > 5 80.0199 24 1274 > 6 1546.96 32 1764 > 7 515.022 28 1596 > 8 1214.58 29 1616 > 9 1184.11 32 1641 > 10 902.013 36 2086 > 11 1066.91 27 1452 > 12 389.501 29 1451 > 13 1378.49 29 1505 > 14 821.176 33 1823 > 15 713.737 28 1599 > 16 1795.63 29 1514 > 17 673.653 33 1802 > 18 254.06 28 1420 > 19 1082.7 29 1720 > 20 998.265 32 1747 > > Thanks for any guidance. > C > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From aa at CS.UCLA.EDU Sat Jun 25 09:44:26 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sat, 25 Jun 2016 09:44:26 -0700 Subject: [ndnSIM] red line shown in visualization Message-ID: Hi Zeinab, The red line in the visualizer represents packet drops on the link layer. Did you configure very small bandwidths for the links or too small buffer sizes in the topology? -- Alex > Hello, > I have implemented DFN topology in which each end node can be producer or consumer. I have ran topology with ?vis . However , in the screenshot, when the simulation time is passed, i can see the red line which is going out from the node. (the snapshot is attachaed to this email) > i am wondering what can be the reason for that. > is there any one knows that what is happening that this red line is shown during simulation time. > Thanks in advance > best regards -------------- 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: From marandi.ali62 at gmail.com Wed Jun 15 06:05:45 2016 From: marandi.ali62 at gmail.com (Ali Marandi) Date: Wed, 15 Jun 2016 15:05:45 +0200 Subject: [ndnSIM] How to access Ptr in forwarder.cpp ? Message-ID: Hi everyone ! How to access Ptr in forwarder.cpp ? (I know about Simulator::GetContext(). I need access to Ptr) Thanks, Ali -------------- next part -------------- An HTML attachment was scrubbed... URL: From alubadyraaid at gmail.com Fri Jun 24 12:57:13 2016 From: alubadyraaid at gmail.com (raaid alubady) Date: Sat, 25 Jun 2016 03:57:13 +0800 Subject: [ndnSIM] Why I got this error Message-ID: Hi, I created a new replacement policy that deals with PIT table. I have already inserted this policy (HRT. h) inside trie folder in ndnSim 1.0. Moreover, I made all required connections my policy with the other files such as ndn -pit- impl . cc and ndn -pit- impl . h. After I finished all these steps, and by running the example under the name ndn -simple-pit-policy after I replace the exist policy with my policy. Unfortunately, I got this error message as snapshot below: ? What you are suggesting to solve it. Thank you. ********************************************************** *Raaid Alubady*Doctoral Researcher InterNetWorks Research Lab, School of Computing, Universiti Utara Malaysia 06010 UUM Sintok, Kedah, M A L A Y S I A HP: +60129636379 , +601128408117 Emails: raaid.n.alubady at uobabylon.edu.iq raaid.alubady at internetworks.my alubady.r.n at ieee.my -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2016-06-24 12^%17^%31.png Type: image/png Size: 171917 bytes Desc: not available URL: From luca.muscariello at gmail.com Sun Jun 26 01:50:46 2016 From: luca.muscariello at gmail.com (Luca Muscariello) Date: Sun, 26 Jun 2016 10:50:46 +0200 Subject: [ndnSIM] Question about LTE in ndnSIM In-Reply-To: <35CF82D0-DDDD-4F8B-9562-DA4C7DBE5424@queensu.ca> References: <35CF82D0-DDDD-4F8B-9562-DA4C7DBE5424@queensu.ca> Message-ID: Enabling LTE is not straightforward. NDN over LTE, which would be my preferred choice, requires to develop a new ns3 simpler net device. The current net device for LTE is full of constraints to use IP. Once you create a new net device you can make the ndn netdevice working on top of LTE. If you use EPC you will get a lot of configuration to get NDN over IP working but you loose control of mobility management. If you don't care about mobility management you can make that working. On Friday, 22 April 2016, Caroline Goncalves wrote: > Hello, > > I want to work with LTE in ndnSIM but I seem to be missing some > information. How does ndnSIM work with LTE? Do I need Internet to configure > EPC? Are there any examples available? I could not find any helpful ones. > I worked in the implementation, based on the examples provided by ns3. The > problem is the consumer sends the interest, but nothing is received in the > producer. > I have tried in some different ways: without EPC, using just ndnStack; > with EPC. With EPC, I installed Internet in the UEs and I also installed > ndnStack in all of my nodes. > In all of these versions, the producer is not receiving the interest. I?ve > looked at the previous questions related with LTE, but that couldn?t help > me. > > I?m attaching the code, with LTE and NDN, but without internet. -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrissunbjut at gmail.com Sun Jun 26 09:59:58 2016 From: chrissunbjut at gmail.com (Chris Sun) Date: Mon, 27 Jun 2016 00:59:58 +0800 Subject: [ndnSIM] How to access Ptr in forwarder.cpp ? Message-ID: Hi,everyone: I want to get Node in the forwarder.cpp to get the location of Node in a WayPoint moving model.Who can tell me? Thanks for your help! Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Sun Jun 26 18:53:00 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 26 Jun 2016 18:53:00 -0700 Subject: [ndnSIM] How to access Ptr in forwarder.cpp ? In-Reply-To: References: Message-ID: Just combine Simulator::GetContext with NodeList: ns3::Ptr node = ns3::NodeList::GetNode(ns3::Simulator::GetContext()); --- Alex > On Jun 15, 2016, at 6:05 AM, Ali Marandi wrote: > > Hi everyone ! > > How to access Ptr in forwarder.cpp ? (I know about Simulator::GetContext(). I need access to Ptr) > > Thanks, > Ali > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > 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: From aa at CS.UCLA.EDU Sun Jun 26 18:57:08 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 26 Jun 2016 18:57:08 -0700 Subject: [ndnSIM] Why I got this error In-Reply-To: References: Message-ID: <8375DD58-077D-4C21-B8D7-7E62D9C3DF3F@cs.ucla.edu> Hi Raaid, You also need to instantiate the content store with your new policy. One way of doing this would be to extend model/cs/content-store-impl.cpp following the existing instantiations. -- Alex > On Jun 24, 2016, at 12:57 PM, raaid alubady wrote: > > Hi, > I created a new replacement policy that deals with PIT table. I have already inserted this policy (HRT. h) inside trie folder in ndnSim 1.0. Moreover, I made all required connections my policy with the other files such as ndn -pit- impl . cc and ndn -pit- impl . h. > > After I finished all these steps, and by running the example under the name ndn -simple-pit-policy after I replace the exist policy with my policy. Unfortunately, I got this error message as snapshot below: > > > > ? > What you are suggesting to solve it. > > Thank you. > > > ******************************************************** > Raaid Alubady > Doctoral Researcher > InterNetWorks Research Lab, > School of Computing, Universiti Utara Malaysia > 06010 UUM Sintok, Kedah, M A L A Y S I A > HP: +60129636379 , +601128408117 > Emails: raaid.n.alubady at uobabylon.edu.iq > raaid.alubady at internetworks.my > alubady.r.n at ieee.my > > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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: From aa at CS.UCLA.EDU Sun Jun 26 18:58:38 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 26 Jun 2016 18:58:38 -0700 Subject: [ndnSIM] ndnSIM node not send packet into another node In-Reply-To: References: Message-ID: I can only think of a problem with FIB entries. Did you manually configured or used the global routing helper? -- Alex > On May 18, 2016, at 7:41 PM, qhsong wrote: > > Hi everyOne, > > Recently I use ndnSIM to build a network and test it, it works fine at the beginning. But Then I found the node didn't send the packet, they only transmit in its own interface. > Following is the nfd.Forwarder log: > > ? > this packets didn't send to another node. > > What's wrong in my program, I have already configure FIB and forward strategy. Node 21 is the consumer node. > > Can you give some advice for me? > > Best wish, > qhsong > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > 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: From aa at CS.UCLA.EDU Sun Jun 26 19:19:24 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 26 Jun 2016 19:19:24 -0700 Subject: [ndnSIM] tracing error in NDNs over WiFi In-Reply-To: References: Message-ID: <4BA70975-6B27-4F6D-9845-B0204847EDEF@cs.ucla.edu> > On Apr 28, 2016, at 6:45 AM, ??? wrote: > > Hi, all > > I am a freshman in ndnSIM and have been stuck with using L2RateTracer in NDNs over Wi-Fi for a while. Hi Percy, L2RateTracer has been designed (tested) only for PointToPoint links. WifiNetDevice does not provide the corresponding TraceSource to record drops directly. You would need to modify it to get soemthing working, but even if you fix, the drops you will see will be only related to queue overflows, not wifi drops. I think, those you would need a higher-level ways to measure drops with WiFi, though I am not 100% sure about this. > > I find that the length of std::vector ns3::IidManager::m_information in ns-3../src/core/model/type-id is always 0. Is there any wrong setup in my scenario? If no, how can I measurethe drop-rate and rate in NDNs over Wi-Fi? Honestly, I'm not sure what ns3::IidManager::m_information is and how is it related to drops you're looking for. > By the way, L3tracer/AppTracer also cannot work. L3Tracer should work, though not for drops, but only for send/receive values (lower layer drops are not measurable with WifiNetDevice). However, using send/receive values, you can estimate how much was dropped in the channel. -- Alex > > I will appreciate all your kind help. > > Best? > Percy > ========================= > Percy Liu > Huazhong Univ. of Sci. & Tech > Wuhan, Hubei of P.R. of China > boxiliu at hust.edu.cn > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > 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: From aa at CS.UCLA.EDU Sun Jun 26 19:24:39 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 26 Jun 2016 19:24:39 -0700 Subject: [ndnSIM] Custom content-store cache replacement policy In-Reply-To: References: Message-ID: <0B039830-A712-4B76-9A30-79A93AE741C0@cs.ucla.edu> Hi Himanshu, You can check this presentation http://lasr.cs.ucla.edu/afanasyev/data/files/Afanasyev/AsiaFI-ndnSIM-Aug8-2013.pptx as it gives a few basic steps on how to start. This info is for ndnSIM 1.0, but the content store part would apply to 2.x version as well ("old content store"). -- Alex > On Apr 19, 2016, at 11:19 AM, HIMANSHU MENDHE wrote: > > Hi Team, > > I would like to create a custom cache replacement policy. I went through the LruPolicy class and I can see that it contains methods like evictEntries, insertToQueue, etc. However, it is not clear, when, how these methods are called. > > I believe in order to achieve what I want to, I would have to create a similar class. Am I on the right path here? Some starting point documentation of how the flow is would be really helpful. -------------- 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: From aa at CS.UCLA.EDU Sun Jun 26 19:26:05 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 26 Jun 2016 19:26:05 -0700 Subject: [ndnSIM] per Face per FIB entry limit In-Reply-To: References: Message-ID: <186818CA-8578-49CF-92C6-46196E892FE1@cs.ucla.edu> Hi Bouacherine, The only reason is the lack of manpower to add it after the code refactoring. We will be extremely pleased if you can help adding this support. Thanks, Alex > On Mar 25, 2016, at 3:19 PM, Bouacherine Abdelkader wrote: > > Hi every one, > > I am working on a multi-path forwarding strategy that sets the per FIB and per Face limits for every competing flows, every time slot. The latter are implemented in ndnSIM 1.0 but not in the ndnSIM 2.1, is there a reason of their disappearance and how can i manage to use these in the ndnSIM 2.1. Thanks NDN team. -------------- 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: From aa at CS.UCLA.EDU Sun Jun 26 19:28:10 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 26 Jun 2016 19:28:10 -0700 Subject: [ndnSIM] Mpi on multiple machines In-Reply-To: References: Message-ID: <5DB67CF5-B4BE-4114-837E-D60821D18FD9@cs.ucla.edu> I have tried it once long time ago and the process was relatively straightforward (though, I completely forgot all the details). You just need to select where mpi processes should run and afterwards everything happens automatically. (Just in case, the key catch with MPI is that you need to properly partition the topology to get benefits of MPI, and partitioning is not always trivial...) -- Alex > On Mar 19, 2016, at 8:41 AM, Andriana Ioannou wrote: > > Hello all, > > I was wondering whether someone has any feedback/advice on the use of mpi onb multiple machines. From reading the post, I do assume that is possible but I am rather confused on how to proceed with it exactly. > > Any help would be great. > > Thanks. > A. > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > 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: From z.rezaiefar at yahoo.com Sun Jun 26 19:30:31 2016 From: z.rezaiefar at yahoo.com (Zeinab Rezaeifar) Date: Mon, 27 Jun 2016 11:30:31 +0900 Subject: [ndnSIM] red line shown in visualization In-Reply-To: References: Message-ID: <182E735D-0F00-4CB5-96AA-364DD6659CC5@yahoo.com> Hello Alex, thank you so much. i would like to say that i have used default parameters for bandwidth and buffer size . however, with increasing data rate and buffer size , i can prevent dropping on link layer. Thank you so much for nice helps best regards as you mentioned , with changing data rate and maxsize of > On Jun 26, 2016, at 1:44 AM, Alex Afanasyev wrote: > > Hi Zeinab, > > The red line in the visualizer represents packet drops on the link layer. Did you configure very small bandwidths for the links or too small buffer sizes in the topology? > > -- > Alex > >> Hello, >> I have implemented DFN topology in which each end node can be producer or consumer. I have ran topology with ?vis . However , in the screenshot, when the simulation time is passed, i can see the red line which is going out from the node. (the snapshot is attachaed to this email) >> i am wondering what can be the reason for that. >> is there any one knows that what is happening that this red line is shown during simulation time. >> Thanks in advance >> best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Sun Jun 26 20:15:50 2016 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Sun, 26 Jun 2016 20:15:50 -0700 Subject: [ndnSIM] Compiling ndnSIM 2.1 In-Reply-To: References: <3571478A-FFFD-4EC6-AB48-9562848A7E49@ucla.edu> <5E13385D-4BB4-4A5A-BEE4-7D099C98B733@ucla.edu> <9BC2770C-76A2-4A45-9CF5-57B2C7E05E83@ucla.edu> Message-ID: <6FD7A4AB-04FA-48B1-A88E-4FEFD7FDC1E6@ucla.edu> > On Jun 26, 2016, at 2:43 PM, Ravi Ravindran wrote: > > HI Alex, > > > I'm facing two other issues with ndnSIM2.1 > > 1. Cannot run it with the visualizer, i compiled it with the python binding. > > Ravis-MBP:ns-3 ravi$ ./waf --run ndn-grid --vis > Waf: Entering directory `/Users/ravi/Documents/code/ndnSIM2.1/ns-3/build' > Waf: Leaving directory `/Users/ravi/Documents/code/ndnSIM2.1/ns-3/build' > Build commands will be stored in build/compile_commands.json > 'build' finished successfully (2.112s) > > ** (process:83730): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' > > ** (process:83730): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' > > ** (process:83730): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' > /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display > warnings.warn(str(e), _gtk.Warning) > Could not load plugin 'show_last_packets.py': No module named kiwi.ui.objectlist > /Users/ravi/Documents/code/ndnSIM2.1/ns-3/src/visualizer/visualizer/core.py:641: Warning: invalid (NULL) pointer instance > self.window = gtk.Window() > /Users/ravi/Documents/code/ndnSIM2.1/ns-3/src/visualizer/visualizer/core.py:641: Warning: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed > self.window = gtk.Window() > /Users/ravi/Documents/code/ndnSIM2.1/ns-3/src/visualizer/visualizer/core.py:653: GtkWarning: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed > sw = gtk.ScrolledWindow(); sw.show() I'm guessing that you don't have XQuartz installed (https://www.xquartz.org/ ). I've tested on my machine, visualizer works with macports (not possible at all with Homebrew). > 2. Running scenarios in the scenario folder, doesn't work, so for this i copied the ndn-grid example to the ,configured it for the debug flag.. > > Ravis-MBP:scenario ravi$ ./waf > Waf: Entering directory `/Users/ravi/Documents/code/ndnSIM2.1/scenario/build' > [1/2] Compiling scenarios/ndn-grid.cpp > In file included from ../scenarios/ndn-grid.cpp:26: > In file included from /usr/local/include/ns3-dev/ns3/ndnSIM-module.h:10: > In file included from /usr/local/include/ns3-dev/ns3/ndn-all.hpp:23: > In file included from /usr/local/include/ns3-dev/ns3/ndnSIM/helper/ndn-stack-helper.hpp:30: > In file included from /usr/local/include/ns3-dev/ns3/ndnSIM/helper/ndn-face-container.hpp:30: > In file included from /usr/local/include/ns3-dev/ns3/ndnSIM/model/ndn-face.hpp:23: > In file included from /usr/local/include/ns3-dev/ns3/ndnSIM/NFD/daemon/face/face.hpp:29: > In file included from /Users/ravi/Documents/code/ndnSIM2.1/ns-3/build/ns3/ndnSIM/NFD/common.hpp:66: > In file included from /Users/ravi/Documents/code/ndnSIM2.1/ns-3/build/ns3/ndnSIM/ndn-cxx/util/signal.hpp:25: > /Users/ravi/Documents/code/ndnSIM2.1/ns-3/build/ns3/ndnSIM/ndn-cxx/util/signal-signal.hpp:108:4: error: "cannot declare Owner as friend" > # error "cannot declare Owner as friend" > ^ > In file included from ../scenarios/ndn-grid.cpp:26: > In file included from /usr/local/include/ns3-dev/ns3/ndnSIM-module.h:10: > In file included from /usr/local/include/ns3-dev/ns3/ndn-all.hpp:23: > In file included from /usr/local/include/ns3-dev/ns3/ndnSIM/helper/ndn-stack-helper.hpp:30: > In file included from /usr/local/include/ns3-dev/ns3/ndnSIM/helper/ndn-face-container.hpp:30: > In file included from /usr/local/include/ns3-dev/ns3/ndnSIM/model/ndn-face.hpp:23: > /usr/local/include/ns3-dev/ns3/ndnSIM/NFD/daemon/face/face.hpp:139:13: error: no type named 'FacePersistency' in namespace 'ndn::nfd' > ndn::nfd::FacePersistency > ~~~~~~~~~~^ > /usr/local/include/ns3-dev/ns3/ndnSIM/NFD/daemon/face/face.hpp:180:28: error: no type named 'FacePersistency' in namespace 'ndn::nfd' > setPersistency(ndn::nfd::FacePersistency persistency); > ~~~~~~~~~~^ > /usr/local/include/ns3-dev/ns3/ndnSIM/NFD/daemon/face/face.hpp:211:13: error: no type named 'FacePersistency' in namespace 'ndn::nfd' > ndn::nfd::FacePersistency m_persistency; Just did the same and had no problems. I got a bunch of warnings from boost, but the compilation of ndn-grid.cpp (copied from src/ndnSIM/examples/ndn-grid.cpp to scenarios/ folder). Not sure what could be wrong in your installation. Did you run `sudo ./waf install` after compiling ndnSIM/NS-3? I have only one guess that you may had previous installation of ndnSIM. -- Alex > > On Fri, Jun 24, 2016 at 2:31 PM, Ravi Ravindran > wrote: > Sure, thanks. > > Regards, > Ravi > > On Fri, Jun 24, 2016 at 11:20 AM, Alex Afanasyev > wrote: > It works, though i was able to install dependnecies only with macports. There are a few missing packages for homebrew. > > --- > Alex > >> On Jun 24, 2016, at 11:18 AM, Ravi Ravindran > wrote: >> >> Sure that worked..!. So the visualizer doesn't work on MAC, or has it to do something with homebrew based setups ? >> >> Thanks >> Ravi >> >> On Fri, Jun 24, 2016 at 11:08 AM, Alex Afanasyev > wrote: >> macport's version of cryptopp library was broken at some point. Check if you have /opt/local/lib/libcryptopp.so or /opt/local/lib/libcryptopp.dylib file. If so, remove it and try to recompile NS-3. >> >> I am yet to try compilation myself with macports (not sure when). >> >>> On Jun 24, 2016, at 11:05 AM, Ravi Ravindran > wrote: >>> >>> Macports..Alex. >>> >>> Regards, >>> Ravi >>> >>> On Fri, Jun 24, 2016 at 10:42 AM, Alex Afanasyev > wrote: >>> Yes, I'm using it on my mac. Are you using macrports or homebrew (I've been using homebrew myself lately, though it doesn't support visualizer). >>> >>> -- >>> Alex >>> >>> > On Jun 24, 2016, at 10:39 AM, Ravi Ravindran > wrote: >>> > >>> > hi Anil, >>> > >>> > Have you tried compiling ndnSIM2.1 on MAC, if so, i'm getting an error: >>> > >>> > >>> > 2577/2642] Linking build/examples/wireless/ns3-dev-wifi-sleep-debug >>> > [2578/2642] Linking build/libns3-dev-wave-debug.dylib >>> > Undefined symbols for architecture x86_64: >>> > "vtable for CryptoPP::SHA256", referenced from: >>> > CryptoPP::SHA256::SHA256() in sec-tpm-file.cpp.3.o >>> > CryptoPP::SHA256::SHA256(CryptoPP::SHA256 const&) in sec-tpm-file.cpp.3.o >>> > CryptoPP::SHA256::SHA256() in validator.cpp.3.o >>> > CryptoPP::SHA256::SHA256(CryptoPP::SHA256 const&) in validator.cpp.3.o >>> > CryptoPP::SHA256::SHA256() in crypto.cpp.3.o >>> > CryptoPP::SHA256::SHA256(CryptoPP::SHA256 const&) in crypto.cpp.3.o >>> > CryptoPP::SHA256::SHA256() in digest.cpp.3.o >>> > ... >>> > NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. >>> > ld: symbol(s) not found for architecture x86_64 >>> > clang: error: linker command failed w >>> > >>> > Regards, >>> > Ravi >>> >>> >> >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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: From aa at CS.UCLA.EDU Sun Jun 26 20:44:13 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 26 Jun 2016 20:44:13 -0700 Subject: [ndnSIM] Multiple interest packet In-Reply-To: <375851223.793423.1466779698154.JavaMail.yahoo@mail.yahoo.com> References: <375851223.793423.1466779698154.JavaMail.yahoo.ref@mail.yahoo.com> <375851223.793423.1466779698154.JavaMail.yahoo@mail.yahoo.com> Message-ID: Hi Farzam, May be not exactly what you need, but the easiest would be to install multiple consumer applications. If that not going to work for you, then you would need to either modify the consumerCbr app or write another app. You can use the existing apps for example or check http://ndnsim.net/2.1/applications.html tutorial on how to write an NDN app. You can also write "real" app using ndn-cxx library and then compile it in with ndnSIM (http://ndnsim.net/2.1/guide-to-simulate-real-apps.html). This way you may be able to have better control over what is going on in your app. -- Alex > On Jun 24, 2016, at 7:48 AM, Farzam Tawos wrote: > > Hi all, > I want to send multiple same interest packet from consumerCbr, > Is it possible? > if yes can anyone give me some hint how to create it? > > Thanks > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > 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: From aa at CS.UCLA.EDU Sun Jun 26 20:53:03 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 26 Jun 2016 20:53:03 -0700 Subject: [ndnSIM] Caching In-Reply-To: References: Message-ID: <09745615-41FD-43C2-B33E-2A15E0BB89D6@cs.ucla.edu> There are several ways you can simulate that. Easiest would be to unsolicitedly (i.e., without an incoming interest) push data packet towards the nearby router. To make it work, you would need to modify NFD/daemon/fw/forwarder.cpp code (Forwarder::onDataUnsolicited(Face& inFace, const Data& data), around line 373). You can also try to make it a more NDN-native way, where nearby routers keep some outstanding interests and you satisfy those based on your logic. As for the trace, depending on which exactly trace and at which point you want to get it. You can do it as part of the forwarding strategy, as part of content store, or built in some other places. Unfortunately, I don't have a good example to show how to do that. --- Alex > On Jun 22, 2016, at 12:22 AM, Krishnakanth Singh wrote: > > Hi, > I want to add oppurtunistic caching to the nodes basically if some node n1 is caching a resource r1 then based on some metric i also want to push that node to n2.Is this possible in the nfd module.I am in a hurry could please point me to relevant section to read so i could get going.Also using this example is it possible to get the trace of the traffic at nodes. > > > > Thanks > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > 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: From aa at CS.UCLA.EDU Sun Jun 26 20:55:06 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 26 Jun 2016 20:55:06 -0700 Subject: [ndnSIM] Porting scenarios to ndnSIM 2.1 In-Reply-To: References: <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A20@m-pdc.sbu.ac.ir> <1FDB6284-9893-44B6-84CF-C82D0BCE645E@cs.ucla.edu> <4AC03A6244C3C34BB52A7EC60B799C4C043E7B56@m-pdc.sbu.ac.ir> <4AC03A6244C3C34BB52A7EC60B799C4C03CC2A2C@m-pdc.sbu.ac.ir> Message-ID: <9036FFAF-B780-4142-950D-15A253332511@cs.ucla.edu> To modify packet format in ndnSIM 2.x, you don't need to modify anything with ndn-header. You just need to update definition and encoding/decoding in the abstraction definition, e.g., in ndn-cxx/src/interest.hpp/cpp. You need to be careful with Data packet, as it has special considerations because of the signatures. --- Alex > On Jun 11, 2016, at 4:43 AM, Muhammad Hosain Abdollahi Sabet wrote: > > Hi again, > > Sorry. I want to port some changes in these functions which are defined in model/wire/ndnsim.h: > - Interest::GetSerializedSize > - Interest::Serialize > - Interest::Deserialize > Which will lead to modifying ndn-header, right? But header in v 2.1 is much simpler than in v 1. What has been changed here? > > Thanks, > Sabet > > On 2 May 2016 09:11, "Alex Afanasyev" > wrote: > > > On Apr 30, 2016, at 11:59 PM, Muhammad Hosain Abdollahi Sabet > wrote: > > > > Alex, > > > > What is equivalent of /model/wire/ndnsim in V.2? > > > > The wire encoding is embedded directly in each of the data structure: ndn-cxx/src/interest.cpp, ndn-cxx/src/data.cpp, etc. Some general-purpose wire-encoding functions are in ndn-cxx/src/encoding. > > -- > Alex > > > > > Thanks, > > Sabet > > > > > > > > -----Original Message----- > > From: Muhammad Hosain Abdollahi Sabet > > Sent: Tue 4/26/2016 4:42 PM > > To: 'Alex Afanasyev' > > Cc: 'ndnsim' > > Subject: RE: [ndnSIM] Porting scenarios to ndnSIM 2.1 > > > > Alex, > > > > Thank you so much. You're saving lives!! > > > > Regards, > > Sabet > > > > -----Original Message----- > > From: Alex Afanasyev [mailto:aa at cs.ucla.edu ] > > Sent: Thursday, April 14, 2016 6:46 AM > > To: Muhammad Hosain Abdollahi Sabet > > Cc: ndnsim at lists.cs.ucla.edu > > Subject: Re: [ndnSIM] Porting scenarios to ndnSIM 2.1 > > > > > > > On Apr 2, 2016, at 11:43 AM, Muhammad Hosain Abdollahi Sabet > wrote: > > > > > > Hi everyone, > > > Is there any guide on how one can port simulation scenarios wrote for ndnSIM 1? Currently I have a simulation in which has some modifications in model/ndn-interest.h/.cc, model/wire/ndnsim.h/.cc, ndn.cxx/detail/pending-interests-container.h, model/fw/ndn-forwarding-strategy.h/.cc. I know NFD is being used directly in ndnSIM 2.1 and there has been some changes in ndn-cxx. But honestly I'm not much familiar with them and need some guide. > > > > It very much depends on how extensive are your changes. > > > > To modify interest abstraction and wire encoding, you need to look at > > > > - ndnSIM/ndn-cxx/src/interest.hpp > > - ndnSIM/ndn-cxx/src/interest.cpp > > > > For application PIT (ndn.cxx/...), you can look at > > > > - ndnSIM/ndn-cxx/src/detail/pending-interests.hpp, but there is also logic in ndnSIM/ndn-cxx/src/detail/face-impl.hpp > > > > For forwarding strategy, depending on your specific interest, it could be part of the strategy interface > > > > - ndnSIM/NFD/daemon/fw/strategy.hpp > > - ndnSIM/NFD/daemon/fw/strategy.cpp > > - ndnSIM/NFD/daemon/fw/*-strategy.*pp (examples of implemented strategies) > > > > or if you need to change some of the forwarding logic (which we call now "pipelines"), you may look into > > > > - ndnSIM/NFD/daemon/fw/forwarder.hpp > > - ndnSIM/NFD/daemon/fw/forwarder.cpp > > > > --- > > Alex > > > > > > > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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: From aa at CS.UCLA.EDU Sun Jun 26 20:56:28 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 26 Jun 2016 20:56:28 -0700 Subject: [ndnSIM] Visualizer shows something no showed in NS_LOG In-Reply-To: References: <4D19FB27-FDB9-46A5-95A3-CDFEEC806F88@cs.ucla.edu> Message-ID: <704925F8-C3D9-4915-AF5F-15C2B07EED07@cs.ucla.edu> Assuming you're using Linux and you ran ` sudo ./waf install` after compiling ndnSIM/NS-3, run also `ldconfig`. This will update cache of shared libraries, so the dynamic linker will be able to find them. --- Alex > On Jun 9, 2016, at 10:48 PM, Muhammad Hosain Abdollahi Sabet wrote: > > More info: > It seems it has to do with the last commit. > I've wafed only with --logging(without --debug) and it works without --vis. With --vis I'm getting: > > 'build' finished successfully (0.023s) > Traceback (most recent call last): > File "", line 1, in > File "/usr/local/lib/python2.7/dist-packages/visualizer/__init__.py", line 2, in > from core import start, register_plugin, set_bounds, add_initialization_hook > File "/usr/local/lib/python2.7/dist-packages/visualizer/core.py", line 23, in > import ns.core > File "/usr/local/lib/python2.7/dist-packages/ns/core.py", line 5, in > from . import _core > ImportError: libns3-dev-core-debug.so: cannot open shared object file: No such file or directory > > When I do waf --debug --logging, with or without --vis I get: > > 'build' finished successfully (7.276s) > build/getme-simple: error while loading shared libraries: libns3-dev-core-debug.so: cannot open shared object file: No such file or directory > > The actual ns-3 build with -d debug is working correctly. With --vis and with NS_LOG=nfd.Forwarder. > > Regard, > Thanks > > On Mon, Jun 6, 2016 at 12:01 PM, Muhammad Hosain Abdollahi Sabet > wrote: > --Update > My bad! I had done with wrong repository(cawka). I've done it with the right one. And now: > > error while loading shared libraries: libns3-dev-core-debug.so: cannot open shared object file: No such file or directory > > Any ideas? > > P.S: Could you correct ndnsim.net : > http://ndnsim.net/2.1/getting-started.html#simulating-using-ndnsim > It is still referring to cawka/ndnSIM-scenario-template. > > Regards, > Sabet > > > > ????? ????? > ?? ???? > > On Mon, Jun 6, 2016 at 10:24 AM, Muhammad Hosain Abdollahi Sabet > wrote: > Alex, > > I did fetched the last commits, but still am getting those errors. > > Regards, > Sabet > > ????? ????? > ?? ???? > > On Tue, May 31, 2016 at 6:10 PM, Alex Afanasyev > wrote: > Hi Sabet, > > That would be correct solution. Some code in NS-3 doesn't pass the pedantic checks. Check the latest commit to scenario-template repository, which fixes exactly this problem: > > https://github.com/named-data-ndnSIM/scenario-template/commit/2b5b6f55f04982273e62127082a19459ec68ff43 > > -- > Alex > > > On May 31, 2016, at 4:16 AM, Muhammad Hosain Abdollahi Sabet > wrote: > > > > Alex, > > > > I did so. And now I'm getting a whole set of > > > > extra ?;? [-Werror=pedantic] > > and > > cc1plus: all warnings being treated as errors > > and > > extra tokens at end of #include directive [-Werror] > > > > > > for header files. We could modify CXXFLAGS, but is it correct to do so? What is the problem? > > > > ?Thanks, > > Sabet? > > > > On Tue, May 31, 2016 at 2:04 AM, Alex Afanasyev > wrote: > > Did you use --debug flag when configuring the scenario? If not, it still uses the optimized version of NS-3. > > > > -- > > Alex > > > >> On May 30, 2016, at 3:12 AM, Muhammad Hosain Abdollahi Sabet > wrote: > >> > >> I did compile NS-3 in debug mode. And did compile my scenario with > >> > >> export 'NS_LOG=*=debug|prefix_func|prefix_time' > >> but again, I got only my application LOGs. So? > >> > >> ?Regards, > >> Sabet > >> > >> On Mon, May 30, 2016 at 11:00 AM, Muhammad Hosain Abdollahi Sabet > wrote: > >> ?Alex, > >> > >> You're right. I've wafed with -d optimized accoriding to scenario-tamplate. I'll compile in debug mode and will let you know. > >> > >> Thanks, > >> Sabet > >> > >> ????? ????? > >> ?? ???? > >> > >> On Mon, May 30, 2016 at 12:24 AM, Alex Afanasyev > wrote: > >> NS_LOG is enabled only in debug version of the simulator and scenario. I'm guessing that you have compiled in optimized mode, where al NS_LOG macros are expanded to nothing. Visualizer is using trace mechanism, so it works in either case. > >> > >> Just compile NS-3 and your scenario in debug mode and it should work. > >> > >> --- > >> Alex > >> > >> > >>> On May 26, 2016, at 10:58 AM, Muhammad Hosain Abdollahi Sabet > wrote: > >>> > >>> ?Hi All, > >>> > >>> I have faced a situation in which visualizer shows an exchange (both interest and data), but NS_LOG doesn't show it. Is it a bug or something? Or that exchange is really happening? > >>> > >>> Thanks, > >>> Sabet > >> > >> > >> > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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: From aa at CS.UCLA.EDU Sun Jun 26 21:05:46 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 26 Jun 2016 21:05:46 -0700 Subject: [ndnSIM] Simulate IP networks in ndnSIM In-Reply-To: References: Message-ID: <4045C46D-3F90-417E-8258-8118D027E091@cs.ucla.edu> NS-3 has rich support for various IP-based simulations that can run on anything, including over Wi-Fi. You may want to check NS-3 documentation/source on what is available. -- Alex > From: boxiliu.hust at gmail.com > To: ndnsim at lists.cs.ucla.edu > Subject: Simulate IP networks in ndnSIM > Date: Tue, 10 May 2016 20:48:41 +0800 > > Hi, everyone > > I am comparing NDN with IP networks over Wi-Fi. If I want to simulate the performance of IP protocols over Wi-Fi air interface, how can I achieve it? > > I will appreciate with your kind help. > > Best, > Percy > > > ========================== > Percy Liu > Huazhong Univ. of Sci. & Tech > Wuhan, Hubei of P.R. of China > boxiliu at hust.edu.cn -------------- 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: From aa at CS.UCLA.EDU Sun Jun 26 21:46:37 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Sun, 26 Jun 2016 21:46:37 -0700 Subject: [ndnSIM] problems in running cs-trace examples In-Reply-To: <5dc0e9ac.76b8.1544ced10ad.Coremail.yao930@mail.ustc.edu.cn> References: <5dc0e9ac.76b8.1544ced10ad.Coremail.yao930@mail.ustc.edu.cn> Message-ID: > On Apr 25, 2016, at 3:18 AM, yao930 at mail.ustc.edu.cn wrote: > > Dear ndnsim users, > > I am new to ndnSIM and want to use it to realize some cache policy,and while running cs-trace examples,I encouter a few problems and questions. > > in the output file cs-trace.txt, we can see the numbers of cachehits and cachemisses in every node are only 10, but the consumer we set is supposed to send 100 interest per second, why the nodes hit/miss so much less packets than the sent interest? Is your CS tracer configured to output every second or every 0.1 seconds? If former, I'm not sure why it is not showing 100... > 2. in the visulizer during the simulation , I found the CS always has only one entrybut the cs size is supposed to be 100. That's strange. I was able to reproduce the problem if I select "old" style of the content store. As of right now, there is a broken enumeration of the content store entries in the python bindings when the old style is used. We'll try to fix it soon. > 3. when the cs replacement policy is changed to "random",in this way? > ndnHelper.SetOldContentStore("ns3::ndn::cs::Random", "MaxSize", "100"); > an error comes out as follows: > msg="Attribute name=Min could not be set for this object: tid=ns3::UniformRandomVariable", file=../src/core/model/object-base.cc, line=206 > terminate called without an active exception > how can I fix this? There is some strange issue with NS-3. I've made a workaround that will be pushed to master branch as soon as CI tests finish. You can check the code here: https://gerrit.named-data.net/#/c/2902/ Thanks for pointing to the problems! -- Alex > > Many thanks! > Chen. > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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: From alubadyraaid at gmail.com Mon Jun 27 11:41:27 2016 From: alubadyraaid at gmail.com (raaid alubady) Date: Tue, 28 Jun 2016 02:41:27 +0800 Subject: [ndnSIM] Why I got this error In-Reply-To: <8375DD58-077D-4C21-B8D7-7E62D9C3DF3F@cs.ucla.edu> References: <8375DD58-077D-4C21-B8D7-7E62D9C3DF3F@cs.ucla.edu> Message-ID: Thanks for the quick help! I did what you are suggesting. But, I still got the same problem. I am a bit confused about what I am missing here. The error message: "Waf: Leaving directory `/home/raaid/PITMA/ns-3/build' 'build' finished successfully (1m59.327s) assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::ndn::pit::Hllr not found", file=../src/core/model/type-id.cc, line=539 terminate called without an active exception Command ['/home/raaid/PITMA/ns-3/build/scratch/ndn-simple-pit-policies'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s ")." ********************************************************** *Raaid Alubady*Doctoral Researcher InterNetWorks Research Lab, School of Computing, Universiti Utara Malaysia 06010 UUM Sintok, Kedah, M A L A Y S I A HP: +60129636379 , +601128408117 Emails: raaid.n.alubady at uobabylon.edu.iq raaid.alubady at internetworks.my alubady.r.n at ieee.my On Mon, Jun 27, 2016 at 9:57 AM, Alex Afanasyev wrote: > Hi Raaid, > > You also need to instantiate the content store with your new policy. One > way of doing this would be to extend model/cs/content-store-impl.cpp > following the existing instantiations. > > -- > Alex > > On Jun 24, 2016, at 12:57 PM, raaid alubady > wrote: > > Hi, > I created a new replacement policy that deals with PIT table. I have > already inserted this policy (HRT. h) inside trie folder in ndnSim 1.0. > Moreover, I made all required connections my policy with the other files > such as ndn -pit- impl . cc and ndn -pit- impl . h. > > After I finished all these steps, and by running the example under the > name ndn -simple-pit-policy after I replace the exist policy with my > policy. Unfortunately, I got this error message as snapshot below: > > > > ? > What you are suggesting to solve it. > > Thank you. > > > ********************************************************** > > *Raaid Alubady*Doctoral Researcher > InterNetWorks Research Lab, > School of Computing, Universiti Utara Malaysia > 06010 UUM Sintok, Kedah, M A L A Y S I A > HP: +60129636379 , +601128408117 > Emails: raaid.n.alubady at uobabylon.edu.iq > raaid.alubady at internetworks.my > alubady.r.n at ieee.my > > > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Mon Jun 27 11:50:44 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Mon, 27 Jun 2016 11:50:44 -0700 Subject: [ndnSIM] Why I got this error In-Reply-To: References: <8375DD58-077D-4C21-B8D7-7E62D9C3DF3F@cs.ucla.edu> Message-ID: <78E5863A-F1D4-4846-89EB-409D31437A6E@cs.ucla.edu> Oh. If you're using ndnSIM 1.x and playing with PIT replacement policies, then you also need to add instantiations in model/pit/ndn-pit-impl.cc. The file is very similar to cs-impl.cpp -- Alex > On Jun 27, 2016, at 11:41 AM, raaid alubady wrote: > > Thanks for the quick help! I did what you are suggesting. But, I still got the same problem. I am a bit confused about what I am missing here. > > The error message: > > "Waf: Leaving directory `/home/raaid/PITMA/ns-3/build' > 'build' finished successfully (1m59.327s) > assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::ndn::pit::Hllr not found", file=../src/core/model/type-id.cc, line=539 > terminate called without an active exception > Command ['/home/raaid/PITMA/ns-3/build/scratch/ndn-simple-pit-policies'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s ")." > > > > ******************************************************** > Raaid Alubady > Doctoral Researcher > InterNetWorks Research Lab, > School of Computing, Universiti Utara Malaysia > 06010 UUM Sintok, Kedah, M A L A Y S I A > HP: +60129636379 , +601128408117 > Emails: raaid.n.alubady at uobabylon.edu.iq > raaid.alubady at internetworks.my > alubady.r.n at ieee.my > > > > > On Mon, Jun 27, 2016 at 9:57 AM, Alex Afanasyev > wrote: > Hi Raaid, > > You also need to instantiate the content store with your new policy. One way of doing this would be to extend model/cs/content-store-impl.cpp following the existing instantiations. > > -- > Alex > >> On Jun 24, 2016, at 12:57 PM, raaid alubady > wrote: >> >> Hi, >> I created a new replacement policy that deals with PIT table. I have already inserted this policy (HRT. h) inside trie folder in ndnSim 1.0. Moreover, I made all required connections my policy with the other files such as ndn -pit- impl . cc and ndn -pit- impl . h. >> >> After I finished all these steps, and by running the example under the name ndn -simple-pit-policy after I replace the exist policy with my policy. Unfortunately, I got this error message as snapshot below: >> >> >> >> ? >> What you are suggesting to solve it. >> >> Thank you. >> >> >> ******************************************************** >> Raaid Alubady >> Doctoral Researcher >> InterNetWorks Research Lab, >> School of Computing, Universiti Utara Malaysia >> 06010 UUM Sintok, Kedah, M A L A Y S I A >> HP: +60129636379 , +601128408117 >> Emails: raaid.n.alubady at uobabylon.edu.iq >> raaid.alubady at internetworks.my >> alubady.r.n at ieee.my >> >> >> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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: From alubadyraaid at gmail.com Mon Jun 27 11:59:02 2016 From: alubadyraaid at gmail.com (raaid alubady) Date: Tue, 28 Jun 2016 02:59:02 +0800 Subject: [ndnSIM] Why I got this error In-Reply-To: <78E5863A-F1D4-4846-89EB-409D31437A6E@cs.ucla.edu> References: <8375DD58-077D-4C21-B8D7-7E62D9C3DF3F@cs.ucla.edu> <78E5863A-F1D4-4846-89EB-409D31437A6E@cs.ucla.edu> Message-ID: Hi Alex, Thanks for the quick help again. I am already doing that by putting my model inside../../utils/trie/hllr-policy.h" and updated the ndn-pit-impl.cc. But, I still got the same problem. ********************************************************** *Raaid Alubady*Doctoral Researcher InterNetWorks Research Lab, School of Computing, Universiti Utara Malaysia 06010 UUM Sintok, Kedah, M A L A Y S I A HP: +60129636379 , +601128408117 Emails: raaid.n.alubady at uobabylon.edu.iq raaid.alubady at internetworks.my alubady.r.n at ieee.my On Tue, Jun 28, 2016 at 2:50 AM, Alex Afanasyev wrote: > Oh. If you're using ndnSIM 1.x and playing with PIT replacement policies, > then you also need to add instantiations in model/pit/ndn-pit-impl.cc. > The file is very similar to cs-impl.cpp > > -- > Alex > > On Jun 27, 2016, at 11:41 AM, raaid alubady > wrote: > > Thanks for the quick help! I did what you are suggesting. But, I still got > the same problem. I am a bit confused about what I am missing here. > > The error message: > > "Waf: Leaving directory `/home/raaid/PITMA/ns-3/build' > 'build' finished successfully (1m59.327s) > assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: > ns3::ndn::pit::Hllr not found", file=../src/core/model/type-id.cc, > line=539 > terminate called without an active exception > Command ['/home/raaid/PITMA/ns-3/build/scratch/ndn-simple-pit-policies'] > terminated with signal SIGIOT. Run it under a debugger to get more > information (./waf --run --command-template="gdb --args %s > ")." > > > > ********************************************************** > > *Raaid Alubady*Doctoral Researcher > InterNetWorks Research Lab, > School of Computing, Universiti Utara Malaysia > 06010 UUM Sintok, Kedah, M A L A Y S I A > HP: +60129636379 , +601128408117 > Emails: raaid.n.alubady at uobabylon.edu.iq > raaid.alubady at internetworks.my > alubady.r.n at ieee.my > > > > > On Mon, Jun 27, 2016 at 9:57 AM, Alex Afanasyev wrote: > >> Hi Raaid, >> >> You also need to instantiate the content store with your new policy. One >> way of doing this would be to extend model/cs/content-store-impl.cpp >> following the existing instantiations. >> >> -- >> Alex >> >> On Jun 24, 2016, at 12:57 PM, raaid alubady >> wrote: >> >> Hi, >> I created a new replacement policy that deals with PIT table. I have >> already inserted this policy (HRT. h) inside trie folder in ndnSim 1.0. >> Moreover, I made all required connections my policy with the other files >> such as ndn -pit- impl . cc and ndn -pit- impl . h. >> >> After I finished all these steps, and by running the example under the >> name ndn -simple-pit-policy after I replace the exist policy with my >> policy. Unfortunately, I got this error message as snapshot below: >> >> >> >> ? >> What you are suggesting to solve it. >> >> Thank you. >> >> >> ********************************************************** >> >> *Raaid Alubady*Doctoral Researcher >> InterNetWorks Research Lab, >> School of Computing, Universiti Utara Malaysia >> 06010 UUM Sintok, Kedah, M A L A Y S I A >> HP: +60129636379 , +601128408117 >> Emails: raaid.n.alubady at uobabylon.edu.iq >> raaid.alubady at internetworks.my >> alubady.r.n at ieee.my >> >> >> >> _______________________________________________ >> ndnSIM mailing list >> ndnSIM at lists.cs.ucla.edu >> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Mon Jun 27 12:14:40 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Mon, 27 Jun 2016 12:14:40 -0700 Subject: [ndnSIM] Why I got this error In-Reply-To: References: <8375DD58-077D-4C21-B8D7-7E62D9C3DF3F@cs.ucla.edu> <78E5863A-F1D4-4846-89EB-409D31437A6E@cs.ucla.edu> Message-ID: If you can share the code, I can try to look and see what can be wrong. There could be some naming issue. -- Alex > On Jun 27, 2016, at 11:59 AM, raaid alubady wrote: > > Hi Alex, > Thanks for the quick help again. I am already doing that by putting my model inside../../utils/trie/hllr-policy.h" and updated the ndn-pit-impl.cc. But, I still got the same problem. > > ******************************************************** > Raaid Alubady > Doctoral Researcher > InterNetWorks Research Lab, > School of Computing, Universiti Utara Malaysia > 06010 UUM Sintok, Kedah, M A L A Y S I A > HP: +60129636379 , +601128408117 > Emails: raaid.n.alubady at uobabylon.edu.iq > raaid.alubady at internetworks.my > alubady.r.n at ieee.my > > > > > On Tue, Jun 28, 2016 at 2:50 AM, Alex Afanasyev > wrote: > Oh. If you're using ndnSIM 1.x and playing with PIT replacement policies, then you also need to add instantiations in model/pit/ndn-pit-impl.cc . The file is very similar to cs-impl.cpp > > -- > Alex > >> On Jun 27, 2016, at 11:41 AM, raaid alubady > wrote: >> >> Thanks for the quick help! I did what you are suggesting. But, I still got the same problem. I am a bit confused about what I am missing here. >> >> The error message: >> >> "Waf: Leaving directory `/home/raaid/PITMA/ns-3/build' >> 'build' finished successfully (1m59.327s) >> assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::ndn::pit::Hllr not found", file=../src/core/model/type-id.cc , line=539 >> terminate called without an active exception >> Command ['/home/raaid/PITMA/ns-3/build/scratch/ndn-simple-pit-policies'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s ")." >> >> >> >> ******************************************************** >> Raaid Alubady >> Doctoral Researcher >> InterNetWorks Research Lab, >> School of Computing, Universiti Utara Malaysia >> 06010 UUM Sintok, Kedah, M A L A Y S I A >> HP: +60129636379 , +601128408117 >> Emails: raaid.n.alubady at uobabylon.edu.iq >> raaid.alubady at internetworks.my >> alubady.r.n at ieee.my >> >> >> >> >> On Mon, Jun 27, 2016 at 9:57 AM, Alex Afanasyev > wrote: >> Hi Raaid, >> >> You also need to instantiate the content store with your new policy. One way of doing this would be to extend model/cs/content-store-impl.cpp following the existing instantiations. >> >> -- >> Alex >> >>> On Jun 24, 2016, at 12:57 PM, raaid alubady > wrote: >>> >>> Hi, >>> I created a new replacement policy that deals with PIT table. I have already inserted this policy (HRT. h) inside trie folder in ndnSim 1.0. Moreover, I made all required connections my policy with the other files such as ndn -pit- impl . cc and ndn -pit- impl . h. >>> >>> After I finished all these steps, and by running the example under the name ndn -simple-pit-policy after I replace the exist policy with my policy. Unfortunately, I got this error message as snapshot below: >>> >>> >>> >>> ? >>> What you are suggesting to solve it. >>> >>> Thank you. >>> >>> >>> ******************************************************** >>> Raaid Alubady >>> Doctoral Researcher >>> InterNetWorks Research Lab, >>> School of Computing, Universiti Utara Malaysia >>> 06010 UUM Sintok, Kedah, M A L A Y S I A >>> HP: +60129636379 , +601128408117 >>> Emails: raaid.n.alubady at uobabylon.edu.iq >>> raaid.alubady at internetworks.my >>> alubady.r.n at ieee.my >>> >>> >>> >>> _______________________________________________ >>> ndnSIM mailing list >>> ndnSIM at lists.cs.ucla.edu >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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: From sravyapallantla at gmail.com Wed Jun 29 09:18:16 2016 From: sravyapallantla at gmail.com (sravya p) Date: Wed, 29 Jun 2016 21:48:16 +0530 Subject: [ndnSIM] help Message-ID: hello every one. i am trying to install ndnSIM 2.0 in my laptop. during the installation i am getting error when i executing the following command ./waf configure --enable-examples bash: ./waf no such file or directory. i know only some linux commands and i am new to this simulator. please help me to continue the installation process and also to work with this simulator. Thanks & Regards sravya -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at CS.UCLA.EDU Wed Jun 29 10:23:06 2016 From: aa at CS.UCLA.EDU (Alex Afanasyev) Date: Wed, 29 Jun 2016 10:23:06 -0700 Subject: [ndnSIM] help In-Reply-To: References: Message-ID: Hi Sravya, You can follow a specific example on how to start: http://ndnsim.net/2.1/getting-started.html#simulating-using-ndnsim --- Alex > On Jun 29, 2016, at 9:18 AM, sravya p wrote: > > hello every one. i am trying to install ndnSIM 2.0 in my laptop. during the installation i am getting error when i executing the following command > ./waf configure --enable-examples > > bash: ./waf no such file or directory. > > i know only some linux commands and i am new to this simulator. please help me to continue the installation process and also to work with this simulator. > > > > > > > Thanks & Regards > sravya > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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: From z.rezaiefar at yahoo.com Thu Jun 30 00:16:06 2016 From: z.rezaiefar at yahoo.com (Zeinab Rezaiefar) Date: Thu, 30 Jun 2016 16:16:06 +0900 Subject: [ndnSIM] Forward Interest messages through multiple interfaces References: <1449128435.4116105.1467269762518.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <6A5647FD-9F0A-45ED-B63E-C23457C5A33F@yahoo.com> Hello everyone, I would like to forward Interest message through multiple interfaces, so if the message drop in one way , it can be forwarded from another way. I have used flooding as forwarding strategy. however, I am wondering that when I use GlobalRoutingHeloer and set prefix using GlobalRoutingHelper::AddOrigins() , still Interest messages forward through multiple faces or not? Thanks in advance Best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: