Exemple #1
0
	def getPrepareTasks(self):
		taskset = Connector.getPrepareTasks(self)
		assign_resources = tasks.Task("assign-resources", self._assignResources)
		tinc_tasks = tinc.getPrepareNetworkTasks(self._endpoints(), self.type)
		tinc_tasks.after(assign_resources)
		taskset.add([assign_resources, tinc_tasks])
		return self._adaptTaskset(taskset)
Exemple #2
0
	def getPrepareTasks(self):
		taskset = Connector.getPrepareTasks(self)
		assign_resources = tasks.Task("assign-resources", self._assignResources)
		tinc_tasks = tinc.getPrepareNetworkTasks(self._endpoints(), self.mode)
		tinc_tasks.after(assign_resources)
		taskset.add([assign_resources, tinc_tasks])
		taskset.add(tasks.Task("prepare-external-access", self._prepareExternalAccess))
		return self._adaptTaskset(taskset)
Exemple #3
0
	def getPrepareTasks(self):
		taskset = Connector.getPrepareTasks(self)
		taskset.add(tasks.Task("select-network", self._selectUsedNetwork))
		return self._adaptTaskset(taskset)