mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
1. If volume is attached to a VM set attachment state based on the state of the VM it is attached to. Running, Starting, Stopped -> Attached Starting -> Attaching Destroyed, Error -> Detached 2. If volume is not attached to a VM set attachment state as 'detached'