add event for volume migration

Reviewed-by: Frank
This commit is contained in:
Edison Su 2014-12-08 15:08:45 -08:00
parent 21d9f132ca
commit 5a10a4725d

View File

@ -1684,6 +1684,7 @@ public class VolumeApiServiceImpl extends ManagerBase implements VolumeApiServic
@DB
@Override
@ActionEvent(eventType = EventTypes.EVENT_VOLUME_MIGRATE, eventDescription = "migrating volume", async = true)
public Volume migrateVolume(MigrateVolumeCmd cmd) {
Long volumeId = cmd.getVolumeId();
Long storagePoolId = cmd.getStoragePoolId();