Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ public interface CPUInfo extends ModelEntity {
/**
* @return cpu vendor
*/
String getVendor();
List<Object> getVendor();

/**
* @return cpu model
*/
String getModel();
List<Object> getModel();

/**
* @return chipset architecture
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
import com.google.common.base.MoreObjects;

import org.openstack4j.core.transport.ObjectMapperSingleton;
import org.openstack4j.model.compute.ext.Hypervisor;
import org.openstack4j.openstack.common.ListResult;
Expand Down Expand Up @@ -219,8 +220,8 @@ static class HypervisorCPUInfo implements CPUInfo {

private static final long serialVersionUID = 1L;

private String vendor;
private String model;
private List<Object> vendor;
private List<Object> model;
private String arch;
private List<String> features;
private HypervisorCPUTopology topology;
Expand All @@ -239,12 +240,12 @@ public static HypervisorCPUInfo value(String json) {
}

@Override
public String getVendor() {
public List<Object> getVendor() {
return vendor;
}

@Override
public String getModel() {
public List<Object> getModel() {
return model;
}

Expand Down