Exemple #1
0
 def start(self):
     NdnApplication.start(
         self, "setsid nfd --config {} > {} 2>&1 &".format(
             self.confFile, self.logFile))
     time.sleep(2)
Exemple #2
0
 def start(self):
     NdnApplication.start(self, "nlsr -d -f {} &".format(self.confFile))
Exemple #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)
Exemple #4
0
 def start(self):
     NdnApplication.start(self, "nlsr -d")
Exemple #5
0
 def start(self):
     NdnApplication.start(
         self, "setsid nfd --config %s >> %s 2>&1 &" %
         (self.confFile, self.logFile))
     time.sleep(2)
Exemple #6
0
 def start(self):
     NdnApplication.start(self, "sudo nfd --config %s 2>> %s &" % (self.confFile, self.logFile))
     time.sleep(2)
Exemple #7
0
 def start(self):
     NdnApplication.start(self, "nlsr -d -f {} &".format(self.confFile))
Exemple #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)
Exemple #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))
Exemple #10
0
 def start(self):
     NdnApplication.start(self, "nlsr -d")
Exemple #11
0
 def start(self):
     NdnApplication.start(
         self, "nlsr -f {} > /dev/null 2>&1 &".format(self.confFile))
     time.sleep(1)