sushy.resources.taskservice.task.
Task
(connector, identity, redfish_version=None, registries=None, json_doc=None)¶Bases: sushy.resources.base.ResourceBase
description
= <sushy.resources.base.Field object>¶The Task description
end_time
= <sushy.resources.base.Field object>¶End time of the Task
identity
= <sushy.resources.base.Field object>¶The Task identity
is_processing
¶Indicates if the Task is processing
messages
= <sushy.resources.base.MessageListField object>¶List of MessageListField
with messages from the Task
name
= <sushy.resources.base.Field object>¶The Task name
parse_messages
()¶Parses the messages
percent_complete
= <sushy.resources.base.Field object>¶Percentage complete of the Task
start_time
= <sushy.resources.base.Field object>¶Start time of the Task
task_monitor
= <sushy.resources.base.Field object>¶An opaque URL that the client can use to monitor an asynchronous operation
task_state
= <sushy.resources.base.MappedField object>¶The Task state
task_status
= <sushy.resources.base.MappedField object>¶The Task status
sushy.resources.taskservice.taskmonitor.
TaskMonitor
(connector, task_monitor, redfish_version=None, registries=None, field_data=None)¶Bases: object
cancellable
¶The amount of time to sleep before retrying
Returns: | A Boolean indicating if the Task is cancellable. |
---|
get_task
()¶is_processing
¶Indicates if the task is still processing
Returns: | A boolean indicating if the task is still processing. |
---|
refresh
()¶Refresh the Task
Freshly retrieves/fetches the Task. :raises: ResourceNotFoundError :raises: ConnectionError :raises: HTTPError
retry_after
¶The amount of time to sleep before retrying
Returns: | The amount of time in seconds to wait before calling is_processing. |
---|
task
¶The executing task
Returns: | The Task being executed. |
---|
task_monitor
¶The TaskMonitor URI
Returns: | The TaskMonitor URI. |
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.