[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

# 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.