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

[Xen-API] [PATCH] Persist VM_guest_metrics data such as guest IP address



# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1273162982 -3600
# Node ID 115b4dbdd98bc10640e2ba4d840c3ebecd166eb1
# Parent  034484c5653fe7d64168df134ccb84ccc4094ce5
CA-41119: make sure we persist VM_guest_metrics data so that master restarts 
don't blank stuff like slave VM IP addresses.

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r 034484c5653f -r 115b4dbdd98b ocaml/idl/datamodel.ml
--- a/ocaml/idl/datamodel.ml    Thu May 06 17:22:57 2010 +0100
+++ b/ocaml/idl/datamodel.ml    Thu May 06 17:23:02 2010 +0100
@@ -5626,11 +5626,11 @@
       field ~qualifier:DynamicRO ~ty:Bool ~in_oss_since:None 
"PV_drivers_up_to_date"
        "true if the PV drivers appear to be up to date";
 
-      field ~persist:false ~qualifier:DynamicRO ~ty:(Map(String, String)) 
"memory" "free/used/total memory";
-      field ~persist:false ~qualifier:DynamicRO ~ty:(Map(String, String)) 
"disks" "disk configuration/free space";
-      field ~persist:false ~qualifier:DynamicRO ~ty:(Map(String, String)) 
"networks" "network configuration";
-      field ~persist:true ~qualifier:DynamicRO ~ty:(Map(String, String)) 
"other" "anything else";
-      field ~persist:false ~qualifier:DynamicRO ~ty:DateTime "last_updated" 
"Time at which this information was last updated";
+      field ~qualifier:DynamicRO ~ty:(Map(String, String)) "memory" 
"free/used/total memory";
+      field ~qualifier:DynamicRO ~ty:(Map(String, String)) "disks" "disk 
configuration/free space";
+      field ~qualifier:DynamicRO ~ty:(Map(String, String)) "networks" "network 
configuration";
+      field ~qualifier:DynamicRO ~ty:(Map(String, String)) "other" "anything 
else";
+      field ~qualifier:DynamicRO ~ty:DateTime "last_updated" "Time at which 
this information was last updated";
       field ~in_product_since:rel_orlando ~default_value:(Some (VMap [])) 
~ty:(Map(String, String)) "other_config" "additional configuration";
       field ~qualifier:DynamicRO ~in_product_since:rel_orlando 
~default_value:(Some (VBool false)) ~ty:Bool "live" "True if the guest is 
sending heartbeat messages via the guest agent";
     ]
1 file changed, 5 insertions(+), 5 deletions(-)
ocaml/idl/datamodel.ml |   10 +++++-----


Attachment: xen-api.hg.patch
Description: Text Data

_______________________________________________
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®.