示例#1
0
 def start(self):
     NdnApplication.start(
         self, "setsid nfd --config {} > {} 2>&1 &".format(
             self.confFile, self.logFile))
     time.sleep(2)
示例#2
0
 def start(self):
     NdnApplication.start(self, "nlsr -d -f {} &".format(self.confFile))
示例#3
0
 def start(self):
     self.node.cmd("export NDN_LOG=nlsr.*={}".format(
         self.node.nlsrParameters.get("nlsr-log-level", "DEBUG")))
     NdnApplication.start(
         self, "nlsr -f {} > log/nlsr.log 2>&1 &".format(self.confFile))
     time.sleep(1)
示例#4
0
 def start(self):
     NdnApplication.start(self, "nlsr -d")
示例#5
0
 def start(self):
     NdnApplication.start(
         self, "setsid nfd --config %s >> %s 2>&1 &" %
         (self.confFile, self.logFile))
     time.sleep(2)
示例#6
0
文件: nfd.py 项目: alvyC/mini-ndn
 def start(self):
     NdnApplication.start(self, "sudo nfd --config %s 2>> %s &" % (self.confFile, self.logFile))
     time.sleep(2)
示例#7
0
文件: nlsr.py 项目: alvyC/mini-ndn
 def start(self):
     NdnApplication.start(self, "nlsr -d -f {} &".format(self.confFile))
示例#8
0
 def start(self, sleepTime=1):
     self.node.cmd("export NDN_LOG=nlsr.*={}".format(
         self.node.params["params"].get("nlsr-log-level", "DEBUG")))
     NdnApplication.start(
         self, "nlsr -f {} > log/nlsr.log 2>&1 &".format(self.confFile))
     time.sleep(sleepTime)
示例#9
0
 def start(self):
     # Removed & at the end, was giving key not found error
     # This way NLSR is daemonized fully before continuing
     NdnApplication.start(self, "nlsr -d -f {}".format(self.confFile))
示例#10
0
 def start(self):
     NdnApplication.start(self, "nlsr -d")
示例#11
0
 def start(self):
     NdnApplication.start(
         self, "nlsr -f {} > /dev/null 2>&1 &".format(self.confFile))
     time.sleep(1)