summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorAlex Meade <alex.meade@rackspace.com>2011-04-26 09:45:53 -0400
committerAlex Meade <alex.meade@rackspace.com>2011-04-26 09:45:53 -0400
commit6721d8918820f53288cbdf09ee352e93120439f9 (patch)
tree12c02ebaf8ab04ae0efc89c1da986c4a9f8c0e67 /nova/api
parent9cb5c0113d67a306a6c85ed6f6fd7f353cc95c7c (diff)
Modified instance status for shutoff power state in OS api
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/views/servers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/openstack/views/servers.py b/nova/api/openstack/views/servers.py
index f2d8d5720..bdc85f4a1 100644
--- a/nova/api/openstack/views/servers.py
+++ b/nova/api/openstack/views/servers.py
@@ -63,8 +63,8 @@ class ViewBuilder(object):
power_state.BLOCKED: 'ACTIVE',
power_state.SUSPENDED: 'SUSPENDED',
power_state.PAUSED: 'PAUSED',
- power_state.SHUTDOWN: 'INACTIVE',
- power_state.SHUTOFF: 'ACTIVE',
+ power_state.SHUTDOWN: 'SHUTDOWN',
+ power_state.SHUTOFF: 'SHUTOFF',
power_state.CRASHED: 'ERROR',
power_state.FAILED: 'ERROR'}