add event for volume migration

Reviewed-by: Frank
This commit is contained in:
Edison Su 2014-12-08 15:08:45 -08:00
parent 1c5e8ebb31
commit 50d5d488d4

View File

@ -1691,6 +1691,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();