summaryrefslogtreecommitdiff
path: root/nova/compute/vm_states.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/compute/vm_states.py')
-rw-r--r--nova/compute/vm_states.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/nova/compute/vm_states.py b/nova/compute/vm_states.py
index 633894c1ea..1a916ea59a 100644
--- a/nova/compute/vm_states.py
+++ b/nova/compute/vm_states.py
@@ -76,3 +76,6 @@ ALLOW_TRIGGER_CRASH_DUMP = [ACTIVE, PAUSED, RESCUED, RESIZED, ERROR]
# states we allow resources to be freed in
ALLOW_RESOURCE_REMOVAL = [DELETED, SHELVED_OFFLOADED]
+
+# states we allow for evacuate instance
+ALLOW_TARGET_STATES = [STOPPED]