Vitor de Lima has uploaded a new change for review. Change subject: core: New OS for IBM POWER support ......................................................................
core: New OS for IBM POWER support This change introduces an operating system which contains the characteristics of the IBM POWER architecture. It includes also some information about disk interfaces that will be used in other following patches. Change-Id: I35298c31cfa55f212c2d8b4016ee3019d7b28c40 Signed-off-by: Vitor de Lima <[email protected]> --- M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/model/OsType.java M packaging/conf/osinfo-defaults.properties 2 files changed, 23 insertions(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/20/18220/1 diff --git a/backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/model/OsType.java b/backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/model/OsType.java index d4246ef..df32f24 100644 --- a/backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/model/OsType.java +++ b/backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/model/OsType.java @@ -22,6 +22,7 @@ WINDOWS_2003, WINDOWS_2008, OTHER_LINUX, + OTHER_PPC64, OTHER, RHEL_5, RHEL_4, diff --git a/packaging/conf/osinfo-defaults.properties b/packaging/conf/osinfo-defaults.properties index e56160b..ad1f898 100644 --- a/packaging/conf/osinfo-defaults.properties +++ b/packaging/conf/osinfo-defaults.properties @@ -26,6 +26,7 @@ # note: every OS has a unique namespace for the native unique representation of the data. # i.e os.RHEL6.somekey = val belongs only to rhel6 # Both engine and DWH rely on id value and not the os.{osid).* + os.other.id.value = 0 # name is I18N if the one creates a 01-os_${LOCALE}.properties with the co-responding name property @@ -34,9 +35,10 @@ # OS family values: Linux/Windows/other os.other.family.value = other -# CPU architecture (*not* the bus width 64/32 bit). Currently only x86 is supported +# CPU architecture (*not* the bus width 64/32 bit). Currently only x86_64 is supported # but ppc7 is a work in progress and possibly arm someday as well -os.other.cpuArchitecture.value = x86 + +os.other.cpuArchitecture.value = x86_64 os.other.bus.value = 32 os.other.resources.minimum.ram.value = 256 @@ -49,13 +51,30 @@ # See VmInterfaceType.java os.other.devices.network.value = rtl8139, e1000, pv +os.other.devices.diskInterfaces.value = IDE, VirtIO +os.other.devices.diskInterfaces.value.3.3 = IDE, VirtIO_SCSI, VirtIO + +# Other OS type to PPC64 Architecture +os.other_ppc64.id.value = 1001 +os.other_ppc64.name.value = Other OS +os.other_ppc64.family.value = other +os.other_ppc64.cpuArchitecture.value = ppc64 +os.other_ppc64.bus.value = 64 +os.other_ppc64.resources.minimum.ram.value = 256 +os.other_ppc64.resources.maximum.ram.value = 64000 +os.other_ppc64.resources.minimum.disksize.value = 1 +os.other_ppc64.resources.minimum.numberOsCpus.value = 1 +os.other_ppc64.spiceSupport.value = false +os.other_ppc64.devices.audio.value = ich6 +os.other_ppc64.devices.network.value = rtl8139, pv +os.other_ppc64.devices.diskInterfaces.value = VirtIO, VirtIO_SCSI + os.linux.id.value = 100 os.linux.name.value = Linux os.linux.derivedFrom.value = other os.linux.description.value = General GNU/Linux os.linux.family.value = linux os.linux.devices.audio.value = ac97 - os.windows.id.value = 200 os.windows.name.value = Windows -- To view, visit http://gerrit.ovirt.org/18220 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I35298c31cfa55f212c2d8b4016ee3019d7b28c40 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Vitor de Lima <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
