Change in ovirt-engine[master]: core: Add attributes for CPU Thread Handling (1/4)

dfediuck at redhat.com dfediuck at redhat.com
Fri Dec 21 08:12:17 UTC 2012


Doron Fediuck has submitted this change and it was merged.

Change subject: core: Add attributes for CPU Thread Handling (1/4)
......................................................................


core: Add attributes for CPU Thread Handling (1/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.

Further detail can be found in the wiki:
 http://www.ovirt.org/Features/cpu_thread_handling

Patch 1: add database columns holding metadata needed to track host
data and cpu thread settings:

 vds_dynamic.cpu_threads - boolean, CPU threads on host
 vds_groups.count_threads_as_cores - boolean, whether cluster option to
         count threads as cores is enabled by user

Also add code in engine-core to support these new objects, including
dao, business entities, object serialization (test), and VdsBroker.

Change-Id: I8fed81d00ec9086573877145dff0e6821a1c34f9
Signed-off-by: Greg Padgett <gpadgett at redhat.com>
---
M backend/manager/dbscripts/create_views.sql
A backend/manager/dbscripts/upgrade/03_02_0100_add_cpu_thread_columns.sql
M backend/manager/dbscripts/upgrade/post_upgrade/0010_add_object_column_white_list_table.sql
M backend/manager/dbscripts/vds_groups_sp.sql
M backend/manager/dbscripts/vds_sp.sql
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDS.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDSGroup.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsDynamic.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VdsDAODbFacadeImpl.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VdsDynamicDAODbFacadeImpl.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VdsGroupDAODbFacadeImpl.java
M backend/manager/modules/dal/src/test/resources/fixtures.xml
M backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/serialization/json/JsonObjectSerializationEntitiesTest.java
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/VdsBrokerObjectsBuilder.java
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/VdsProperties.java
15 files changed, 94 insertions(+), 17 deletions(-)

Approvals:
  Greg Padgett: Verified
  Doron Fediuck: Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/10166
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8fed81d00ec9086573877145dff0e6821a1c34f9
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>



More information about the Engine-commits mailing list