Repository: cloudstack
Updated Branches:
  refs/heads/master 37afba05f -> bebaea323


CLOUDSTACK-9088: Update the description for migrateVirtualMachineWithVolume api.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/14c95b18
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/14c95b18
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/14c95b18

Branch: refs/heads/master
Commit: 14c95b1871399d1988ff2fce50dab02e268bc765
Parents: 45fa8ff
Author: Anshul Gangwar <[email protected]>
Authored: Wed Jun 17 10:55:07 2015 +0530
Committer: Anshul Gangwar <[email protected]>
Committed: Thu Nov 26 16:47:53 2015 +0530

----------------------------------------------------------------------
 .../command/admin/vm/MigrateVirtualMachineWithVolumeCmd.java  | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/14c95b18/api/src/org/apache/cloudstack/api/command/admin/vm/MigrateVirtualMachineWithVolumeCmd.java
----------------------------------------------------------------------
diff --git 
a/api/src/org/apache/cloudstack/api/command/admin/vm/MigrateVirtualMachineWithVolumeCmd.java
 
b/api/src/org/apache/cloudstack/api/command/admin/vm/MigrateVirtualMachineWithVolumeCmd.java
index f1d3fe9..32000c6 100644
--- 
a/api/src/org/apache/cloudstack/api/command/admin/vm/MigrateVirtualMachineWithVolumeCmd.java
+++ 
b/api/src/org/apache/cloudstack/api/command/admin/vm/MigrateVirtualMachineWithVolumeCmd.java
@@ -75,7 +75,12 @@ public class MigrateVirtualMachineWithVolumeCmd extends 
BaseAsyncCmd {
     @Parameter(name = ApiConstants.MIGRATE_TO,
                type = CommandType.MAP,
                required = false,
-            description = "Map of pool to which each volume should be migrated 
(volume/pool pair)")
+               description = "Storage to pool mapping. This parameter 
specifies the mapping between a volume and a pool where you want to migrate 
that volume. Format of this " +
+               "parameter: 
migrateto[volume-index].volume=<uuid>&migrateto[volume-index].pool=<uuid>Where, 
[volume-index] indicates the index to identify the volume that you " +
+               "want to migrate, volume=<uuid> indicates the UUID of the 
volume that you want to migrate, and pool=<uuid> indicates the UUID of the pool 
where you want to " +
+               "migrate the volume. Example: 
migrateto[0].volume=<71f43cd6-69b0-4d3b-9fbc-67f50963d60b>&migrateto[0].pool=<a382f181-3d2b-4413-b92d-b8931befa7e1>&"
 +
+               
"migrateto[1].volume=<88de0173-55c0-4c1c-a269-83d0279eeedf>&migrateto[1].pool=<95d6e97c-6766-4d67-9a30-c449c15011d1>&migrateto[2].volume="
 +
+               
"<1b331390-59f2-4796-9993-bf11c6e76225>&migrateto[2].pool=<41fdb564-9d3b-447d-88ed-7628f7640cbc>")
     private Map migrateVolumeTo;
 
     /////////////////////////////////////////////////////

Reply via email to