Skip to content

Commit ff0e7f3

Browse files
committed
Merge pull request #1126 from anshul1886/CLOUDSTACK-9088
CLOUDSTACK-9088: Update the description for migrateVirtualMachineWithVolume apihttps://issues.apache.org/jira/browse/CLOUDSTACK-9088 * pr/1126: CLOUDSTACK-9088: Update the description for migrateVirtualMachineWithVolume api. Signed-off-by: Will Stevens <williamstevens@gmail.com>
2 parents cb8c9c7 + 14c95b1 commit ff0e7f3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

api/src/org/apache/cloudstack/api/command/admin/vm/MigrateVirtualMachineWithVolumeCmd.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,12 @@ public class MigrateVirtualMachineWithVolumeCmd extends BaseAsyncCmd {
7575
@Parameter(name = ApiConstants.MIGRATE_TO,
7676
type = CommandType.MAP,
7777
required = false,
78-
description = "Map of pool to which each volume should be migrated (volume/pool pair)")
78+
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 " +
79+
"parameter: migrateto[volume-index].volume=<uuid>&migrateto[volume-index].pool=<uuid>Where, [volume-index] indicates the index to identify the volume that you " +
80+
"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 " +
81+
"migrate the volume. Example: migrateto[0].volume=<71f43cd6-69b0-4d3b-9fbc-67f50963d60b>&migrateto[0].pool=<a382f181-3d2b-4413-b92d-b8931befa7e1>&" +
82+
"migrateto[1].volume=<88de0173-55c0-4c1c-a269-83d0279eeedf>&migrateto[1].pool=<95d6e97c-6766-4d67-9a30-c449c15011d1>&migrateto[2].volume=" +
83+
"<1b331390-59f2-4796-9993-bf11c6e76225>&migrateto[2].pool=<41fdb564-9d3b-447d-88ed-7628f7640cbc>")
7984
private Map migrateVolumeTo;
8085

8186
/////////////////////////////////////////////////////

0 commit comments

Comments
 (0)