From df7439eca2d894f62635d771c5bf4071d0cc9594 Mon Sep 17 00:00:00 2001 From: Alena Prokharchyk Date: Wed, 22 Feb 2012 15:06:17 -0800 Subject: [PATCH] bug 13928: more description to migrateVm api status 13928: resolved fixed Reviewed-by: Jessica Tomechak --- api/src/com/cloud/api/commands/MigrateVMCmd.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/com/cloud/api/commands/MigrateVMCmd.java b/api/src/com/cloud/api/commands/MigrateVMCmd.java index a51604e99d2..df612696b5c 100644 --- a/api/src/com/cloud/api/commands/MigrateVMCmd.java +++ b/api/src/com/cloud/api/commands/MigrateVMCmd.java @@ -40,7 +40,7 @@ import com.cloud.user.UserContext; import com.cloud.uservm.UserVm; import com.cloud.vm.VirtualMachine; -@Implementation(description="Attempts Migration of a user virtual machine to the host specified.", responseObject=UserVmResponse.class) +@Implementation(description="Attempts Migration of a VM to a different host or Root volume of the vm to a different storage pool", responseObject=UserVmResponse.class) public class MigrateVMCmd extends BaseAsyncCmd { public static final Logger s_logger = Logger.getLogger(MigrateVMCmd.class.getName()); @@ -51,7 +51,7 @@ public class MigrateVMCmd extends BaseAsyncCmd { ///////////////////////////////////////////////////// @IdentityMapper(entityTableName="host") - @Parameter(name=ApiConstants.HOST_ID, type=CommandType.LONG, required=false, description="destination Host ID to migrate VM to") + @Parameter(name=ApiConstants.HOST_ID, type=CommandType.LONG, required=false, description="Destination Host ID to migrate VM to. Required for live migrating a VM from host to host") private Long hostId; @IdentityMapper(entityTableName="vm_instance") @@ -59,7 +59,7 @@ public class MigrateVMCmd extends BaseAsyncCmd { private Long virtualMachineId; @IdentityMapper(entityTableName="storage_pool") - @Parameter(name=ApiConstants.STORAGE_ID, type=CommandType.LONG, required=false, description="destination storage pool ID to migrate VM to") + @Parameter(name=ApiConstants.STORAGE_ID, type=CommandType.LONG, required=false, description="Destination storage pool ID to migrate VM volumes to. Required for migrating the root disk volume") private Long storageId; /////////////////////////////////////////////////////