Questions tagged [ndnsim]

The ndnSIM is NS-3 module that implements Named Data Networking (NDN) communication model

The ndnSIM is NS-3 module that implements Named Data Networking (NDN) communication model, the clean slate Internet design. ndnSIM is specially optimized for simulation purposes and has a cleaner and more extensible internal structure comparing to the existing NDN implementation (NDNx).

See more:

12 questions
2
votes
1 answer

How to simulate process delay in NS-3/ndnSIM?

I want to add some process delay on a consumer node before Interest packets being sent out. And I find that Simulator::Schedule() functions may achieve this purpose. But I am not sure how to use it exactly because ndnSIM has its own protocol process…
iamabug
  • 306
  • 4
  • 11
1
vote
2 answers

Plotting graph from Text file using R

I am using an NS3 based simulator called NDNsim. I can generate certain trace files that can be used to analyze performance, etc. However I need to visualize the data generated. I am a complete Novice with R, and would like a way to visualize. Here…
Karan
  • 141
  • 8
0
votes
0 answers

How to measure RSSI in ndnSIM?

I am a master's graduate student in computer science. I am researching CCN (Contents Centric Network), and I am trying to implement the experiment in ndnSIM of ns-3. In my experiment, I would like to implement route steering by RSSI value, but RSSI…
0
votes
0 answers

This question is based on ns3/ndnSIM developed in C++ error: cannot convert ‘ns3::ndn::PitTracer*’ to ‘ns3::ObjectBase*’ in initialization

I have developed a tracer which basically records some metrics of the nodes. It has two files pit-tracer.hpp and pit-tracer.cpp. I was getting the above error and couldn't understand what's causing the issue. class PitTracer : public L3Tracer { …
0
votes
0 answers

Retreive the simulation time in NDNsim (NS-3)

i'm using this example https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer-pcon.cpp i want to retreive the simulation time , to assign it to a variable if it's possible because i need to divide the simulation period into two…
Salwa
  • 1
  • 2
0
votes
1 answer

Adding channels with random delays in ns3/ndnsim

I am working on simulation scenarios using ns3/ndnsim, l've already done some using point to point channels between nodes which use constant delays. I would like to add randomness to these delays (say normal distribution). I've worked on omnet++…
0
votes
1 answer

OpenSSL version file is not found or is not usable

I am trying to install ndnSIM. It requires some dependencies and one of them is OpenSSL. I have already installed it with homebrew as brew install openssl but every time I try to ./waf configure ndnSIM,it returns an error such as OpenSSL version…
0
votes
1 answer

ndnSIM : content store

which method to add data in content store in forwarding strategy ndnSIM ? i have tried to use cs::Cs::insert(data); after beforeSatisfiedInterest unfortunately I have no result
0
votes
0 answers

How to print sequence number for each round of frequency?

void ProducerNew2::OnInterest(std::shared_ptr interest) { ndn::App::OnInterest(interest); // auto milliseconds = ndn::time::steady_clock::now(); auto now = boost::chrono::steady_clock::now().time_since_epoch(); auto…
0
votes
2 answers

Installation of ndnSIM 2.0 (Name Data Networking)

I am trying to install ndnSIM 2.0 Link on Ubuntu 12.04. I have followed all the instructions mentioned Link 2. When I run ./waf configure while in ndn-cxx folder I get the following error Checking if CryptoPP library works: yes Checking boost…
Gill
  • 3
  • 7
0
votes
1 answer

ndnSIM2.0 appear error when I use "./waf"

reference to:http://ndnsim.net/2.0/getting-started.html#compiling-and-running-ndnsim My step are as follow: cd ndnSIM/ndn-cxx ./waf configure --boost-includes=/home/li/ndnSIM/boost_1_58_0…
wengang li
  • 81
  • 1
  • 2
  • 7
-3
votes
1 answer

Error in a ns-3 simulation?

I am trying to run a simulation but I keep getting some kind of error. I am not an expert on C++, but I think it's due to header file include. I am getting the following error: error: ISO C++ forbids declaration of ‘type name’ with no type…