WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH] Add future release to datamodel types

To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] [PATCH] Add future release to datamodel types
From: Rob Hoes <rob.hoes@xxxxxxxxxx>
Date: Tue, 18 May 2010 16:02:21 +0100
Delivery-date: Tue, 18 May 2010 08:06:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Rob Hoes <rob.hoes@xxxxxxxxxx>
Add future release to datamodel types

Signed-off-by: Rob Hoes <rob.hoes@xxxxxxxxxx>

diff -r 16f8a76a143a ocaml/idl/datamodel.ml
--- a/ocaml/idl/datamodel.ml    Fri Apr 16 15:20:43 2010 +0100
+++ b/ocaml/idl/datamodel.ml    Fri Apr 16 15:32:37 2010 +0100
@@ -18,7 +18,7 @@
 (* IMPORTANT: Please bump schema vsn if you change/add/remove a _field_.
               You do not have to bump vsn if you change/add/remove a message *)
 let schema_major_vsn = 5
-let schema_minor_vsn = 60
+let schema_minor_vsn = 61
 
 (* Historical schema versions just in case this is useful later *)
 let rio_schema_major_vsn = 5
@@ -33,9 +33,12 @@
 let george_release_schema_major_vsn = 5
 let george_release_schema_minor_vsn = 57
 
+let midnight_ride_release_schema_major_vsn = 5
+let midnight_ride_release_schema_minor_vsn = 60
+
 (* the schema vsn of the last release: used to determine whether we can 
upgrade or not.. *)
-let last_release_schema_major_vsn = george_release_schema_major_vsn
-let last_release_schema_minor_vsn = george_release_schema_minor_vsn
+let last_release_schema_major_vsn = midnight_ride_release_schema_major_vsn
+let last_release_schema_minor_vsn = midnight_ride_release_schema_minor_vsn
 
 (** Bindings for currently specified releases *)
 
diff -r 16f8a76a143a ocaml/idl/datamodel_types.ml
--- a/ocaml/idl/datamodel_types.ml      Fri Apr 16 15:20:43 2010 +0100
+++ b/ocaml/idl/datamodel_types.ml      Fri Apr 16 15:32:37 2010 +0100
@@ -41,6 +41,7 @@
 let rel_miami = "miami"
 let rel_rio = "rio"
 let rel_midnight_ride = "midnight-ride"
+let rel_cowley = "cowley"
 
 let release_order =
        [ rel_rio
@@ -50,6 +51,7 @@
        ; rel_orlando_update_1
        ; rel_george
        ; rel_midnight_ride
+       ; rel_cowley
        ]
 
 exception Unknown_release of string

Attachment: cowley-release
Description: Text document

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] Add future release to datamodel types, Rob Hoes <=