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

[Xen-API] [PATCH] [CA-38362] Restarting Xapi no longer clears the "VM_guest_metrics.other" field for running VMs



# HG changeset patch
# User Jonathan Knowles <jonathan.knowles@xxxxxxxxxxxxx>
# Date 1267705086 0
# Node ID 82857ff71cfe3aaeae9e3869fdabb7e99cd9fbe8
# Parent  0e7ab109bf92783d1f248ac39eed3d142e19178e
[CA-38362] Restarting Xapi no longer clears the "VM_guest_metrics.other" field 
for running VMs.

Signed-off-by: Jonathan Knowles <jonathan.knowles@xxxxxxxxxxxxx>
Acked-by: Dave Scott <dave.scott@xxxxxxxxxxxxx>

diff -r 0e7ab109bf92 -r 82857ff71cfe ocaml/idl/datamodel.ml
--- a/ocaml/idl/datamodel.ml    Thu Mar 04 12:18:05 2010 +0000
+++ b/ocaml/idl/datamodel.ml    Thu Mar 04 12:18:06 2010 +0000
@@ -5596,7 +5596,7 @@
       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:false  ~qualifier:DynamicRO ~ty:(Map(String, String)) 
"other" "anything else";
+      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 ~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, 1 insertion(+), 1 deletion(-)
ocaml/idl/datamodel.ml |    2 +-


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