You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds new functionality to import KVM instances from an external host or from disk images in local or shared storage.
Doc PR: apache/cloudstack-documentation#356
@Parameter(name = ApiConstants.HOST_ID, type = CommandType.UUID, entityType = HostResponse.class, description = "Host where local disk is located")
111
+
privateLonghostId;
112
+
113
+
@Parameter(name = ApiConstants.STORAGE_ID, type = CommandType.UUID, entityType = StoragePoolResponse.class, description = "Shared storage pool where disk is located")
114
+
privateLongstoragePoolId;
115
+
116
+
@Parameter(name = ApiConstants.TEMP_PATH,
117
+
type = CommandType.STRING,
118
+
description = "Temp Path on external host for disk image copy" )
@@ -73,7 +129,7 @@ public class ImportVmCmd extends ImportUnmanagedInstanceCmd {
73
129
@Parameter(name = ApiConstants.HOST_IP,
74
130
type = BaseCmd.CommandType.STRING,
75
131
description = "(only for importing migrated VMs from Vmware to KVM) VMware ESXi host IP/Name.")
76
-
privateStringhost;
132
+
privateStringhostip;
77
133
78
134
@Parameter(name = ApiConstants.VCENTER,
79
135
type = CommandType.STRING,
@@ -88,14 +144,6 @@ public class ImportVmCmd extends ImportUnmanagedInstanceCmd {
88
144
description = "(only for importing migrated VMs from Vmware to KVM) Name of VMware cluster.")
89
145
privateStringclusterName;
90
146
91
-
@Parameter(name = ApiConstants.USERNAME, type = CommandType.STRING,
92
-
description = "(only for importing migrated VMs from Vmware to KVM) The Username required to connect to resource.")
93
-
privateStringusername;
94
-
95
-
@Parameter(name = ApiConstants.PASSWORD, type = CommandType.STRING,
96
-
description = "(only for importing migrated VMs from Vmware to KVM) The password for the specified username.")
97
-
privateStringpassword;
98
-
99
147
@Parameter(name = ApiConstants.CONVERT_INSTANCE_HOST_ID, type = CommandType.UUID, entityType = HostResponse.class,
100
148
description = "(only for importing migrated VMs from Vmware to KVM) optional - the host to perform the virt-v2v migration from VMware to KVM.")
101
149
privateLongconvertInstanceHostId;
@@ -104,30 +152,20 @@ public class ImportVmCmd extends ImportUnmanagedInstanceCmd {
104
152
description = "(only for importing migrated VMs from Vmware to KVM) optional - the temporary storage pool to perform the virt-v2v migration from VMware to KVM.")
0 commit comments