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] Persist VM_guest_metrics data such as guest IP address

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] Persist VM_guest_metrics data such as guest IP address
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Thu, 6 May 2010 17:23:27 +0100
Delivery-date: Thu, 06 May 2010 09:21:03 -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 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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] Persist VM_guest_metrics data such as guest IP address, David Scott <=