[Mini-NDN] Where does mini start the nfd?
Ashlesh Gawande (agawande)
agawande at memphis.edu
Wed Nov 23 05:06:55 PST 2016
https://github.com/named-data/mini-ndn/blob/master/ndn/ndn_host.py#L102
https://github.com/named-data/mini-ndn/blob/master/ndn/nfd.py#L62
Ashlesh
On Nov 23, 2016 4:25 AM, Matteo Bertolino <Matteo.Bertolino at eurecom.fr> wrote:
Good morning,
I would like to study how mini launch several NFD instance on its nodes.
Where I open minindn script, I don't read something like "sudo nfd-start" or
"sudo /NFD/bin/nfd".
I just read:
nfdConfFile = "%s/nfd.conf" % install_dir
if os.path.isfile("/usr/local/etc/ndn/nfd.conf") == True:
shutil.copy2("/usr/local/etc/ndn/nfd.conf", nfdConfFile)
elif os.path.isfile("/usr/local/etc/ndn/nfd.conf.sample") == True:
shutil.copy2("/usr/local/etc/ndn/nfd.conf.sample", nfdConfFile)
else:
sys.exit("nfd.conf or nfd.conf.sample cannot be found in the
expected directory. Exit.")
call(["sudo", "sed", "-i", 's|default_level [A-Z]*$|default_level
$LOG_LEVEL|g', nfdConfFile])
Where is the nfd started?
Thanks!
-------------------------------------------------------------------------------
This message was sent using EURECOM Webmail: http://webmail.eurecom.fr
_______________________________________________
Mini-NDN mailing list
Mini-NDN at lists.cs.ucla.edu
http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20161123/7f39324a/attachment.html>
More information about the Mini-NDN
mailing list