return product;
}
private static OperatingSystemSectionType createOperatingSystemSection(final TemplateDto disk)
{
final OperatingSystemOVF type =
disk.getOsType() != null ? OperatingSystemOVF.valueOf(disk.getOsType().toUpperCase())
: OperatingSystemOVF.OTHER_64;
final OperatingSystemSectionType ossection = new OperatingSystemSectionType();
ossection.setId(type.getCode());
ossection.setVersion(disk.getOsVersion());
ossection.setDescription(CIMTypesUtils.createMsg(type.getDescription(), null));
return ossection;
}