Signed-off-by: Ewan Mellor <ewan@xensource.com>
self.status = XEN_API_TASK_STATUS_TYPE[0]
self.progress = 0
- self.eta = None # TODO: we have no time estimates
self.type = return_type
self.uuid = uuid
'name_description': self.name_description,
'status': self.status,
'progress': self.get_progress(),
- 'eta': self.eta,
'type': self.type,
'result': self.result,
'error_code': self.error_code,
'error_info': self.error_info,
+ 'allowed_operations': {},
}
def get_progress(self):