feature #3782: Delete snapshots in RUNNING. Added new states for disk

snapshots in running
This commit is contained in:
Ruben S. Montero committed 2015-06-30 20:45:43 +02:00
1 parent 54ea26f20d
commit 6ca1ff4b6e
13 files changed
+104 -31

No files matched your search

+2
View File
@@ -153,6 +153,7 @@ void TransferManagerDriver::protocol(const string& message) const
case VirtualMachine::DISK_SNAPSHOT_SUSPENDED:
case VirtualMachine::DISK_SNAPSHOT_REVERT_SUSPENDED:
case VirtualMachine::DISK_SNAPSHOT_DELETE_SUSPENDED:
case VirtualMachine::DISK_SNAPSHOT_DELETE:
lcm_action = LifeCycleManager::DISK_SNAPSHOT_SUCCESS;
break;
@@ -217,6 +218,7 @@ void TransferManagerDriver::protocol(const string& message) const
case VirtualMachine::DISK_SNAPSHOT_SUSPENDED:
case VirtualMachine::DISK_SNAPSHOT_REVERT_SUSPENDED:
case VirtualMachine::DISK_SNAPSHOT_DELETE_SUSPENDED:
case VirtualMachine::DISK_SNAPSHOT_DELETE:
lcm_action = LifeCycleManager::DISK_SNAPSHOT_FAILURE;
break;