Search in sources :

Example 1 with V3CpuTopology

use of org.ovirt.engine.api.v3.types.V3CpuTopology in project ovirt-engine by oVirt.

the class V3CpuTopologyInAdapter method adapt.

@Override
public CpuTopology adapt(V3CpuTopology from) {
    CpuTopology to = new CpuTopology();
    to.setCores(from.getCores());
    to.setSockets(from.getSockets());
    to.setThreads(from.getThreads());
    return to;
}
Also used : CpuTopology(org.ovirt.engine.api.model.CpuTopology) V3CpuTopology(org.ovirt.engine.api.v3.types.V3CpuTopology)

Aggregations

CpuTopology (org.ovirt.engine.api.model.CpuTopology)1 V3CpuTopology (org.ovirt.engine.api.v3.types.V3CpuTopology)1