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

[Xen-API] [PATCH] make PIF_metrics persistent again



# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1264612820 0
# Node ID d3ffdf2e69f10967628ac3ee1708b1619eb3b931
# Parent  22cd3f304b9e0818b80ac5a40e6d4c6438c5e58a
CA-36082: make PIF_metrics persistent again. This fixes annoying glitches like: 
restarting xapi on the pool master causes it to forget about the carrier status 
of the slaves.

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

diff -r 22cd3f304b9e -r d3ffdf2e69f1 ocaml/idl/datamodel.ml
--- a/ocaml/idl/datamodel.ml    Thu Jan 21 15:45:09 2010 +0000
+++ b/ocaml/idl/datamodel.ml    Wed Jan 27 17:20:20 2010 +0000
@@ -3839,7 +3839,7 @@
        ()
 
 let pif_metrics = 
-    create_obj ~in_db:true ~in_product_since:rel_rio 
~in_oss_since:oss_since_303 ~internal_deprecated_since:None 
~persist:PersistNothing ~gen_constructor_destructor:false ~name:_pif_metrics 
~descr:"The metrics associated with a physical network interface"
+    create_obj ~in_db:true ~in_product_since:rel_rio 
~in_oss_since:oss_since_303 ~internal_deprecated_since:None 
~persist:PersistEverything ~gen_constructor_destructor:false ~name:_pif_metrics 
~descr:"The metrics associated with a physical network interface"
       ~gen_events:true
       ~doccomments:[]
       ~messages_default_allowed_roles:_R_POOL_OP
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®.