cloudstack/api/src/com/cloud/vm
Abhinandan Prateek 64832fd70a CLOUDSTACK-4757: Support OVA files with multiple disks for templates (#2146)
CloudStack volumes and templates are one single virtual disk in case of XenServer/XCP and KVM hypervisors since the files used for templates and volumes are virtual disks (VHD, QCOW2). However, VMware volumes and templates are in OVA format, which are archives that can contain a complete VM including multiple VMDKs and other files such as ISOs. And currently, Cloudstack only supports Template creation based on OVA files containing a single disk. If a user creates a template from a OVA file containing more than 1 disk and launches an instance using this template, only the first disk is attached to the new instance and other disks are ignored.
Similarly with uploaded volumes, attaching an uploaded volume that contains multiple disks to a VM will result in only one VMDK to being attached to the VM.

FS: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Support+OVA+files+containing+multiple+disks

This behavior needs to be improved in VMWare to support OVA files with multiple disks for both uploaded volumes and templates. i.e. If a user creates a template from a OVA file containing more than 1 disk and launches an instance using this template, the first disk should be attached to the new instance as the ROOT disk and volumes should be created based on other VMDK disks in the OVA file and should be attached to the instance.

Signed-off-by: Abhinandan Prateek <abhinandan.prateek@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2018-01-10 22:10:41 +05:30
..
snapshot CLOUDSTACK-9539: Support changing Service offering for instance with VM Snapshots 2017-02-16 10:49:09 -03:00
BareMetalVmService.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
ConsoleProxy.java Removed trailing spaces 2013-11-21 04:08:01 -08:00
DiskProfile.java CLOUDSTACK-4757: Support OVA files with multiple disks for templates (#2146) 2018-01-10 22:10:41 +05:30
InstanceGroup.java api: Refactor move acl to org.apache.cloudstack 2013-01-06 15:30:58 -08:00
Nic.java Refactored Nic.java for readability. 2015-08-18 14:04:48 +02:00
NicExtraDhcpOption.java CLOUDSTACK-9776: extra DHCP options support for Nuage VSP 2017-11-21 11:44:39 +01:00
NicIpAlias.java CLOUDSTACK-9046 rename enums to adhere to naming conventions 2015-11-16 13:41:16 +00:00
NicProfile.java CLOUDSTACK-9949: add ability to specify mac address (#2143) 2017-09-16 12:16:42 +05:30
NicSecondaryIp.java CLOUDSTACK-10024: Network migration support 2017-12-21 11:25:17 +01:00
ReservationContext.java committing Chip Childers patches fixing licensing headers 2012-06-12 12:32:58 -04:00
RunningOn.java api_refactor: refactor project apis 2012-12-03 22:10:32 -08:00
SecondaryStorageVm.java Removed trailing spaces 2013-11-21 04:08:01 -08:00
SystemVm.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
UserVmService.java CLOUDSTACK-4757: Support OVA files with multiple disks for templates (#2146) 2018-01-10 22:10:41 +05:30
VirtualMachine.java CLOUDSTACK-9782: Host HA and KVM HA provider 2017-08-30 18:06:48 +02:00
VirtualMachineName.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
VirtualMachineProfile.java CLOUDSTACK-8324: Config drive changes for xenserver 2015-05-28 15:51:50 +05:30
VmDetailConstants.java CLOUDSTACK-10056: Fix vm details usage (#2248) 2017-09-16 12:01:03 +05:30
VmDiskStats.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VmNetworkStats.java CLOUDSTACK-7984: Collect network statistics for VMs on shared network (KVM implementation) 2017-07-23 17:15:23 +02:00
VmStats.java CLOUDSTACK-8800 : Improved the listVirtualMachines API call to include memory utilization information for a VM for xenserver,kvm and for vmware. 2016-04-29 14:06:49 -03:00