def getStopTasks(self): taskset = Connection.getStopTasks(self) unconfigure_link = tasks.Task("unconfigure-link", self._unconfigLink) unassign_ifb = tasks.Task("unassign-ifb", self._unassignIfb, after=unconfigure_link) stop_capture = tasks.Task("stop-capture", self._stopCapture) taskset.add([unconfigure_link, unassign_ifb, stop_capture]) return taskset
def getStopTasks(self): taskset = Connection.getStopTasks(self) delete_pipes = tasks.Task("delete-pipes", self._deletePipes) stop_capture = tasks.Task("stop-capture", self._stopCapture) taskset.add([delete_pipes, stop_capture]) return taskset
def getStopTasks(self): taskset = Connection.getStopTasks(self) taskset.add(tasks.Task("stop", self._stop)) return taskset