[Mini-NDN] Where does mini start the nfd?

Matteo Bertolino Matteo.Bertolino at eurecom.fr
Wed Nov 23 02:25:33 PST 2016


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



More information about the Mini-NDN mailing list