Example #1
0
	def getStartTasks(self):
		taskset = Connection.getStartTasks(self)
		create_pipe = tasks.Task("create-pipe", self._createPipe)
		configure_link = tasks.Task("configure-link", self._configLink, after=create_pipe)
		start_capture = tasks.Task("start-capture", self._startCapture)
		taskset.add([create_pipe, configure_link, start_capture])
		return taskset
Example #2
0
	def getStartTasks(self):
		taskset = Connection.getStartTasks(self)
		assign_ifb = tasks.Task("assign-ifb", self._assignIfb)
		configure_link = tasks.Task("configure-link", self._configLink, after=assign_ifb)
		start_capture = tasks.Task("start-capture", self._startCapture)
		taskset.add([assign_ifb, configure_link, start_capture])
		return taskset
Example #3
0
 def getStartTasks(self):
     taskset = Connection.getStartTasks(self)
     start_task = tasks.Task("start", self._start)
     taskset.add([start_task])
     return taskset