diff options
| author | Alex Meade <alex.meade@rackspace.com> | 2011-04-21 14:12:54 -0400 |
|---|---|---|
| committer | Alex Meade <alex.meade@rackspace.com> | 2011-04-21 14:12:54 -0400 |
| commit | 9cb5c0113d67a306a6c85ed6f6fd7f353cc95c7c (patch) | |
| tree | c7614ea1772b5356edb6ee97ad0e47ba266e2761 /nova/api | |
| parent | 5f5874b0012e77e846ad02c7ce43f10356105f3d (diff) | |
Modified instance status for shutdown power state in OS api
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/views/servers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/views/servers.py b/nova/api/openstack/views/servers.py index e52bfaea3..f2d8d5720 100644 --- a/nova/api/openstack/views/servers.py +++ b/nova/api/openstack/views/servers.py @@ -63,7 +63,7 @@ class ViewBuilder(object): power_state.BLOCKED: 'ACTIVE', power_state.SUSPENDED: 'SUSPENDED', power_state.PAUSED: 'PAUSED', - power_state.SHUTDOWN: 'ACTIVE', + power_state.SHUTDOWN: 'INACTIVE', power_state.SHUTOFF: 'ACTIVE', power_state.CRASHED: 'ERROR', power_state.FAILED: 'ERROR'} |
