VSSDType vsystem = new VSSDType();
vsystem.setVirtualSystemType(CIMTypesUtils.createString(VIRTUAL_SYSTEM_TYPE));
vhsection.setSystem(vsystem);
CIMResourceAllocationSettingDataType cpu =
CIMResourceAllocationSettingDataUtils.createResourceAllocationSettingData("Cpu", "1",
CIMResourceTypeEnum.Processor, disk.getCpu(), null);
CIMResourceAllocationSettingDataType ram =
CIMResourceAllocationSettingDataUtils.createResourceAllocationSettingData("Ram", "1",
CIMResourceTypeEnum.Memory, disk.getRam(), disk.getRamSizeUnit().name());
CIMResourceAllocationSettingDataType hd =
CIMResourceAllocationSettingDataUtils.createResourceAllocationSettingData("Hd", "1",
CIMResourceTypeEnum.Disk_Drive, disk.getHd(), disk.getHdSizeUnit().name());
RASDType rasdCpu = CIMResourceAllocationSettingDataUtils.createRASDTypeFromCIMRASD(cpu);
RASDType rasdRam = CIMResourceAllocationSettingDataUtils.createRASDTypeFromCIMRASD(ram);