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