diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-04-09 12:31:06 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-04-09 12:31:06 +0000 |
commit | 68e93e0701657592dc34404a74b31ac8e5eaf50a (patch) | |
tree | 49ebc5f718791f1d4898c0151c17cca48eba7f25 | |
parent | b3c92a6bd0620d2b53cbdf11b348c94f66939968 (diff) | |
parent | 680015e06c85d83e737a40a64c325dd6dc02f7bc (diff) | |
download | tuskar-ui-68e93e0701657592dc34404a74b31ac8e5eaf50a.tar.gz |
Merge "Update dict of power states"
-rw-r--r-- | tuskar_ui/api.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tuskar_ui/api.py b/tuskar_ui/api.py index bcc862cd..38fe859d 100644 --- a/tuskar_ui/api.py +++ b/tuskar_ui/api.py @@ -869,12 +869,17 @@ class Node(base.APIResourceWrapper): """ task_state = self._apiresource.task_state task_state_dict = { + 'initializing': 'initializing', 'active': 'on', 'reboot': 'rebooting', 'building': 'building', 'deploying': 'deploying', 'prepared': 'prepared', 'deleting': 'deleting', + 'deploy failed': 'deploy failed', + 'deploy complete': 'deploy complete', + 'deleted': 'deleted', + 'error': 'error', } return task_state_dict.get(task_state, 'off') |