From m.mirzazad at gmail.com Tue Jul 1 19:35:19 2014 From: m.mirzazad at gmail.com (Maziar) Date: Tue, 01 Jul 2014 19:35:19 -0700 Subject: [ndnSIM] How to get erased item of Content Store Message-ID: <53B36FE7.2030902@gmail.com> Hi, I am trying to get the prefix of the item which has been replaced in content store. What I know so far is that the below command does erasing: base_.erase (&(*policy_container::begin ())); But I can not retrieve the prefix of the item from policy_container::begin (). I would appreciate if you help me. Thanks Maz From alexander.afanasyev at ucla.edu Tue Jul 1 21:16:36 2014 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Tue, 1 Jul 2014 21:16:36 -0700 Subject: [ndnSIM] How to get erased item of Content Store In-Reply-To: <53B36FE7.2030902@gmail.com> References: <53B36FE7.2030902@gmail.com> Message-ID: Hi Maziar, Just before the item is erased, you should do something like this: std::cout << policy_container::begin()->payload()->GetName() << std::endl; --- Alex On Jul 1, 2014, at 7:35 PM, Maziar wrote: > Hi, > > I am trying to get the prefix of the item which has been replaced in content store. > What I know so far is that the below command does erasing: > base_.erase (&(*policy_container::begin ())); > But I can not retrieve the prefix of the item from policy_container::begin (). > > I would appreciate if you help me. > > Thanks > Maz From m.mirzazad at gmail.com Wed Jul 2 13:21:26 2014 From: m.mirzazad at gmail.com (Maziar) Date: Wed, 02 Jul 2014 13:21:26 -0700 Subject: [ndnSIM] How to get erased item of Content Store In-Reply-To: References: <53B36FE7.2030902@gmail.com> Message-ID: <53B469C6.7050209@gmail.com> Hi Alex, Thanks for the reply, But this does not work, I have tried many other too. Could you please tell the exact code? I know this is because of lack of my knowledge about boost lists. Thanks Maziar On 07/01/2014 09:16 PM, Alex Afanasyev wrote: > Hi Maziar, > > Just before the item is erased, you should do something like this: > > std::cout << policy_container::begin()->payload()->GetName() << std::endl; > > --- > Alex > > On Jul 1, 2014, at 7:35 PM, Maziar wrote: > >> Hi, >> >> I am trying to get the prefix of the item which has been replaced in content store. >> What I know so far is that the below command does erasing: >> base_.erase (&(*policy_container::begin ())); >> But I can not retrieve the prefix of the item from policy_container::begin (). >> >> I would appreciate if you help me. >> >> Thanks >> Maz > From alexander.afanasyev at ucla.edu Wed Jul 2 13:42:08 2014 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Wed, 2 Jul 2014 13:42:08 -0700 Subject: [ndnSIM] How to get erased item of Content Store In-Reply-To: <53B469C6.7050209@gmail.com> References: <53B36FE7.2030902@gmail.com> <53B469C6.7050209@gmail.com> Message-ID: what exactly is not working / what error you're getting? I have copied this line from the example that I was able to compile. If you're trying to add this line to the existing policies, then you will get the error, since the policies are normally shared between different modules (CS and PIT). You can use this customization only in CS-specific policy (e.g., LFU that is only used by CS right now) --- Alex On Jul 2, 2014, at 1:21 PM, Maziar wrote: > Hi Alex, > > Thanks for the reply, > But this does not work, I have tried many other too. > Could you please tell the exact code? > I know this is because of lack of my knowledge about boost lists. > > Thanks > Maziar > > On 07/01/2014 09:16 PM, Alex Afanasyev wrote: >> Hi Maziar, >> >> Just before the item is erased, you should do something like this: >> >> std::cout << policy_container::begin()->payload()->GetName() << std::endl; >> >> --- >> Alex >> >> On Jul 1, 2014, at 7:35 PM, Maziar wrote: >> >>> Hi, >>> >>> I am trying to get the prefix of the item which has been replaced in content store. >>> What I know so far is that the below command does erasing: >>> base_.erase (&(*policy_container::begin ())); >>> But I can not retrieve the prefix of the item from policy_container::begin (). >>> >>> I would appreciate if you help me. >>> >>> Thanks >>> Maz >> > From m.mirzazad at gmail.com Wed Jul 2 13:56:03 2014 From: m.mirzazad at gmail.com (Maziar) Date: Wed, 02 Jul 2014 13:56:03 -0700 Subject: [ndnSIM] How to get erased item of Content Store In-Reply-To: References: <53B36FE7.2030902@gmail.com> <53B469C6.7050209@gmail.com> Message-ID: <53B471E3.3050503@gmail.com> I am trying to use for Lru. That's why it does not compile. So do you have any suggestions for Lru? On 07/02/2014 01:42 PM, Alex Afanasyev wrote: > what exactly is not working / what error you're getting? I have copied this line from the example that I was able to compile. > > If you're trying to add this line to the existing policies, then you will get the error, since the policies are normally shared between different modules (CS and PIT). You can use this customization only in CS-specific policy (e.g., LFU that is only used by CS right now) > > --- > Alex > > On Jul 2, 2014, at 1:21 PM, Maziar wrote: > >> Hi Alex, >> >> Thanks for the reply, >> But this does not work, I have tried many other too. >> Could you please tell the exact code? >> I know this is because of lack of my knowledge about boost lists. >> >> Thanks >> Maziar >> >> On 07/01/2014 09:16 PM, Alex Afanasyev wrote: >>> Hi Maziar, >>> >>> Just before the item is erased, you should do something like this: >>> >>> std::cout << policy_container::begin()->payload()->GetName() << std::endl; >>> >>> --- >>> Alex >>> >>> On Jul 1, 2014, at 7:35 PM, Maziar wrote: >>> >>>> Hi, >>>> >>>> I am trying to get the prefix of the item which has been replaced in content store. >>>> What I know so far is that the below command does erasing: >>>> base_.erase (&(*policy_container::begin ())); >>>> But I can not retrieve the prefix of the item from policy_container::begin (). >>>> >>>> I would appreciate if you help me. >>>> >>>> Thanks >>>> Maz > From alexander.afanasyev at UCLA.EDU Wed Jul 2 14:02:36 2014 From: alexander.afanasyev at UCLA.EDU (Alex Afanasyev) Date: Wed, 2 Jul 2014 14:02:36 -0700 Subject: [ndnSIM] How to get erased item of Content Store In-Reply-To: <53B471E3.3050503@gmail.com> References: <53B36FE7.2030902@gmail.com> <53B469C6.7050209@gmail.com> <53B471E3.3050503@gmail.com> Message-ID: <8227874A-16A8-44DC-ADAF-8B64C3020841@ucla.edu> just create a new policy (lru2 or something) or disable PIT with LRU policy (since it is not default anyways) in src/pit/ndn-pit-impl.cc. --- Alex On Jul 2, 2014, at 1:56 PM, Maziar wrote: > > I am trying to use for Lru. That's why it does not compile. > So do you have any suggestions for Lru? > > > On 07/02/2014 01:42 PM, Alex Afanasyev wrote: >> what exactly is not working / what error you're getting? I have copied this line from the example that I was able to compile. >> >> If you're trying to add this line to the existing policies, then you will get the error, since the policies are normally shared between different modules (CS and PIT). You can use this customization only in CS-specific policy (e.g., LFU that is only used by CS right now) >> >> --- >> Alex >> >> On Jul 2, 2014, at 1:21 PM, Maziar wrote: >> >>> Hi Alex, >>> >>> Thanks for the reply, >>> But this does not work, I have tried many other too. >>> Could you please tell the exact code? >>> I know this is because of lack of my knowledge about boost lists. >>> >>> Thanks >>> Maziar >>> >>> On 07/01/2014 09:16 PM, Alex Afanasyev wrote: >>>> Hi Maziar, >>>> >>>> Just before the item is erased, you should do something like this: >>>> >>>> std::cout << policy_container::begin()->payload()->GetName() << std::endl; >>>> >>>> --- >>>> Alex >>>> >>>> On Jul 1, 2014, at 7:35 PM, Maziar wrote: >>>> >>>>> Hi, >>>>> >>>>> I am trying to get the prefix of the item which has been replaced in content store. >>>>> What I know so far is that the below command does erasing: >>>>> base_.erase (&(*policy_container::begin ())); >>>>> But I can not retrieve the prefix of the item from policy_container::begin (). >>>>> >>>>> I would appreciate if you help me. >>>>> >>>>> Thanks >>>>> Maz >> > From m.mirzazad at gmail.com Wed Jul 2 20:09:13 2014 From: m.mirzazad at gmail.com (Maziar) Date: Wed, 02 Jul 2014 20:09:13 -0700 Subject: [ndnSIM] How to get erased item of Content Store In-Reply-To: <8227874A-16A8-44DC-ADAF-8B64C3020841@ucla.edu> References: <53B36FE7.2030902@gmail.com> <53B469C6.7050209@gmail.com> <53B471E3.3050503@gmail.com> <8227874A-16A8-44DC-ADAF-8B64C3020841@ucla.edu> Message-ID: <53B4C959.7060907@gmail.com> Thanks a lot Alex, I used it inside the function */"/**/inline void erase (typename parent_trie::iterator item)/**/" /*which worked perfectly. I have another issue, and appreciate if you help me. I am using the following code to get the node in which the replacement is done: Ptr node=item->payload ()->GetContentStore ()->template GetObject (); But it always returns a single node. Do you have any idea what I have done wrong? Any suggestions? Thanks again Maziar On 07/02/2014 02:02 PM, Alex Afanasyev wrote: > just create a new policy (lru2 or something) or disable PIT with LRU policy (since it is not default anyways) in src/pit/ndn-pit-impl.cc. > > --- > Alex > > On Jul 2, 2014, at 1:56 PM, Maziar wrote: > >> I am trying to use for Lru. That's why it does not compile. >> So do you have any suggestions for Lru? >> >> >> On 07/02/2014 01:42 PM, Alex Afanasyev wrote: >>> what exactly is not working / what error you're getting? I have copied this line from the example that I was able to compile. >>> >>> If you're trying to add this line to the existing policies, then you will get the error, since the policies are normally shared between different modules (CS and PIT). You can use this customization only in CS-specific policy (e.g., LFU that is only used by CS right now) >>> >>> --- >>> Alex >>> >>> On Jul 2, 2014, at 1:21 PM, Maziar wrote: >>> >>>> Hi Alex, >>>> >>>> Thanks for the reply, >>>> But this does not work, I have tried many other too. >>>> Could you please tell the exact code? >>>> I know this is because of lack of my knowledge about boost lists. >>>> >>>> Thanks >>>> Maziar >>>> >>>> On 07/01/2014 09:16 PM, Alex Afanasyev wrote: >>>>> Hi Maziar, >>>>> >>>>> Just before the item is erased, you should do something like this: >>>>> >>>>> std::cout << policy_container::begin()->payload()->GetName() << std::endl; >>>>> >>>>> --- >>>>> Alex >>>>> >>>>> On Jul 1, 2014, at 7:35 PM, Maziar wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I am trying to get the prefix of the item which has been replaced in content store. >>>>>> What I know so far is that the below command does erasing: >>>>>> base_.erase (&(*policy_container::begin ())); >>>>>> But I can not retrieve the prefix of the item from policy_container::begin (). >>>>>> >>>>>> I would appreciate if you help me. >>>>>> >>>>>> Thanks >>>>>> Maz > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Thu Jul 3 23:14:53 2014 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Thu, 3 Jul 2014 23:14:53 -0700 Subject: [ndnSIM] How to get erased item of Content Store In-Reply-To: <53B4C959.7060907@gmail.com> References: <53B36FE7.2030902@gmail.com> <53B469C6.7050209@gmail.com> <53B471E3.3050503@gmail.com> <8227874A-16A8-44DC-ADAF-8B64C3020841@ucla.edu> <53B4C959.7060907@gmail.com> Message-ID: <9CD72DAD-1E79-4B4D-B359-BC5E7F0EB484@ucla.edu> Hi Maziar, The way you're getting the node seem right. Are you sure that in your scenario you're getting replacement on different nodes? --- Alex On Jul 2, 2014, at 8:09 PM, Maziar wrote: > Thanks a lot Alex, > > I used it inside the function "inline void erase (typename parent_trie::iterator item)" which worked perfectly. > I have another issue, and appreciate if you help me. > I am using the following code to get the node in which the replacement is done: > Ptr node=item->payload ()->GetContentStore ()->template GetObject (); > But it always returns a single node. > Do you have any idea what I have done wrong? Any suggestions? > > Thanks again > Maziar > > On 07/02/2014 02:02 PM, Alex Afanasyev wrote: >> just create a new policy (lru2 or something) or disable PIT with LRU policy (since it is not default anyways) in src/pit/ndn-pit-impl.cc. >> >> --- >> Alex >> >> On Jul 2, 2014, at 1:56 PM, Maziar wrote: >> >>> I am trying to use for Lru. That's why it does not compile. >>> So do you have any suggestions for Lru? >>> >>> >>> On 07/02/2014 01:42 PM, Alex Afanasyev wrote: >>>> what exactly is not working / what error you're getting? I have copied this line from the example that I was able to compile. >>>> >>>> If you're trying to add this line to the existing policies, then you will get the error, since the policies are normally shared between different modules (CS and PIT). You can use this customization only in CS-specific policy (e.g., LFU that is only used by CS right now) >>>> >>>> --- >>>> Alex >>>> >>>> On Jul 2, 2014, at 1:21 PM, Maziar wrote: >>>> >>>>> Hi Alex, >>>>> >>>>> Thanks for the reply, >>>>> But this does not work, I have tried many other too. >>>>> Could you please tell the exact code? >>>>> I know this is because of lack of my knowledge about boost lists. >>>>> >>>>> Thanks >>>>> Maziar >>>>> >>>>> On 07/01/2014 09:16 PM, Alex Afanasyev wrote: >>>>>> Hi Maziar, >>>>>> >>>>>> Just before the item is erased, you should do something like this: >>>>>> >>>>>> std::cout << policy_container::begin()->payload()->GetName() << std::endl; >>>>>> >>>>>> --- >>>>>> Alex >>>>>> >>>>>> On Jul 1, 2014, at 7:35 PM, Maziar wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I am trying to get the prefix of the item which has been replaced in content store. >>>>>>> What I know so far is that the below command does erasing: >>>>>>> base_.erase (&(*policy_container::begin ())); >>>>>>> But I can not retrieve the prefix of the item from policy_container::begin (). >>>>>>> >>>>>>> I would appreciate if you help me. >>>>>>> >>>>>>> Thanks >>>>>>> Maz >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.rousta67 at gmail.com Fri Jul 4 21:37:52 2014 From: m.rousta67 at gmail.com (mohammad rousta) Date: Sat, 5 Jul 2014 09:07:52 +0430 Subject: [ndnSIM] Error in installing doBy package Message-ID: Hi Alex and All I have a problem in installing "doBy" packages. Also,my R version is 3.0.1 (2013-05-16) and installed in Ubuntu 13.04. when I copy this command " install.packages ('doBy') " to terminal, I encounter this error: // > install.packages ('doBy') Installing package into '/usr/local/lib/R/site-library' (as 'lib' is unspecified) --- Please select a CRAN mirror for use in this session --- trying URL 'http://cran.cs.wwu.edu/src/contrib/doBy_4.5-10.tar.gz' Content type 'application/x-gzip' length 2566698 bytes (2.4 Mb) opened URL ================================================== downloaded 2.4 Mb * installing *source* package 'doBy' ... ** package 'doBy' successfully unpacked and MD5 sums checked ** R ** data ** inst ** preparing package for lazy loading Error : package 'lme4' was built before R 3.0.0: please re-install it ERROR: lazy loading failed for package 'doBy' * removing '/usr/local/lib/R/site-library/doBy' The downloaded source packages are in '/tmp/Rtmpqk0AAn/downloaded_packages' Warning message: In install.packages("doBy") : installation of package 'doBy' had non-zero exit status > q() // I have tried "update.packages" , but this problem is not solved. Would you please tell me how to solve that? Best Regards Mohammad -------------- next part -------------- An HTML attachment was scrubbed... URL: From anselme333 at gmail.com Fri Jul 4 21:38:23 2014 From: anselme333 at gmail.com (NDIKUMANA ANSELME) Date: Sat, 5 Jul 2014 13:38:23 +0900 Subject: [ndnSIM] NS-3 or one of the required NS-3 modules not found Message-ID: Hi, when i run ./waf configure, I am getting the bellow error: Checking for ns3-core : not found NS-3 or one of the required NS-3 modules not found NS-3 needs to be compiled and installed somewhere. You may need also to set PKG_CONFIG_PATH variable in order for configure find installed NS-3. For example: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH ./waf configure I would greatly appreciate, if you kindly give me some hint on how to fix this error. My OS is Ubuntu Linux 12.04. With Regards, Anselme N. -------------- next part -------------- An HTML attachment was scrubbed... URL: From xinshengzzy at gmail.com Sun Jul 6 08:41:45 2014 From: xinshengzzy at gmail.com (Zongyi Zhao) Date: Sun, 06 Jul 2014 23:41:45 +0800 Subject: [ndnSIM] Dose ndnSIM support modifying the structure of fib entry and the routing structure? Message-ID: <53B96E39.7040100@gmail.com> Hi, Alex and all, I need to modify the structure of the fib entry as well as the fib. Dose ndnSIM allow me to do that? If it dose, can you give me some hints? I made a new version of Entry and put it in the directory of /scenario/extensions/, then when I compile it, I am prompted with a number of feedback like this: In file included from ../extensions/learning/ndn-static-fib-entry.cc:22:0: /usr/local/include/ns3-dev/ns3/ndn-fib.h:71:15: error: ?Entry? is not a member of ?ns3::ndn::fib? virtual Ptr Thank you! Look forward for your reply sincerely. -- Zongyi Zhao From velasco.lopez at gmail.com Mon Jul 7 10:24:30 2014 From: velasco.lopez at gmail.com (Jose Velasco) Date: Mon, 07 Jul 2014 19:24:30 +0200 Subject: [ndnSIM] How to run custom-app customized Message-ID: <53BAD7CE.4050506@gmail.com> I have created a copy from files custom-app.h, custom-app.cc and ndn-simple-with-custom-app.cc in scratch directory I have renamed the files to custom-app1.h and .cc, and the classes to CustomApp1, when I try to run I see the following error: root at debian:~/ndnSIM/ns-3# ./waf --run=prueba Waf: Entering directory `/root/ndnSIM/ns-3/build' [1022/2363] cxx: scratch/custom-app1.cc -> build/scratch/custom-app1.cc.3.o [1023/2363] cxx: scratch/prueba.cc -> build/scratch/prueba.cc.1.o [2272/2363] cxxprogram: build/scratch/prueba.cc.1.o -> build/scratch/prueba [2288/2363] cxxprogram: build/scratch/custom-app1.cc.3.o -> build/scratch/custom-app1 /usr/lib/gcc/i486-linux-gnu/4.7/../../../i386-linux-gnu/crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: error: ld returned 1 exit status Waf: Leaving directory `/root/ndnSIM/ns-3/build' Build failed -> task in 'custom-app1' failed (exit status 1): {task 153262796: cxxprogram custom-app1.cc.3.o -> custom-app1} ['/usr/bin/g++', '-pthread', '-Wl,-z,relro', 'scratch/custom-app1.cc.3.o', '-o', '/root/ndnSIM/ns-3/build/scratch/custom-app1', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,--no-as-needed', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L/usr/lib', '-L/usr/lib', '-lns3-dev-test-debug', '-lns3-dev-csma-layout-debug', '-lns3-dev-point-to-point-layout-debug', '-lns3-dev-netanim-debug', '-lns3-dev-lte-debug', '-lns3-dev-spectrum-debug', '-lns3-dev-antenna-debug', '-lns3-dev-aodv-debug', '-lns3-dev-dsdv-debug', '-lns3-dev-dsr-debug', '-lns3-dev-mesh-debug', '-lns3-dev-olsr-debug', '-lns3-dev-csma-debug', '-lns3-dev-wimax-debug', '-lns3-dev-applications-debug', '-lns3-dev-virtual-net-device-debug', '-lns3-dev-uan-debug', '-lns3-dev-energy-debug', '-lns3-dev-flow-monitor-debug', '-lns3-dev-ndnSIM-debug', '-lns3-dev-visualizer-debug', '-lns3-dev-nix-vector-routing-debug', '-lns3-dev-tap-bridge-debug', '-lns3-dev-internet-debug', '-lns3-dev-bridge-debug', '-lns3-dev-point-to-point-debug', '-lns3-dev-mpi-debug', '-lns3-dev-wifi-debug', '-lns3-dev-buildings-debug', '-lns3-dev-propagation-debug', '-lns3-dev-mobility-debug', '-lns3-dev-config-store-debug', '-lns3-dev-emu-debug', '-lns3-dev-fd-net-device-debug', '-lns3-dev-topology-read-debug', '-lns3-dev-network-debug', '-lns3-dev-stats-debug', '-lns3-dev-core-debug', '-lrt', '-lboost_graph-mt', '-lboost_system-mt', '-lboost_signals-mt', '-lboost_filesystem-mt', '-lpython2.7'] what is the problem? ciao -------------- next part -------------- An HTML attachment was scrubbed... URL: From iliamo at ucla.edu Mon Jul 7 10:41:25 2014 From: iliamo at ucla.edu (Ilya Moiseenko) Date: Mon, 7 Jul 2014 10:41:25 -0700 Subject: [ndnSIM] Dose ndnSIM support modifying the structure of fib entry and the routing structure? In-Reply-To: <53B96E39.7040100@gmail.com> References: <53B96E39.7040100@gmail.com> Message-ID: <87391C8A-F434-4FCC-9BA2-CD682FCA5A26@ucla.edu> Hi Zongyi, You need to modify the original FibEntry class directly. It is located in /core directory Ilya On Jul 6, 2014, at 8:41 AM, Zongyi Zhao wrote: > Hi, Alex and all, > I need to modify the structure of the fib entry as well as the fib. Dose ndnSIM allow me to do that? If it dose, can you give me some hints? > > > I made a new version of Entry and put it in the directory of /scenario/extensions/, then when I compile it, I am prompted with a number of feedback like this: > In file included from ../extensions/learning/ndn-static-fib-entry.cc:22:0: > /usr/local/include/ns3-dev/ns3/ndn-fib.h:71:15: error: ?Entry? is not a member of ?ns3::ndn::fib? > virtual Ptr > > Thank you! Look forward for your reply sincerely. > > > -- > Zongyi Zhao > > _______________________________________________ > ndnSIM mailing list > ndnSIM at lists.cs.ucla.edu > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim From alexander.afanasyev at ucla.edu Mon Jul 7 16:06:14 2014 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Mon, 7 Jul 2014 16:06:14 -0700 Subject: [ndnSIM] NS-3 or one of the required NS-3 modules not found In-Reply-To: References: Message-ID: <845F783F-2995-4994-A029-72F8FBCB6016@ucla.edu> Have you compiled NS-3 in optimized mode? If not, you should compile the scenarios in debug mode as well (add --debug to ./waf configure) I would actually highly recommend optimized mode (in NS-3 ./waf configure -d optimized) instead of using debug mode, if you're not modifying NS-3. There is a very significant difference with the simulation time between optimized and debug modes. --- Alex On Jul 4, 2014, at 9:38 PM, NDIKUMANA ANSELME wrote: > Hi, > > when i run ./waf configure, I am getting the bellow error: > > Checking for ns3-core : not found > NS-3 or one of the required NS-3 modules not found > NS-3 needs to be compiled and installed somewhere. You may need also to set PKG_CONFIG_PATH variable in order for configure find installed NS-3. > For example: > PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH ./waf configure > > I would greatly appreciate, if you kindly give me some hint on how to fix this error. My OS is Ubuntu Linux 12.04. > > With Regards, > > Anselme N. > _______________________________________________ > 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 alexander.afanasyev at ucla.edu Mon Jul 7 16:08:01 2014 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Mon, 7 Jul 2014 16:08:01 -0700 Subject: [ndnSIM] Error in installing doBy package In-Reply-To: References: Message-ID: <47C21A67-C651-45BE-98D9-67CE6BE72420@ucla.edu> Hi Mohammad, I haven't yet tried this version of R. Try the recommended action (manually re-installing lme4 package). Otherwise, try to downgrade R. --- Alex On Jul 4, 2014, at 9:37 PM, mohammad rousta wrote: > Hi Alex and All > I have a problem in installing "doBy" packages. > Also,my R version is 3.0.1 (2013-05-16) and installed in Ubuntu 13.04. > when I copy this command " install.packages ('doBy') " to terminal, I encounter this error: > > // > > install.packages ('doBy') > Installing package into ?/usr/local/lib/R/site-library? > (as ?lib? is unspecified) > --- Please select a CRAN mirror for use in this session --- > trying URL 'http://cran.cs.wwu.edu/src/contrib/doBy_4.5-10.tar.gz' > Content type 'application/x-gzip' length 2566698 bytes (2.4 Mb) > opened URL > ================================================== > downloaded 2.4 Mb > > * installing *source* package ?doBy? ... > ** package ?doBy? successfully unpacked and MD5 sums checked > ** R > ** data > ** inst > ** preparing package for lazy loading > Error : package ?lme4? was built before R 3.0.0: please re-install it > ERROR: lazy loading failed for package ?doBy? > * removing ?/usr/local/lib/R/site-library/doBy? > > The downloaded source packages are in > ?/tmp/Rtmpqk0AAn/downloaded_packages? > Warning message: > In install.packages("doBy") : > installation of package ?doBy? had non-zero exit status > > q() > // > > > I have tried "update.packages" , but this problem is not solved. > Would you please tell me how to solve that? > Best Regards > Mohammad > > _______________________________________________ > 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 alexander.afanasyev at UCLA.EDU Wed Jul 9 15:13:19 2014 From: alexander.afanasyev at UCLA.EDU (Alex Afanasyev) Date: Wed, 9 Jul 2014 15:13:19 -0700 Subject: [ndnSIM] Cleaner Log Version In-Reply-To: References: <56FD3B5A-5995-4DDA-89E9-48899AAEA944@ucla.edu> Message-ID: Hi again, You should not use logger messages to obtain any metrics. All these loggings are primarily for debugging purposes and you should never run actual simulations in "debug" compilation of NS-3. When you run in "optimized" mode (./waf configure -d optimized), then none of the logging is enabled and you wouldn't get any result. Instead. You should either use one of the available tracers (http://ndnsim.net/metric.html). If those are not sufficient you can write your own or simply modify source code and put print out statements in the places you need. --- Alex On Jul 9, 2014, at 1:07 PM, Douglas F. Streck wrote: > NS-3/ndnSIM > thanks for the reply. > > > 2014-07-09 17:01 GMT-03:00 Alex Afanasyev : > Hi Douglas, > > Is your question about NS-3/ndnSIM or CCNx? > > --- > Alex > > On Jul 9, 2014, at 7:11 AM, Douglas F. Streck wrote: > > > Hi, > > > > I'm new to CCN and I'm looking for a way to make NS_LOG cleaner. > > Something that looks like this: > > > > node ; time ; information (Packet send to node y, Packet recieved from x) ; prefix. > > > > Is there any way to do that with NS_LOG? Should I make my own log version? > > > > Thank you, > > > > Douglas Streck. > > > > _______________________________________________ > > ccnx-users mailing list > > ccnx-users at ccnx.org > > http://www.ccnx.org/mailman/listinfo/ccnx-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.mirzazad at gmail.com Wed Jul 9 20:47:39 2014 From: m.mirzazad at gmail.com (Maziar Mirzazad) Date: Wed, 9 Jul 2014 20:47:39 -0700 Subject: [ndnSIM] Function CalculateRoute(true) Message-ID: Hi Alex, I am trying to modify routing protocol. At some point I need to call CalculateRoute(true) which invalidates all the previous fib entries and the recalculate routes. After calling, I check all fib entries, and they are exactly correct for the required prefixes (for which I called addOrigin function). Some entries still remain invalid which are for prefixes that never requested in scenario. {Like /some_prefix dev=local(3)(65535,r,0)}. When I run the scenario, interests requested after calling CalculateRoute(true), never get satisfied. Do you have any idea what might be wrong? Does the function "InvalidateAll()" change anything other than fib entries? Thanks Maziar -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexander.afanasyev at ucla.edu Wed Jul 23 18:09:21 2014 From: alexander.afanasyev at ucla.edu (Alex Afanasyev) Date: Wed, 23 Jul 2014 18:09:21 -0700 Subject: [ndnSIM] disabling content store In-Reply-To: <712FE4E7257849499414892DD92704BC5FC7AE1B@INFRAEX01.oxia.corp> References: <712FE4E7257849499414892DD92704BC5FC7AE1B@INFRAEX01.oxia.corp> Message-ID: <75385329-0EA0-4F78-9BB5-6B0F86E6F783@ucla.edu> On Jul 23, 2014, at 2:44 AM, Nour El Houda Ben Youssef wrote: > Dear Alex > > While deploying ndn stack in my topology I need to disable the content store for some constrained nodes but keep it for the rest of the nodes; Can I do it with the same ndnHelper or do I need to use two different ndnHelpers? > How do I set the content store to null in the first place? Without content store in some nodes, will ndn be able to deliver data through the network? Hi Nour, To disable content store, you just need to `ndnHelper.SetContentStore("ns3::ndn::cs::Nocache")' prior to calling `ndnHelper.Install(...)'. You don't need to create multiple helpers (you can, but there is no real need. You can simply alternate "SetContentStore"/"Install" with normal and null (nocache) CS. CS is very powerful component of NDN system, but its absence does not prevent communication. --- Alex > thx > > Nour El Houda Ben Youssef Koubaa > Doctorante Mobidoc - OXIA/SAGE > Mast?re nouvelle g?n?ration des syst?mes d'informations - FST > Ing?nieur G?nie Logiciel - INSAT -------------- next part -------------- An HTML attachment was scrubbed... URL: From NourElHouda.BenYoussef at oxia-group.com Fri Jul 11 04:39:56 2014 From: NourElHouda.BenYoussef at oxia-group.com (Nour El Houda Ben Youssef) Date: Fri, 11 Jul 2014 11:39:56 -0000 Subject: [ndnSIM] ndnSim is not working over Power line communication infrastructure Message-ID: <712FE4E7257849499414892DD92704BC5FC5CCCD@INFRAEX02.oxia.corp> Dear all I've been trying to use ndnSIm over a power line communication infrastructure To do so I used a PLC module for NS3 (http://www.ece.ubc.ca/~faribaa/ns3_plc_software.htm) that I've been using with TCP/IP I wrote the joined script simulation which is working with TCP stack but when I try ndnSIM with the same infrastructure no data is received by the consumer Please help Nour El Houda Ben Youssef Koubaa Doctorante Mobidoc - OXIA/SAGE Mast?re nouvelle g?n?ration des syst?mes d'informations - FST Ing?nieur G?nie Logiciel - INSAT -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ndnPLC.cc Type: application/octet-stream Size: 4536 bytes Desc: ndnPLC.cc URL: From NourElHouda.BenYoussef at oxia-group.com Fri Jul 11 05:06:29 2014 From: NourElHouda.BenYoussef at oxia-group.com (Nour El Houda Ben Youssef) Date: Fri, 11 Jul 2014 12:06:29 -0000 Subject: [ndnSIM] when is a new NetDeviceFaceCallback needed? Message-ID: <712FE4E7257849499414892DD92704BC5FC5CCE7@INFRAEX02.oxia.corp> Dear all I'm trying to use CCN over Power line communication topology but unfortunately it's not working Do I need to define a new NetDeviceFaceCallback to support PLC_Netdevice? Can any example be provided to help me ? Best regards Nour El Houda Ben Youssef Koubaa Doctorante Mobidoc - OXIA/SAGE Mast?re nouvelle g?n?ration des syst?mes d'informations - FST Ing?nieur G?nie Logiciel - INSAT -------------- next part -------------- An HTML attachment was scrubbed... URL: