From moosavi.itsu at yahoo.com Tue Aug 4 01:20:58 2015 From: moosavi.itsu at yahoo.com (Samira Moosavi) Date: Tue, 4 Aug 2015 08:20:58 +0000 (UTC) Subject: [ndnSIM] size of content store Message-ID: <1340577434.140682.1438676458460.JavaMail.yahoo@mail.yahoo.com> ?HelloI have simulated a scenario about mobility of consumer in NDN that includes 8 APs, 7 routers, 1 consumer and 1 provider. Now I want to know what the size of content store for APs,routers and provider is better to set?thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From spiros.mastorakis at gmail.com Tue Aug 4 08:22:31 2015 From: spiros.mastorakis at gmail.com (Spyridon (Spyros) Mastorakis) Date: Tue, 4 Aug 2015 08:22:31 -0700 Subject: [ndnSIM] size of content store In-Reply-To: <1340577434.140682.1438676458460.JavaMail.yahoo@mail.yahoo.com> References: <1340577434.140682.1438676458460.JavaMail.yahoo@mail.yahoo.com> Message-ID: Hi Samira, this is a question that only you can answer. I am not aware of the simulation objectives, the traffic volume etc. Probably, you could also run the simulation multiple times, each one with a different Content Store size, and observe the results. -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Aug 4, 2015, at 1:20 AM, Samira Moosavi wrote: > > Hello > I have simulated a scenario about mobility of consumer in NDN that includes 8 APs, 7 routers, 1 consumer and 1 provider. > Now I want to know what the size of content store for APs,routers and provider is better to set? > thanks From mays_salman1087 at yahoo.com Wed Aug 5 01:59:35 2015 From: mays_salman1087 at yahoo.com (mays salman) Date: Wed, 5 Aug 2015 08:59:35 +0000 (UTC) Subject: [ndnSIM] NDN simulator issues Message-ID: <1241544906.225120.1438765175933.JavaMail.yahoo@mail.yahoo.com> Hi all Can anyone tell me how to run the code of ndns scenario which its code mentioned in ((https://github.com/cawka/ndnSIM-ndns/tree/41aca30544149c6d4ee74163c1fcac81b1cf491d)) in ndnSIM?, the code belongs to Dr.Alex Afanasyev. Thank a lot Mays -------------- next part -------------- An HTML attachment was scrubbed... URL: From gonzalezcga at gmail.com Mon Aug 10 00:36:38 2015 From: gonzalezcga at gmail.com (Gustavo Gonzalez) Date: Mon, 10 Aug 2015 09:36:38 +0200 Subject: [ndnSIM] Loop to run simulation Message-ID: Good morning to all, I have been trying to run two simulation at once with one script. I have created a FOR loop in order to insert into the p2p Data Rate two StringValues differents, coming from a vector of strings. I want to save the results in two different files depending on the DataRate selected but I am having serious troubles to do this. Probably it is something very basic but I am not detecting it. I hope you can help me. In the attachment you could find the file. Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ndn-simple.cc Type: text/x-c++src Size: 4978 bytes Desc: not available URL: From gonzalezcga at gmail.com Mon Aug 10 07:54:21 2015 From: gonzalezcga at gmail.com (Gustavo Gonzalez) Date: Mon, 10 Aug 2015 16:54:21 +0200 Subject: [ndnSIM] Set a random data rate for each NDN packet generated. Message-ID: Hello, I would like to ask about a doubt that I have. Is it possible to allocate different Data Rate for each one of the Interests and Data messages issued? It means to generate a random value for the Data Rate taken from a given distribution every time that a new packet is generated? If this is possible, could you please explain me how this could be done? Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian.kreuzberger at itec.aau.at Mon Aug 10 11:15:52 2015 From: christian.kreuzberger at itec.aau.at (Christian Kreuzberger) Date: Mon, 10 Aug 2015 20:15:52 +0200 Subject: [ndnSIM] Set a random data rate for each NDN packet generated. In-Reply-To: References: Message-ID: <0d3868e7ec7632217ba94d7c1e4bb281@itec.aau.at> Hi! I am not quite sure what you are intending to do, howerver, a packet (whether it is NDN, CCN, or IP) does not have a data rate. If you are talking about limiting the transmission rate of a set of packets (e.g., 100 packets per second), then you would have to implement your own Forwarding Strategy in ndnSIM 2.0. On 2015-08-10 16:54, Gustavo Gonzalez wrote: > Hello, > > I would like to ask about a doubt that I have. Is it possible to > allocate different Data Rate for each one of the Interests and Data > messages issued? It means to generate a random value for the Data Rate > taken from a given distribution every time that a new packet is > generated? > > If this is possible, could you please explain me how this could be > done? > > Regards. > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From spiros.mastorakis at gmail.com Tue Aug 11 08:30:04 2015 From: spiros.mastorakis at gmail.com (Spyridon (Spyros) Mastorakis) Date: Tue, 11 Aug 2015 08:30:04 -0700 Subject: [ndnSIM] Set a random data rate for each NDN packet generated. In-Reply-To: References: Message-ID: <0A3F71F9-7E53-4123-B400-FF4A4178FB80@gmail.com> Hi Gustavo, as Christian also pointed out, I do not really understand what you mean by ?Data Rate for each one of the Interests and Data messages?. Could you please define this concept? Thanks -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Aug 10, 2015, at 7:54 AM, Gustavo Gonzalez wrote: > > Hello, > > I would like to ask about a doubt that I have. Is it possible to allocate different Data Rate for each one of the Interests and Data messages issued? It means to generate a random value for the Data Rate taken from a given distribution every time that a new packet is generated? > > If this is possible, could you please explain me how this could be done? > > Regards. From gill_gemini at hotmail.com Wed Aug 12 05:09:55 2015 From: gill_gemini at hotmail.com (bilal gill) Date: Wed, 12 Aug 2015 05:09:55 -0700 Subject: [ndnSIM] Installation ndnsim 2.0 Message-ID: Hi, I am trying to install ndnsim 2.0 on ubuntu 12.04. I followed the instructions on the webpage of ndnsim 2.0.(ndn-cxx version:0.3.3) I am getting following error while trying ./waf configure in terminal in ndn-cxx folder. Setting top to : /home/rani/Desktop/ndnSIM/ndn-cxx Setting out to : /home/rani/Desktop/ndnSIM/ndn-cxx/build Building static library : no Building shared library : yes Checking for 'g++' (C++ compiler) : /usr/bin/g++ Checking supported CXXFLAGS : -std=c++0x Checking supported CXXFLAGS : -pedantic -Wall -O2 -g Checking for program 'doxygen' : /usr/bin/doxygen Checking for program 'tar' : /bin/tar Checking for program 'sphinx-build' : /usr/bin/sphinx-build Checking for std::is_default_constructible : no Checking for std::is_nothrow_move_constructible : no Checking for std::is_nothrow_move_assignable : no Checking for friend typename-specifier : no Checking for friend typename using wrapper : yes Checking for override and final specifiers : no Checking for std::vector::insert with const_iterators : no Checking for program 'sh' : /bin/sh Checking for library pthread : yes Checking for library rt : yes Checking for function getpass : yes Checking for rtnetlink : yes Checking for program 'pkg-config' : /usr/bin/pkg-config Checking for 'sqlite3' : yes Checking Crypto++ lib : 561 Checking if CryptoPP library works : yes Checking boost includes : 1.57.0 Checking boost libs : lib system not found in /usr/lib The configuration failed (complete log in /home/rani/Desktop/ndnSIM/ndn-cxx/build/config.log) Do i need to install some more libraries or ndnsim could not find the link to these libraries? Regards -Gill -------------- next part -------------- An HTML attachment was scrubbed... URL: From spiros.mastorakis at gmail.com Wed Aug 12 08:33:24 2015 From: spiros.mastorakis at gmail.com (Spyridon (Spyros) Mastorakis) Date: Wed, 12 Aug 2015 08:33:24 -0700 Subject: [ndnSIM] Installation ndnsim 2.0 In-Reply-To: References: Message-ID: <41CA3289-1B17-4316-ABE0-8204DCB7AD99@gmail.com> Hi Gill, first of all, the error you got refers to ndn-cxx, which is our library, not ndnSIM itself. This error indicates that your installed boost libraries could not be found by ndn-cxx. Please make sure that you installed the boost libraries correctly and then search for the directory, where they were installed. Typically, the boost libraries are installed under the /usr/lib directory. If your boost libraries have been installed somewhere else, you may use the following option to indicate the specific directory and configure ndn-cxx: ./waf configure --boost-libs= -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Aug 12, 2015, at 5:09 AM, bilal gill wrote: > > > Hi, > > I am trying to install ndnsim 2.0 on ubuntu 12.04. > I followed the instructions on the webpage of ndnsim 2.0.(ndn-cxx version:0.3.3) > > I am getting following error while trying ./waf configure in terminal in ndn-cxx folder. > > > Setting top to : /home/rani/Desktop/ndnSIM/ndn-cxx > Setting out to : /home/rani/Desktop/ndnSIM/ndn-cxx/build > Building static library : no > Building shared library : yes > Checking for 'g++' (C++ compiler) : /usr/bin/g++ > Checking supported CXXFLAGS : -std=c++0x > Checking supported CXXFLAGS : -pedantic -Wall -O2 -g > Checking for program 'doxygen' : /usr/bin/doxygen > Checking for program 'tar' : /bin/tar > Checking for program 'sphinx-build' : /usr/bin/sphinx-build > Checking for std::is_default_constructible : no > Checking for std::is_nothrow_move_constructible : no > Checking for std::is_nothrow_move_assignable : no > Checking for friend typename-specifier : no > Checking for friend typename using wrapper : yes > Checking for override and final specifiers : no > Checking for std::vector::insert with const_iterators : no > Checking for program 'sh' : /bin/sh > Checking for library pthread : yes > Checking for library rt : yes > Checking for function getpass : yes > Checking for rtnetlink : yes > Checking for program 'pkg-config' : /usr/bin/pkg-config > Checking for 'sqlite3' : yes > Checking Crypto++ lib : 561 > Checking if CryptoPP library works : yes > Checking boost includes : 1.57.0 > Checking boost libs : lib system not found in /usr/lib > The configuration failed > (complete log in /home/rani/Desktop/ndnSIM/ndn-cxx/build/config.log) > > Do i need to install some more libraries or ndnsim could not find the link to these libraries? > > Regards > -Gill > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From moosavi.itsu at yahoo.com Sun Aug 16 02:41:34 2015 From: moosavi.itsu at yahoo.com (Samira Moosavi) Date: Sun, 16 Aug 2015 09:41:34 +0000 (UTC) Subject: [ndnSIM] issue in ndnSIM 1.0 Message-ID: <1025190503.5229663.1439718094628.JavaMail.yahoo@mail.yahoo.com> Hello I have used ndnSIM 1.0 to simulate scenario my scenario which is about consumer mobility. now I want to know how I can change packet format and forwarding strategy in ndnSIM 1.0? and what is important in mobility to chnage?? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From gonzalezcga at gmail.com Sun Aug 16 13:47:43 2015 From: gonzalezcga at gmail.com (Gustavo Gonzalez) Date: Sun, 16 Aug 2015 22:47:43 +0200 Subject: [ndnSIM] Delay PIT and CS deletion Message-ID: Hello, I have a question. How could be modify the deletion time of an entry in the PIT and in the CS table? The case would be an interest forwarded that will take 500ms to be answered, so I don't want any other interest in the air requesting the same content. How this could be done? Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: From spiros.mastorakis at gmail.com Sun Aug 16 13:57:32 2015 From: spiros.mastorakis at gmail.com (Spyridon (Spyros) Mastorakis) Date: Sun, 16 Aug 2015 13:57:32 -0700 Subject: [ndnSIM] Delay PIT and CS deletion In-Reply-To: References: Message-ID: <8073978F-DB9D-455A-A0B9-9772528E29F1@gmail.com> Hi Gustavo, the expiration time of a PIT entry is equal to the lifetime of the last Interest received. For the CS, this depends on the amount of traffic and the replacement policy. When the CS of a router is full, the eviction of a CS entry will take place according to the replacement policy. For further details about the forwarding process and in general about all the NFD-related functionality, you may take a look at the NFD-developer guide: http://named-data.net/wp-content/uploads/2015/05/ndn-0021-4-nfd-developer-guide.pdf Please let me know if you need anything else. -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Aug 16, 2015, at 1:47 PM, Gustavo Gonzalez wrote: > > Hello, > > I have a question. How could be modify the deletion time of an entry in the PIT and in the CS table? The case would be an interest forwarded that will take 500ms to be answered, so I don't want any other interest in the air requesting the same content. > > How this could be done? > > Regards. > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From gonzalezcga at gmail.com Mon Aug 17 13:05:09 2015 From: gonzalezcga at gmail.com (Gustavo Gonzalez) Date: Mon, 17 Aug 2015 22:05:09 +0200 Subject: [ndnSIM] Fwd: Delay PIT and CS deletion In-Reply-To: References: <8073978F-DB9D-455A-A0B9-9772528E29F1@gmail.com> Message-ID: Hello Spyridon, First of all thanks for the answer. I was wondering if the deletion of an entry in the PIT could be modified for another value different than the lifetime of the last interest received. I was thinking on a delay of 250ms because I am trying to simulate a satellite connection but I realize that a same content is issued two times because of the propagation delay (500ms) and it shouldn't be like this because the content will be forwarded but due to the large waiting time for the content then a new interest requesting the same content is issued. Another question is if it is possible to have two same contents on the channel at approximately 4s of difference between both of them even when the first content was delivered succesfully. Is this behaviour because of the expiration of the interest lifetime that the consumer issues again an interest requesting the same content? Regards. On Sun, Aug 16, 2015 at 10:57 PM, Spyridon (Spyros) Mastorakis < spiros.mastorakis at gmail.com> wrote: > Hi Gustavo, > > the expiration time of a PIT entry is equal to the lifetime of the last > Interest received. For the CS, this depends on the amount of traffic and > the replacement policy. When the CS of a router is full, the eviction of a > CS entry will take place according to the replacement policy. > > For further details about the forwarding process and in general about all > the NFD-related functionality, you may take a look at the NFD-developer > guide: > > > http://named-data.net/wp-content/uploads/2015/05/ndn-0021-4-nfd-developer-guide.pdf > > Please let me know if you need anything else. > > -- > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > PhD Computer Science > UCLA > > > > > > On Aug 16, 2015, at 1:47 PM, Gustavo Gonzalez > wrote: > > > > Hello, > > > > I have a question. How could be modify the deletion time of an entry in > the PIT and in the CS table? The case would be an interest forwarded that > will take 500ms to be answered, so I don't want any other interest in the > air requesting the same content. > > > > How this could be done? > > > > Regards. > > _______________________________________________ > > 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 spiros.mastorakis at gmail.com Tue Aug 18 08:32:21 2015 From: spiros.mastorakis at gmail.com (Spyridon (Spyros) Mastorakis) Date: Tue, 18 Aug 2015 08:32:21 -0700 Subject: [ndnSIM] Delay PIT and CS deletion In-Reply-To: References: <8073978F-DB9D-455A-A0B9-9772528E29F1@gmail.com> Message-ID: <3FCD91EF-56E6-4C6B-88BE-8F114D3C70FB@gmail.com> Hi Gustavo, > Hello Spyridon, > > First of all thanks for the answer. > > I was wondering if the deletion of an entry in the PIT could be modified for another value different than the lifetime of the last interest received. I was thinking on a delay of 250ms because I am trying to simulate a satellite connection but I realize that a same content is issued two times because of the propagation delay (500ms) and it shouldn't be like this because the content will be forwarded but due to the large waiting time for the content then a new interest requesting the same content is issued. In order to set the expiration time of a PIT entry to a value other than the Interest lifetime, you will need to modify this code: https://github.com/NDN-Routing/ndnSIM/blob/master/NFD/daemon/table/pit-face-record.cpp#L45 > Another question is if it is possible to have two same contents on the channel at approximately 4s of difference between both of them even when the first content was delivered succesfully. Is this behaviour because of the expiration of the interest lifetime that the consumer issues again an interest requesting the same content? This is most probably because of the timeouts on the application side. You will need to modify the way that the consumer application retransmits the Interests. -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA From bouabidmarwan at gmail.com Tue Aug 18 10:07:26 2015 From: bouabidmarwan at gmail.com (Bouabid Marwan) Date: Tue, 18 Aug 2015 18:07:26 +0100 Subject: [ndnSIM] Feeding tcl trace file into ndnSIM Message-ID: hello i am trying to run this line of code : ./waf --run ?ns2-mobility-trace --traceFile=scratch/losangeles.tcl --nodeNum=2 --duration=100.0 --logFile=ns2-mobility-trace.log? but i am getting an error i will appreciate any help and thanks. Bouabid Marwan Mast?re de recherche System d'information intelligent ISIGK. tel:+21655724177 From spiros.mastorakis at gmail.com Tue Aug 18 12:31:20 2015 From: spiros.mastorakis at gmail.com (Spyridon (Spyros) Mastorakis) Date: Tue, 18 Aug 2015 12:31:20 -0700 Subject: [ndnSIM] Feeding tcl trace file into ndnSIM In-Reply-To: References: Message-ID: <066AB5AC-073E-4ADC-9949-2D9B5B3A685E@gmail.com> Hi Bouabid, I am sorry but you do not provide any further information on what exactly you are using. I feel that since you are using a NS2 mobility trace, it would be better to ask for assistance on the NS3 mailing list. Thanks -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Aug 18, 2015, at 10:07 AM, Bouabid Marwan wrote: > > hello > > i am trying to run this line of code : > ./waf --run ?ns2-mobility-trace --traceFile=scratch/losangeles.tcl > --nodeNum=2 --duration=100.0 --logFile=ns2-mobility-trace.log? > but i am getting an error > i will appreciate any help and thanks. > > > Bouabid Marwan > Mast?re de recherche System d'information intelligent ISIGK. > tel:+21655724177 > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From hishamfarahat at gmail.com Tue Aug 18 14:45:27 2015 From: hishamfarahat at gmail.com (Hisham Farahat) Date: Tue, 18 Aug 2015 17:45:27 -0400 Subject: [ndnSIM] LongestPrefixMatch FIB problem Message-ID: Hi, LongestPrefixMatch when used with FIB gives wrong results. (I'm using ndnSIM 1.0.) The FIB of a node contains: ############ Node Dest prefix Interfaces(Costs) +-------------+--------------------------------------+ /prefix_3 dev=net(0)(1,g,1) /prefix_3/153 dev=net(1)(1,y,1) ############# The LongestPrefixMatch for interest "/prefix_3/153" is returning the first entry : "/prefix_3 dev=net(0)(1,g,1)" Is this normal? Regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: From moosavi.itsu at yahoo.com Wed Aug 19 02:33:40 2015 From: moosavi.itsu at yahoo.com (Samira Moosavi) Date: Wed, 19 Aug 2015 09:33:40 +0000 (UTC) Subject: [ndnSIM] ndn question Message-ID: <1441002076.4854894.1439976820154.JavaMail.yahoo@mail.yahoo.com> Dear All I have worked with ndnSIM 1.0 for my project. Now I have some question about it. 1. How can I add? other packets or modify packet of ndnSIM?( which file)2. How can I add algorithm for enhancing cache management? 3. which function shows signal strength? when a mobile node is away from access point?? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From gonzalezcga at gmail.com Thu Aug 20 08:04:43 2015 From: gonzalezcga at gmail.com (Gustavo Gonzalez) Date: Thu, 20 Aug 2015 17:04:43 +0200 Subject: [ndnSIM] Delay PIT and CS deletion In-Reply-To: <3FCD91EF-56E6-4C6B-88BE-8F114D3C70FB@gmail.com> References: <8073978F-DB9D-455A-A0B9-9772528E29F1@gmail.com> <3FCD91EF-56E6-4C6B-88BE-8F114D3C70FB@gmail.com> Message-ID: Thanks for the answer Spyridon, I have been trying to run the code after having modified the time but I got an error (./src/ndnSIM/NFD/daemon/table/pit-face-record.cpp:45:33: error: conversion from ?double? to non-scalar type ?boost::chrono::milliseconds {aka boost::chrono::duration >}? requested) I just made equal the lifetime value to 250. Probably I am doing it wrong and that's why the mistake. Could that just be changed by an integer value in order to be modified the PIT duration? Another question that I wanted to make is about the total length of the ndn packet on the wire. The publisher sets the payload size but how much this could be increased? If it is go large, then fragmentation of the data message takes place before to be put on the wire? Thanks in advance. On Tue, Aug 18, 2015 at 5:32 PM, Spyridon (Spyros) Mastorakis < spiros.mastorakis at gmail.com> wrote: > Hi Gustavo, > > > Hello Spyridon, > > > > First of all thanks for the answer. > > > > I was wondering if the deletion of an entry in the PIT could be modified > for another value different than the lifetime of the last interest > received. I was thinking on a delay of 250ms because I am trying to > simulate a satellite connection but I realize that a same content is issued > two times because of the propagation delay (500ms) and it shouldn't be like > this because the content will be forwarded but due to the large waiting > time for the content then a new interest requesting the same content is > issued. > > In order to set the expiration time of a PIT entry to a value other than > the Interest lifetime, you will need to modify this code: > > > https://github.com/NDN-Routing/ndnSIM/blob/master/NFD/daemon/table/pit-face-record.cpp#L45 > > > > Another question is if it is possible to have two same contents on the > channel at approximately 4s of difference between both of them even when > the first content was delivered succesfully. Is this behaviour because of > the expiration of the interest lifetime that the consumer issues again an > interest requesting the same content? > > This is most probably because of the timeouts on the application side. You > will need to modify the way that the consumer application retransmits the > Interests. > > -- > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > PhD Computer Science > UCLA > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rihab.jmal1 at gmail.com Fri Aug 21 06:46:16 2015 From: rihab.jmal1 at gmail.com (rihab jmal) Date: Fri, 21 Aug 2015 14:46:16 +0100 Subject: [ndnSIM] compilation error of ndn-global-routing-helper Message-ID: Hi, i need to work with ndn-global-routing-helper, when i compile it the following errors appear: g++ -Wall -c "ndn-global-routing-helper.cpp" (dans le dossier : /home/rihab/ndnSIM/ns-3/src/ndnSIM/helper) In file included from /usr/local/include/ndn-cxx/interest.hpp:25:0, from /home/rihab/ndnSIM/ns-3/src/ndnSIM/model/ndn-common.hpp:28, from ndn-global-routing-helper.hpp:23, from ndn-global-routing-helper.cpp:26: /usr/local/include/ndn-cxx/common.hpp:63:4: error: #error "ndn-cxx applications must be compiled using the C++11 standard" # error "ndn-cxx applications must be compiled using the C++11 standard" ^ In file included from /usr/include/c++/4.8/cstdint:35:0, from /usr/local/include/ndn-cxx/common.hpp:67, from /usr/local/include/ndn-cxx/interest.hpp:25, from /home/rihab/ndnSIM/ns-3/src/ndnSIM/model/ndn-common.hpp:28, from ndn-global-routing-helper.hpp:23, from ndn-global-routing-helper.cpp:26: /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the \ ^ ndn-global-routing-helper.cpp:28:37: fatal error: model/ndn-l3-protocol.hpp: No such file or directory #include "model/ndn-l3-protocol.hpp" ^ compilation terminated. Compilation ?chou?e. Please help me, any suggestion !! Best Regards, Rihab -------------- next part -------------- An HTML attachment was scrubbed... URL: From spiros.mastorakis at gmail.com Fri Aug 21 10:51:03 2015 From: spiros.mastorakis at gmail.com (Spyridon (Spyros) Mastorakis) Date: Fri, 21 Aug 2015 10:51:03 -0700 Subject: [ndnSIM] compilation error of ndn-global-routing-helper In-Reply-To: References: Message-ID: <96085344-0EB6-483F-B8C8-701A5D8E9EB5@gmail.com> Hi, Either you need to fetch the latest commit of ndn-cxx and ndnSIM and compile it with C++11 support, or your compiler does not support C++11 (in this case you need to update your compiler). -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA > On Aug 21, 2015, at 6:46 AM, rihab jmal wrote: > > Hi, > i need to work with ndn-global-routing-helper, when i compile it the following errors appear: > g++ -Wall -c "ndn-global-routing-helper.cpp" (dans le dossier : /home/rihab/ndnSIM/ns-3/src/ndnSIM/helper) > In file included from /usr/local/include/ndn-cxx/interest.hpp:25:0, > from /home/rihab/ndnSIM/ns-3/src/ndnSIM/model/ndn-common.hpp:28, > from ndn-global-routing-helper.hpp:23, > from ndn-global-routing-helper.cpp:26: > /usr/local/include/ndn-cxx/common.hpp:63:4: error: #error "ndn-cxx applications must be compiled using the C++11 standard" > # error "ndn-cxx applications must be compiled using the C++11 standard" > ^ > In file included from /usr/include/c++/4.8/cstdint:35:0, > from /usr/local/include/ndn-cxx/common.hpp:67, > from /usr/local/include/ndn-cxx/interest.hpp:25, > from /home/rihab/ndnSIM/ns-3/src/ndnSIM/model/ndn-common.hpp:28, > from ndn-global-routing-helper.hpp:23, > from ndn-global-routing-helper.cpp:26: > /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. > #error This file requires compiler and library support for the \ > ^ > ndn-global-routing-helper.cpp:28:37: fatal error: model/ndn-l3-protocol.hpp: No such file or directory > #include "model/ndn-l3-protocol.hpp" > ^ > compilation terminated. > Compilation ?chou?e. > Please help me, any suggestion !! > > Best Regards, > Rihab > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From spiros.mastorakis at gmail.com Sat Aug 22 21:24:39 2015 From: spiros.mastorakis at gmail.com (Spyridon (Spyros) Mastorakis) Date: Sat, 22 Aug 2015 21:24:39 -0700 Subject: [ndnSIM] Delay PIT and CS deletion In-Reply-To: References: <8073978F-DB9D-455A-A0B9-9772528E29F1@gmail.com> <3FCD91EF-56E6-4C6B-88BE-8F114D3C70FB@gmail.com> Message-ID: <1283A8A8-BB7C-45B1-95D0-DEE39BB22C63@gmail.com> > I have been trying to run the code after having modified the time but I got an error (./src/ndnSIM/NFD/daemon/table/pit-face-record.cpp:45:33: error: conversion from ?double? to non-scalar type ?boost::chrono::milliseconds {aka boost::chrono::duration >}? requested) I just made equal the lifetime value to 250. Probably I am doing it wrong and that's why the mistake. Could that just be changed by an integer value in order to be modified the PIT duration? The lifetime has to be of type time::milliseconds. So, something like time::milliseconds lifetime = time::milliseconds(250) should work. > Another question that I wanted to make is about the total length of the ndn packet on the wire. The publisher sets the payload size but how much this could be increased? If it is go large, then fragmentation of the data message takes place before to be put on the wire? There is no fragmentation on the ndnSIM side (and I believe there is no fragmentation taking place on the NS3 side as well). -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA From gonzalezcga at gmail.com Sun Aug 23 01:31:12 2015 From: gonzalezcga at gmail.com (Gustavo Gonzalez) Date: Sun, 23 Aug 2015 10:31:12 +0200 Subject: [ndnSIM] Delay PIT and CS deletion In-Reply-To: <1283A8A8-BB7C-45B1-95D0-DEE39BB22C63@gmail.com> References: <8073978F-DB9D-455A-A0B9-9772528E29F1@gmail.com> <3FCD91EF-56E6-4C6B-88BE-8F114D3C70FB@gmail.com> <1283A8A8-BB7C-45B1-95D0-DEE39BB22C63@gmail.com> Message-ID: Hello Spyros. Thank you very much for the answer. It helped me a lot. I have two more questions. 1. Is it possible to modify the pit expiration time but only to one node in the Simulation? If it does, how could this be done? 2. I have tried to implement probabilistic:lru caching but the result is the same as in lru. I have seen that probability attributes (0-No cache / 1-Cache) have to be set up in the nodes where this caching strategy has to be implemented. I have done this but the results were not what I expected. I appreciate any hint to solve this. Regards. Am 23.08.2015 06:24 schrieb "Spyridon (Spyros) Mastorakis" < spiros.mastorakis at gmail.com>: > > I have been trying to run the code after having modified the time but I > got an error (./src/ndnSIM/NFD/daemon/table/pit-face-record.cpp:45:33: > error: conversion from ?double? to non-scalar type > ?boost::chrono::milliseconds {aka boost::chrono::duration boost::ratio<1ll, 1000ll> >}? requested) I just made equal the lifetime > value to 250. Probably I am doing it wrong and that's why the mistake. > Could that just be changed by an integer value in order to be modified the > PIT duration? > > The lifetime has to be of type time::milliseconds. So, something like > time::milliseconds lifetime = time::milliseconds(250) should work. > > > Another question that I wanted to make is about the total length of the > ndn packet on the wire. The publisher sets the payload size but how much > this could be increased? If it is go large, then fragmentation of the data > message takes place before to be put on the wire? > > There is no fragmentation on the ndnSIM side (and I believe there is no > fragmentation taking place on the NS3 side as well). > > -- > Spyridon (Spyros) Mastorakis > Personal Website: http://cs.ucla.edu/~mastorakis/ > Internet Research Laboratory > PhD Computer Science > UCLA -------------- next part -------------- An HTML attachment was scrubbed... URL: From spiros.mastorakis at gmail.com Sun Aug 23 20:58:56 2015 From: spiros.mastorakis at gmail.com (Spyridon (Spyros) Mastorakis) Date: Sun, 23 Aug 2015 20:58:56 -0700 Subject: [ndnSIM] Delay PIT and CS deletion In-Reply-To: References: <8073978F-DB9D-455A-A0B9-9772528E29F1@gmail.com> <3FCD91EF-56E6-4C6B-88BE-8F114D3C70FB@gmail.com> <1283A8A8-BB7C-45B1-95D0-DEE39BB22C63@gmail.com> Message-ID: Hi Gustavo, > 1. Is it possible to modify the pit expiration time but only to one node in the Simulation? If it does, how could this be done? > You will need to have access to the node instance from the desired class. After that, you can add a condition modifying the PIT entry expiration time only for the desired node. > 2. I have tried to implement probabilistic:lru caching but the result is the same as in lru. I have seen that probability attributes (0-No cache / 1-Cache) have to be set up in the nodes where this caching strategy has to be implemented. I have done this but the results were not what I expected. I appreciate any hint to solve this. The steps that you have followed sound reasonable to me. I am sorry, but I do not have any ideas what could be wrong. -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA From anselme333 at gmail.com Tue Aug 25 06:34:11 2015 From: anselme333 at gmail.com (NDIKUMANA ANSELME) Date: Tue, 25 Aug 2015 22:34:11 +0900 Subject: [ndnSIM] ndnSIM 1.O: Running new created scenarios in examples or scratch folder Message-ID: Hello Everyone, I am facing the problem of running my new create scenarios in examples or scratch folders. Any hint on how to fix this issue will be appreciated. The exiting scenarios such as ndn-simple, ndn-simple-tcp, etc. are running without any problem. With Regards, Anselme N -------------- next part -------------- An HTML attachment was scrubbed... URL: From biozid at outlook.com Wed Aug 26 08:46:19 2015 From: biozid at outlook.com (Biozid Bostami) Date: Wed, 26 Aug 2015 08:46:19 -0700 Subject: [ndnSIM] [help] query about ndnSim Message-ID: hello everyone,I am doing undergrad thesis on Information Centric Networking (ICN) . I have been studying the ndnSim for quite a while and i can't figured out few topics . I am listing them below. I know some of these question may be very stupid to asked but i have given a lot of time but still couldn't find the answers by myself. Please someone help me out. Questions about ndnSim are: 1. why don't intermediate nodes (one's that isn't directly connected to the consumer node) don't call "" lookup(typename parent_trie::iterator item)"" function written in the X-policy.hpp(fifo,Lru,lfu etc). ??? 2. There is a virtual function definition like ""virtual shared_ptrLookup(shared_ptr interest) = 0;"" why it is needed ??? 3.From which point of simulator the "lookup()" is called ??? means i didn't find the function calling. 4. If i want to check weather an arrived data is already cached in it's neighboring nodes or not before insertion how can i do that ??? Thanks in advance Biozid Bostami -------------- next part -------------- An HTML attachment was scrubbed... URL: From spiros.mastorakis at gmail.com Thu Aug 27 20:31:07 2015 From: spiros.mastorakis at gmail.com (Spyridon (Spyros) Mastorakis) Date: Thu, 27 Aug 2015 20:31:07 -0700 Subject: [ndnSIM] [help] query about ndnSim In-Reply-To: References: Message-ID: Hi, > 1. why don't intermediate nodes (one's that isn't directly connected to the consumer node) don't call > "" lookup(typename parent_trie::iterator item)"" function written in the X-policy.hpp(fifo,Lru,lfu etc). ??? By taking a quick look at our API, I think that this method is called by every simulated node in order to implement the configured cache replacement policy. Am I missing anything? > 2. There is a virtual function definition like ""virtual shared_ptrLookup(shared_ptr interest) = 0;"" why it is needed ??? This is a virtual method of a base class. This method is designed to perform a lookup for cached data on a simulated node. The ContentStoreImpl class inherits this base class and the corresponding method of this class overrides this method. > > 3.From which point of simulator the "lookup()" is called ??? means i didn't find the function calling. It is called from the forwarder class of NFD: https://github.com/named-data-ndnSIM/ndnSIM/blob/f8bf3f4c4c6f0ee38a285a7933d676ceba90ccdb/NFD/daemon/fw/forwarder.cpp#L106 > 4. If i want to check weather an arrived data is already cached in it's neighboring nodes or not before insertion how can i do that ??? You need to have access to the context of the neighboring node and call the lookup method for this node. -- Spyridon (Spyros) Mastorakis Personal Website: http://cs.ucla.edu/~mastorakis/ Internet Research Laboratory PhD Computer Science UCLA From moosavi.itsu at yahoo.com Mon Aug 31 00:37:53 2015 From: moosavi.itsu at yahoo.com (Samira Moosavi) Date: Mon, 31 Aug 2015 07:37:53 +0000 (UTC) Subject: [ndnSIM] about Interest & Data Message-ID: <1718243839.3215733.1441006673716.JavaMail.yahoo@mail.yahoo.com> Dear all I want to work with ndnSIM. Now I would be appreciate if any one could explain about code of Interest and Data for me? code of Interest:: #include "ndn-interest.h" #include "ns3/log.h" #include "ns3/unused.h" #include "ns3/packet.h" NS_LOG_COMPONENT_DEFINE ("ndn.Interest"); namespace ns3 { namespace ndn { Interest::Interest (Ptr payload/* = Create ()*/) ? : m_name () ? , m_scope (0xFF) ? , m_interestLifetime (Seconds (0)) ? , m_nonce (0) ? , m_nackType (NORMAL_INTEREST) ? , m_exclude (0) ? , m_payload (payload) ? , m_wire (0) { ? if (m_payload == 0) // just in case ??? { ????? m_payload = Create (); ??? } } Interest::Interest (const Interest &interest) ? : m_name???????????? (Create (interest.GetName ())) ? , m_scope??????????? (interest.m_scope) ? , m_interestLifetime (interest.m_interestLifetime) ? , m_nonce??????????? (interest.m_nonce) ? , m_nackType???????? (interest.m_nackType) ? , m_exclude????????? (interest.m_exclude ? Create (*interest.GetExclude ()) : 0) ? , m_payload????????? (interest.GetPayload ()->Copy ()) ? , m_wire???????????? (0) { ? NS_LOG_FUNCTION ("correct copy constructor"); } void Interest::SetName (Ptr name) { ? m_name = name; ? m_wire = 0; } void Interest::SetName (const Name &name) { ? m_name = Create (name); ? m_wire = 0; } const Name& Interest::GetName () const { ? if (m_name==0) throw InterestException(); ? return *m_name; } Ptr Interest::GetNamePtr () const { ? return m_name; } void Interest::SetScope (int8_t scope) { ? m_scope = scope; ? m_wire = 0; } int8_t Interest::GetScope () const { ? return m_scope; } void Interest::SetInterestLifetime (Time lifetime) { ? m_interestLifetime = lifetime; ? m_wire = 0; } Time Interest::GetInterestLifetime () const { ? return m_interestLifetime; } void Interest::SetNonce (uint32_t nonce) { ? m_nonce = nonce; ? m_wire = 0; } uint32_t Interest::GetNonce () const { ? return m_nonce; } void Interest::SetNack (uint8_t nackType) { ? m_nackType = nackType; ? m_wire = 0; } uint8_t Interest::GetNack () const { ? return m_nackType; } void Interest::SetExclude (Ptr exclude) { ? m_exclude = exclude; ? m_wire = 0; } Ptr Interest::GetExclude () const { ? return m_exclude; } void Interest::SetPayload (Ptr payload) { ? m_payload = payload; ? m_wire = 0; } Ptr Interest::GetPayload () const { ? return m_payload; } void Interest::Print (std::ostream &os) const { ? os << "I: " << GetName (); ? ? return; ? os << "\n? " << GetName () << "\n"; ? if (GetNack ()>0) ??? { ????? os << "? "; ????? switch (GetNack ()) ??????? { ??????? case NACK_LOOP: ????????? os << "loop"; ????????? break; ??????? case NACK_CONGESTION: ????????? os << "congestion"; ????????? break; ??????? default: ????????? os << "unknown"; ????????? break; ??????? } ????? os << "\n"; ??? } ? os << "? " << GetScope () << "\n"; ? if ( !GetInterestLifetime ().IsZero() ) ??? os << "? " << GetInterestLifetime () << "\n"; ? if (GetNonce ()>0) ??? os << "? " << GetNonce () << "\n"; ? os << ""; } } // namespace ndn } // namespace ns3 code of Data:: #include "ndn-data.h" #include "ns3/log.h" #include NS_LOG_COMPONENT_DEFINE ("ndn.Data"); namespace ns3 { namespace ndn { Data::Data (Ptr payload/* = Create ()*/) ? : m_name (Create ()) ? , m_signature (0) ? , m_payload (payload) ? , m_keyLocator (0) ? , m_wire (0) { ? if (m_payload == 0) // just in case ??? { ????? m_payload = Create (); ??? } } Data::Data (const Data &other) ? : m_name (Create (other.GetName ())) ? , m_freshness (other.GetFreshness ()) ? , m_timestamp (other.GetTimestamp ()) ? , m_signature (other.GetSignature ()) ? , m_payload (other.GetPayload ()->Copy ()) ? , m_wire (0) { ? if (other.GetKeyLocator ()) ??? { ????? m_keyLocator = Create (*other.GetKeyLocator ()); ??? } } void Data::SetName (Ptr name) { ? m_name = name; ? m_wire = 0; } void Data::SetName (const Name &name) { ? m_name = Create (name); ? m_wire = 0; } const Name& Data::GetName () const { ? if (m_name==0) throw DataException(); ? return *m_name; } Ptr Data::GetNamePtr () const { ? return m_name; } void Data::SetTimestamp (const Time ×tamp) { ? m_timestamp = timestamp; ? m_wire = 0; } Time Data::GetTimestamp () const { ? return m_timestamp; } ??? void Data::SetFreshness (const Time &freshness) { ? m_freshness = freshness; ? m_wire = 0; } Time Data::GetFreshness () const { ? return m_freshness; } void Data::SetSignature (uint32_t signature) { ? m_signature = signature; ? m_wire = 0; } uint32_t Data::GetSignature () const { ? return m_signature; } void Data::SetKeyLocator (Ptr keyLocator) { ? m_keyLocator = keyLocator; } Ptr Data::GetKeyLocator () const { ? return m_keyLocator; } void Data::Print (std::ostream &os) const { ? os << "D: " << GetName (); ? // os << "" << GetName () << ""; } void Data::SetPayload (Ptr payload) { ? m_payload = payload; ? m_wire = 0; } Ptr Data::GetPayload () const { ? return m_payload; } } // namespace ndn } // namespace ns3 -------------- next part -------------- An HTML attachment was scrubbed... URL: From srk130230 at utdallas.edu Mon Aug 31 08:51:03 2015 From: srk130230 at utdallas.edu (Komajwar, Sharvari) Date: Mon, 31 Aug 2015 15:51:03 +0000 Subject: [ndnSIM] Forwarding strategy in NDN Message-ID: Hello, I am very new to this topic.I am working on multipath forwarding strategy in named Data Networking.I need help regarding that.I have following questions: 1)For my strategy I need one more data structure.How can I design that? 2)I need RTT estimation for every interest packet in my strategy, How can I do that? Do I need to use rtt-estimator? 3)How can I piggyback some information with Data? Thanks &Regards, Sharvari Komajwar Graduate Student, Department of Computer Science, The University of Texas at Dallas, USA -------------- next part -------------- An HTML attachment was scrubbed... URL: From srk130230 at utdallas.edu Mon Aug 31 09:04:23 2015 From: srk130230 at utdallas.edu (Komajwar, Sharvari) Date: Mon, 31 Aug 2015 16:04:23 +0000 Subject: [ndnSIM] forwarding strategy Message-ID: Hello, I am very new to this topic.I am working on multipath forwarding strategy in named Data Networking.I need help regarding that.I have following questions: 1)For my strategy I need one more data structure.How can I design that? 2)I need RTT estimation for every interest packet in my strategy, How can I do that? Do I need to use rtt-estimator? 3)How can I piggyback some information with Data? Thanks &Regards, Sharvari Komajwar Graduate Student, Department of Computer Science, The University of Texas at Dallas, USA -------------- next part -------------- An HTML attachment was scrubbed... URL: From kourtneylee1611 at gmail.com Wed Aug 12 10:58:43 2015 From: kourtneylee1611 at gmail.com (=?UTF-8?B?5p2O5ZyL56eA?=) Date: Wed, 12 Aug 2015 17:58:43 -0000 Subject: [ndnSIM] PIT and long-lived interests Message-ID: Hi, I run some simulation recently, trying to fill the PIT of the producer and routers with long-lived interests. But I found that I can only filled the PIT of the consumers', since consumers stopped sending interests at exactly the same time at every simulation no matter how many consumers I added, so I am wondering: will the long-lived Interests be dropped by routers and producer if the PITs are full? And if they will, is that the default NFD feature? Thank you, Kourtney -------------- next part -------------- An HTML attachment was scrubbed... URL: