[Libosinfo] [PATCH v3 07/60] data: fix RHEL Xen platform versions & adjust IDs

Daniel P. Berrange berrange at redhat.com
Mon Oct 12 17:10:28 UTC 2015


Currently the RHEL Xen platform is returning the same version
number for multiple entities. Fix this by suffixing the Xen
version with the RHEL version. Change the short-id and URI
IDs so they are of the form 'xen-rhel-$VERSION' eg

  http://redhat.com/xen-rhel/3.1.0.5.6
  xen-rhel-3.1.0.5.6

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 data/hypervisors/rhel-xen.xml.in | 60 ++++++++++++++++++++--------------------
 1 file changed, 30 insertions(+), 30 deletions(-)

diff --git a/data/hypervisors/rhel-xen.xml.in b/data/hypervisors/rhel-xen.xml.in
index a14103f..851946b 100644
--- a/data/hypervisors/rhel-xen.xml.in
+++ b/data/hypervisors/rhel-xen.xml.in
@@ -1,7 +1,7 @@
 <libosinfo version="0.0.1">
 
-  <platform id="http://redhat.com/rhel/5.0/xen/3.0.3">
-    <short-id>xen-3.0.3-rhel-5.0</short-id>
+  <platform id="http://redhat.com/xen-rhel/3.0.3.5.0">
+    <short-id>xen-rhel-3.0.3.5.0</short-id>
     <_name>Xen 3.0.3 (RHEL 5.0)</_name>
     <_vendor>Red Hat, Inc.</_vendor>
     <version>3.0.3</version>
@@ -13,73 +13,73 @@
     </devices>
   </platform>
 
-  <platform id="http://redhat.com/rhel/5.1/xen/3.1.0">
-    <short-id>xen-3.1.0-rhel-5.1</short-id>
+  <platform id="http://redhat.com/xen-rhel/3.1.0.5.1">
+    <short-id>xen-rhel-3.1.0.5.1</short-id>
     <_name>Xen 3.1.0 (RHEL 5.1)</_name>
     <_vendor>Red Hat, Inc.</_vendor>
-    <version>3.1.0</version>
+    <version>3.1.0.5.1</version>
 
-    <upgrades id="http://redhat.com/rhel/5.0/xen/3.0.3"/>
+    <upgrades id="http://redhat.com/xen-rhel/3.0.3.5.0"/>
     <derives-from id="http://xen.org/xen/3.1.0"/>
   </platform>
 
-  <platform id="http://redhat.com/rhel/5.2/xen/3.1.0">
-    <short-id>xen-3.1.0-rhel-5.2</short-id>
+  <platform id="http://redhat.com/xen-rhel/3.1.0.5.2">
+    <short-id>xen-rhel-3.1.0.5.2</short-id>
     <_name>Xen 3.1.0 (RHEL 5.2)</_name>
     <_vendor>Red Hat, Inc.</_vendor>
-    <version>3.1.0</version>
+    <version>3.1.0.5.2</version>
 
-    <upgrades id="http://redhat.com/rhel/5.1/xen/3.1.0"/>
+    <upgrades id="http://redhat.com/xen-rhel/3.1.0.5.1"/>
     <derives-from id="http://xen.org/xen/3.1.0"/>
   </platform>
 
-  <platform id="http://redhat.com/rhel/5.3/xen/3.1.0">
-    <short-id>xen-3.1.0-rhel-5.3</short-id>
+  <platform id="http://redhat.com/xen-rhel/3.1.0.5.3">
+    <short-id>xen-rhel-3.1.0.5.3</short-id>
     <_name>Xen 3.1.0 (RHEL 5.3)</_name>
     <_vendor>Red Hat, Inc.</_vendor>
-    <version>3.1.0</version>
+    <version>3.1.0.5.3</version>
 
-    <upgrades id="http://redhat.com/rhel/5.2/xen/3.1.0"/>
+    <upgrades id="http://redhat.com/xen-rhel/3.1.0.5.2"/>
     <derives-from id="http://xen.org/xen/3.1.0"/>
   </platform>
 
-  <platform id="http://redhat.com/rhel/5.4/xen/3.1.0">
-    <short-id>xen-3.1.0-rhel-5.4</short-id>
+  <platform id="http://redhat.com/xen-rhel/3.1.0.5.4">
+    <short-id>xen-rhel-3.1.0.5.4</short-id>
     <_name>Xen 3.1.0 (RHEL 5.4)</_name>
     <_vendor>Red Hat, Inc.</_vendor>
-    <version>3.1.0</version>
+    <version>3.1.0.5.4</version>
 
-    <upgrades id="http://redhat.com/rhel/5.3/xen/3.1.0"/>
+    <upgrades id="http://redhat.com/xen-rhel/3.1.0.5.3"/>
     <derives-from id="http://xen.org/xen/3.1.0"/>
   </platform>
 
-  <platform id="http://redhat.com/rhel/5.5/xen/3.1.0">
-    <short-id>xen-3.1.0-rhel-5.5</short-id>
+  <platform id="http://redhat.com/xen-rhel/3.1.0.5.5">
+    <short-id>xen-rhel-3.1.0.5.5</short-id>
     <_name>Xen 3.1.0 (RHEL 5.5)</_name>
     <_vendor>Red Hat, Inc.</_vendor>
-    <version>3.1.0</version>
+    <version>3.1.0.5.5</version>
 
-    <upgrades id="http://redhat.com/rhel/5.4/xen/3.1.0"/>
+    <upgrades id="http://redhat.com/xen-rhel/3.1.0.5.4"/>
     <derives-from id="http://xen.org/xen/3.1.0"/>
   </platform>
 
-  <platform id="http://redhat.com/rhel/5.6/xen/3.1.0">
-    <short-id>xen-3.1.0-rhel-5.6</short-id>
+  <platform id="http://redhat.com/xen-rhel/3.1.0.5.6">
+    <short-id>xen-rhel-3.1.0.5.6</short-id>
     <_name>Xen 3.1.0 (RHEL 5.6)</_name>
     <_vendor>Red Hat, Inc.</_vendor>
-    <version>3.1.0</version>
+    <version>3.1.0.5.6</version>
 
-    <upgrades id="http://redhat.com/rhel/5.5/xen/3.1.0"/>
+    <upgrades id="http://redhat.com/xen-rhel/3.1.0.5.5"/>
     <derives-from id="http://xen.org/xen/3.1.0"/>
   </platform>
 
-  <platform id="http://redhat.com/rhel/5.7/xen/3.1.0">
-    <short-id>xen-3.1.0-rhel-5.7</short-id>
+  <platform id="http://redhat.com/xen-rhel/3.1.0.5.7">
+    <short-id>xen-rhel-3.1.0.5.7</short-id>
     <_name>Xen 3.1.0 (RHEL 5.7)</_name>
     <_vendor>Red Hat, Inc.</_vendor>
-    <version>3.1.0</version>
+    <version>3.1.0.5.7</version>
 
-    <upgrades id="http://redhat.com/rhel/5.6/xen/3.1.0"/>
+    <upgrades id="http://redhat.com/xen-rhel/3.1.0.5.6"/>
     <derives-from id="http://xen.org/xen/3.1.0"/>
   </platform>
 
-- 
2.4.3




More information about the Libosinfo mailing list