named-data / mini-ndn

Mininet-based NDN emulator (mailing list: http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn)
https://minindn.memphis.edu
GNU General Public License v3.0
72 stars 41 forks source link

Question about consumer, producer examples #60

Closed AsteriosPar closed 3 years ago

AsteriosPar commented 3 years ago

Hello, after having done some experiments with the mini-NDN i want to apply the basic producer and consumer executables in two nodes of my topology, let's call them a and c. No matter how much I try I just can't get to figure out what I need to do in order to run those in the miniNDN nodes.

agawande commented 3 years ago

Could you please post your experiment? Or which example is your code based on? Are you announcing the routes through NLSR?

AsteriosPar commented 3 years ago

I just want to create the simple topology a-----c where a is a producer and c is a consumer so that I can run some tests and then proceed with some more complicated scenarios. I have just missed the part where I connect the producer and consumer executables from ndn-cxx to the mini-NDN nodes. Thanks a lot for the fast reply too.

Στις Πέμ, 29 Απρ 2021 στις 8:03 π.μ., ο/η Ashlesh Gawande < @.***> έγραψε:

Could you please post your experiment? Or which example is your code based on? Are you announcing the routes through NLSR?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/named-data/mini-ndn/issues/60#issuecomment-828940767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT3LPQQHUYXTULV4NLXJFHTTLDSBVANCNFSM43W3RMUA .

dulalsaurab commented 3 years ago

First, you need to compile the producer and consumer separately and then you should run them from the mini-ndn experiment.

Here is how I am doing it: 1) Cosumer - Producer - This folder contains producer and consumer (I used the basic ndn-cxx prod/con). As said earlier, first I compile and install them into the system --> /usr/local/bin.

2) Next, Consumer, producer -- these links shows how I am running producer and consumer from the mini-ndn experiment.

Make sure to advertise the prefixe/s consumer will look for from the producer. You can use nlsrc to do so.

The codes I have linked about are very dirty, but I hope you will get some insights. Let me know if you have any questions.

AsteriosPar commented 3 years ago

Awesome, it helped and it worked! Thanks a lot!

Στις Παρ, 30 Απρ 2021 στις 4:31 π.μ., ο/η Saurab Dulal < @.***> έγραψε:

First, you need to compile the producer and consumer separately and then you should run them from the mini-ndn experiment.

Here is how I am doing it:

1.

Cosumer - Producer https://github.com/dulalsaurab/multicast-supression-ndn/tree/main/src/consumer-producer

Make sure to advertise the prefixe/s consumer will look for from the producer. You can use nlsrc to do so.

The codes I have linked about are very dirty, but I hope you will get some insights. Let me know if you have any questions.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/named-data/mini-ndn/issues/60#issuecomment-829735416, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT3LPQRMMNZWHLTSSDJQC7DTLICAXANCNFSM43W3RMUA .