To perform actions on a stack, we should use the action constants defined
in the Stack, not in another object (and especially not in a Resource).
Change-Id: I3044f6286fc2690c121a3446f42a6896b3ed3271
self.resource_id_set(nested_id)
stack_creator = scheduler.TaskRunner(self._nested.stack_task,
- action=self.CREATE)
+ action=self._nested.CREATE)
stack_creator.start(timeout=self._nested.timeout_secs())
return stack_creator
% self.name)
suspend_task = scheduler.TaskRunner(self._nested.stack_task,
- action=self.SUSPEND,
+ action=self._nested.SUSPEND,
reverse=True)
suspend_task.start(timeout=self._nested.timeout_secs())
% self.name)
resume_task = scheduler.TaskRunner(self._nested.stack_task,
- action=self.RESUME,
+ action=self._nested.RESUME,
reverse=False)
resume_task.start(timeout=self._nested.timeout_secs())