Doron Fediuck has submitted this change and it was merged.
Change subject: restapi: Add fields for CPU Thread Handling (4/4)
......................................................................
restapi: Add fields for CPU Thread Handling (4/4)
This patch series adds support for CPU Thread Handling in which host
CPU threads can be considered as cores on a per-cluster basis for the
purpose of VM startup/shutdown/migration.
Patch 4: Allow reporting and setting of new fields for CPU thread
handling from the REST API:
host/cpu/cpu_topology/@threads - threads per core for host
cluster/threads_as_cores - boolean, whether cluster option to count
host cpu threads as cores is enabled
Change-Id: Iee8eebee7db2611276f58169aef196053542c7a5
Signed-off-by: Greg Padgett <gpadgett(a)redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
M
backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata_v-3.1.yaml
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/utils/FeaturesHelper.java
M
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/ClusterMapper.java
M
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/HostMapper.java
M
backend/manager/modules/restapi/types/src/test/java/org/ovirt/engine/api/restapi/types/HostMapperTest.java
6 files changed, 24 insertions(+), 4 deletions(-)
Approvals:
Doron Fediuck: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/10169
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iee8eebee7db2611276f58169aef196053542c7a5
Gerrit-PatchSet: 10
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Greg Padgett <gpadgett(a)redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck(a)redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: ofri masad <omasad(a)redhat.com>