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] [CA-38362] Restarting Xapi no longer clears the "VM_gu

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] [CA-38362] Restarting Xapi no longer clears the "VM_guest_metrics.other" field for running VMs
From: Jonathan Knowles <jonathan.knowles@xxxxxxxxxxxxx>
Date: Thu, 4 Mar 2010 12:23:39 +0000
Delivery-date: Thu, 04 Mar 2010 04:23:50 -0800
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 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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] [CA-38362] Restarting Xapi no longer clears the "VM_guest_metrics.other" field for running VMs, Jonathan Knowles <=