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