Change in ovirt-engine[master]: core: Mapping of an ArchitectureType to its base family name

ahadas at redhat.com ahadas at redhat.com
Mon Dec 7 07:45:21 UTC 2015


Arik Hadas has submitted this change and it was merged.

Change subject: core: Mapping of an ArchitectureType to its base family name
......................................................................


core: Mapping of an ArchitectureType to its base family name

Mapping of every ArchitectureType to its base architecture is provided:
	[x86|x86_64] -> x86
	[ppc|ppc64le|ppcle|ppc64] -> ppc
	default -> undefined

The priority order is set to: specific (i.e. ppc64le), family (i.e. ppc)
or default as false in FeatureSupported.supportedInConfig(feature, version, arch).

It means, the 'vdc_options' can be specified for family or specific architecture
(i.e. HotPlugMemorySupported : {"x86":"false","ppc":"false"})

Recent vdc_options and ConfigValues are updated to arch family names.

Change-Id: I3ea00eca676b243c6c68bf76f0067160b43fe4e4
Signed-off-by: Marek Libra <mlibra at redhat.com>
---
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/FeatureSupported.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/ArchitectureType.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
A packaging/dbscripts/upgrade/04_00_0080_rename_architecture_family.sql
4 files changed, 56 insertions(+), 18 deletions(-)

Approvals:
  Eli Mesika: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests
  Marek Libra: Verified
  Arik Hadas: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/49299
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3ea00eca676b243c6c68bf76f0067160b43fe4e4
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Marek Libra <mlibra at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Marek Libra <mlibra at redhat.com>
Gerrit-Reviewer: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: Michal Skrivanek <mskrivan at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Shmuel Leib Melamud <smelamud at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list