mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
feature #3782: Delete snapshots in RUNNING. Added new states for disk
snapshots in running
This commit is contained in:
1 parent
54ea26f20d
commit
6ca1ff4b6e
13 files changed
+104
-31
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user