cloudstack/vmware-base/src/com/cloud/hypervisor/vmware/mo
Sateesh Chodapuneedi 6a9956e0f5 CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere
commit #7
    So far only 1 controller (scsi or ide) is supported in Cloudstack for ide or
    scsi, this is existing limitation. Added support for 2nd IDE controller. Support adding IDE
    virtual disk to VM. Also added check if VM is running as IDE virtual disk cannot be attached
    to VM if VM is runnning.If user detaches a virtual disk on lower unit number of controller,
    then subsequent attach operation should find free unit number on the controller and attach
    the virtual disk there.

    commit #6
    Let the controllers of existing VMs continue without flip, current busInfo retrieved from
    chain_info field of volume record from database would be preferred over
    controller settings from all configuration settings.

    commit #5
    Editing global configuration param vmware.root.disk.controller osdefault value results
    in loss of previous root disk controller type. Hence root disk's controller type for legacy
    VMs is unknow post that modificaiton by user. If VM is stop/start then we could get this
    infromation from bus info of existing volume. But if user resets VM and then try to start VM.
    The existing bus info would be lost. Hence existing disk info is not available to depend on.
    Using lsilogic or generic scsi controller for ROOT disk of legacy VMs if reset.

    commit #4
    Avoid adding additional (>1) scsi controllers to system vms. While attaching volume to legacy VM
    don't use osdefault optoin which applicable only for VM created with the option enabled, use
    legacy data disk controller type (lsilogic)

    commit #3
    If root disk's controller type is scsi and data disk controller type condenses
    to any of scsi sub-types then data disk controller type would fall back to root disk controller itself. This
    ensures data volumes would be accessible in all cases as controller of root volume would be reliable
    and it means VM has the supported controller. It also avoids mix of scsi controller sub-types in a user instance.
    Also translating disk controller type scsi to lsilogic.

    commit #2
    Support auto detection of recommended virtual disk controller type for specific guest OS.

    commit #1
    Support granual controller types. Add support for controller types in template registration as well.

    Fix white spaces.
    Removed stale HEAD merge lines
    Removed tail of merge lines
    Fixed VmwareResource, removing storage commands that moved to VmwareStorageProcessor.
    removed stale code of controller that is present in processor
    Fixed check style errors.
    Fixed injection.
    Tested with Linux and windows templates. Unable to run iso based tests due to few bugs in register iso area.

    Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>

(cherry picked from commit a4cc987a6f)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-27 18:39:41 +05:30
..
BaseMO.java CLOUDSTACK-6170 (VMware root-disk support for managed storage) 2014-04-01 00:09:53 -06:00
ClusterMO.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
CustomFieldConstants.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
CustomFieldsManagerMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
DatacenterMO.java CLOUDSTACK-8112. CS allows creation of VM's with the same Display name when vm.instancename.flag is set to true. 2014-12-23 13:48:01 +05:30
DatastoreFile.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
DatastoreMO.java CLOUDSTACK-8318. Storage vMotion support for VMFS. 2015-03-12 11:57:01 +05:30
DiskControllerType.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
DistributedVirtualSwitchMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
FeatureKeyConstants.java CLOUDSTACK-2592 [Automation]: Scale up VM on VMWARE without license doesn't throw appropriate error 2013-07-08 12:49:39 +05:30
HostDatastoreBrowserMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
HostDatastoreSystemMO.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
HostFirewallSystemMO.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
HostMO.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
HostNetworkSystemMO.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
HostStorageSystemMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
HostVirtualNicType.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
HttpNfcLeaseMO.java Fix findbugs encoding warning in HttpNfcLeaseMO VMWare ovf files are utf-8 encoded. Relying on default encoding in some platforms such as windows would cause erroneous characters from being read on some fields like description, and could also cause the import to fail, depending on the characters. 2015-06-15 12:00:02 +03:00
HypervisorHostHelper.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
LicenseAssignmentManagerMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
LicenseManagerMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
NetworkDetails.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
NetworkMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
PerfCounterInfoMapper.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
PerfManagerMO.java Get rid of compiler warnings in vmware-base 2014-01-22 09:37:34 +01:00
ScsiDiskControllerType.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
SnapshotDescriptor.java CLOUDSTACK-8656: try-with-resource in vmsd reader 2015-08-04 11:37:06 +02:00
TaskMO.java CLOUDSTACK-8656: filling empty catch block with info messages 2015-07-30 15:51:52 +02:00
VersioningContants.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VirtualDiskManagerMO.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
VirtualEthernetCardType.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VirtualMachineDiskInfo.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VirtualMachineDiskInfoBuilder.java CLOUDSTACK-4587. System VMs fail to start when the primary storage that has the System VMs is put into maintenance. 2014-08-20 10:51:18 +05:30
VirtualMachineMO.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
VirtualSwitchType.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
VmdkAdapterType.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
VmdkFileDescriptor.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
VmwareHostType.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VmwareHypervisorHost.java CLOUDSTACK-4787 Allow selection of scsi controller type in vSphere 2015-11-27 18:39:41 +05:30
VmwareHypervisorHostNetworkSummary.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00
VmwareHypervisorHostResourceSummary.java removed executable flags from java classes 2014-11-23 19:49:01 +01:00