Gustavo Frederico Temple Pedrosa has uploaded a new change for review.

Change subject: core, engine: Add more OSes for the ppc64 architecture
......................................................................

core, engine: Add more OSes for the ppc64 architecture

This change includes more OSes which are compatible with the ppc64
architecture. Currently only SLES and RHEL are added in osinfo.

Change-Id: Ib0c0915e6ba803640d97a83e1d47b0541f19288c
Signed-off-by: Gustavo Pedrosa <gustavo.pedr...@eldorado.org.br>
---
M 
frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/ApplicationResourcesWithLookup.java
M packaging/conf/osinfo-defaults.properties
2 files changed, 47 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/57/24157/1

diff --git 
a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/ApplicationResourcesWithLookup.java
 
b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/ApplicationResourcesWithLookup.java
index fd80e13..fdcfae4 100644
--- 
a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/ApplicationResourcesWithLookup.java
+++ 
b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/ApplicationResourcesWithLookup.java
@@ -84,6 +84,20 @@
     @Source("images/os/large/ubuntu_13_10.png")
     ImageResource ubuntu_13_10LargeImage();
 
+    // ppc64 OSes large images
+
+    @Source("images/os/large/other.png")
+    ImageResource other_ppc64LargeImage();
+
+    @Source("images/os/large/other_linux.png")
+    ImageResource other_linux_ppc64LargeImage();
+
+    @Source("images/os/large/rhel_6.png")
+    ImageResource rhel_6_ppc64LargeImage();
+
+    @Source("images/os/large/sles_11.png")
+    ImageResource sles_11_ppc64LargeImage();
+
     // OS type small images
 
     // TODO remove the same resources from ApplicationResources and rename this
@@ -165,6 +179,20 @@
     @Source("images/os/ubuntu_13_10.png")
     ImageResource ubuntu_13_10SmallImage();
 
+    // ppc64 OSes small images
+
+    @Source("images/os/other.jpg")
+    ImageResource other_ppc64SmallImage();
+
+    @Source("images/os/other_linux.jpg")
+    ImageResource other_linux_ppc64SmallImage();
+
+    @Source("images/os/rhel_6.jpg")
+    ImageResource rhel_6_ppc64SmallImage();
+
+    @Source("images/os/sles_11.png")
+    ImageResource sles_11_ppc64SmallImage();
+
     @Source("images/vmtypes/desktop_vm_icon.png")
     ImageResource desktopVmIcon();
 
diff --git a/packaging/conf/osinfo-defaults.properties 
b/packaging/conf/osinfo-defaults.properties
index 8124357..652c6a5 100644
--- a/packaging/conf/osinfo-defaults.properties
+++ b/packaging/conf/osinfo-defaults.properties
@@ -281,6 +281,25 @@
 # the VirtIO balloon and the VirtIO serial channel
 os.other_ppc64.devices.maxPciDevices.value = 29
 
+# More OSes for ppc64
+
+# otherLinuxppc64(1002, OsType.Linux, false),
+os.other_linux_ppc64.id.value = 1002
+os.other_linux_ppc64.name.value = Linux
+os.other_linux_ppc64.derivedFrom.value = other_ppc64
+os.other_linux_ppc64.description.value = General GNU/Linux
+os.other_linux_ppc64.family.value = linux
+
+# rhel6ppc64(1003, OsType.Linux, true),
+os.rhel_6_ppc64.id.value = 1003
+os.rhel_6_ppc64.name.value = Red Hat Enterprise Linux 6.x
+os.rhel_6_ppc64.derivedFrom.value = other_linux_ppc64
+
+# Suseppc64
+os.sles_11_ppc64.id.value = 1004
+os.sles_11_ppc64.name.value = SUSE Linux Enterprise Server 11
+os.sles_11_ppc64.derivedFrom.value = other_linux_ppc64
+
 # Backward Compatibility Section
 # Keep a mapping of the old os unique names to new od IDs
 # in order to support correct imports of pre-osinfo VMs


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib0c0915e6ba803640d97a83e1d47b0541f19288c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Gustavo Frederico Temple Pedrosa <gustavo.pedr...@eldorado.org.br>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to