org.redhat.vmtruckloader.vmware
Class VMWareMachineSpecsUtils

java.lang.Object
  extended by org.redhat.vmtruckloader.vmware.VMWareMachineSpecsUtils

public class VMWareMachineSpecsUtils
extends Object

Author:
Romain Pelisse - romain@redhat.com

Constructor Summary
VMWareMachineSpecsUtils()
           
 
Method Summary
static com.vmware.vim25.VirtualMachineConfigSpec buildVmSpec(com.vmware.vim25.mo.ServiceInstance serviceInstance, MachineSpecification spec)
           
static com.vmware.vim25.VirtualMachineConfigSpec buildVmSpecAndSetCpusAndMemory(com.vmware.vim25.mo.ServiceInstance serviceInstance, MachineSpecification spec)
           
static com.vmware.vim25.VirtualMachineConfigSpec updateVmSpecAndSetCpusAndMemory(com.vmware.vim25.mo.ServiceInstance serviceInstance, MachineSpecification spec, com.vmware.vim25.VirtualMachineConfigSpec vmSpec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VMWareMachineSpecsUtils

public VMWareMachineSpecsUtils()
Method Detail

buildVmSpec

public static com.vmware.vim25.VirtualMachineConfigSpec buildVmSpec(com.vmware.vim25.mo.ServiceInstance serviceInstance,
                                                                    MachineSpecification spec)

buildVmSpecAndSetCpusAndMemory

public static com.vmware.vim25.VirtualMachineConfigSpec buildVmSpecAndSetCpusAndMemory(com.vmware.vim25.mo.ServiceInstance serviceInstance,
                                                                                       MachineSpecification spec)

updateVmSpecAndSetCpusAndMemory

public static com.vmware.vim25.VirtualMachineConfigSpec updateVmSpecAndSetCpusAndMemory(com.vmware.vim25.mo.ServiceInstance serviceInstance,
                                                                                        MachineSpecification spec,
                                                                                        com.vmware.vim25.VirtualMachineConfigSpec vmSpec)


Copyright © 2013. All Rights Reserved.