# HG changeset patch # User David Scott # 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 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