# HG changeset patch
# User Rob Hoes <[email protected]>
CA-39461: Fix Network.pool_introduce

The bug in Network.pool_introduce led to problems when adding a host to a pool, 
when this host has a Network with a name different from any Network on the 
pool. Networks and PIFs were not properly recreated on the pool in this case.

Signed-off-by: Rob Hoes <[email protected]>

diff -r cda70080e947 ocaml/idl/datamodel.ml
--- a/ocaml/idl/datamodel.ml    Tue Apr 06 10:57:56 2010 +0100
+++ b/ocaml/idl/datamodel.ml    Tue Apr 06 14:47:22 2010 +0100
@@ -3672,7 +3672,7 @@
   [
     {param_type=String; param_name="name_label"; param_doc=""; 
param_release=first_rel; param_default=None};
     {param_type=String; param_name="name_description"; param_doc=""; 
param_release=first_rel; param_default=None};
-    {param_type=Int; param_name="mTU"; param_doc=""; param_release=first_rel; 
param_default=(Some (VInt 1500L))};
+    {param_type=Int; param_name="MTU"; param_doc=""; param_release=first_rel; 
param_default=None};
     {param_type=Map(String,String); param_name="other_config"; param_doc=""; 
param_release=first_rel; param_default=None};
     {param_type=String; param_name="bridge"; param_doc=""; 
param_release=first_rel; param_default=None};
   ]
# HG changeset patch
# User Rob Hoes <[email protected]>
CA-39461: Fix Network.pool_introduce

The bug in Network.pool_introduce led to problems when adding a host to a pool, 
when this host has a Network with a name different from any Network on the 
pool. Networks and PIFs were not properly recreated on the pool in this case.

Signed-off-by: Rob Hoes <[email protected]>

diff -r cda70080e947 ocaml/idl/datamodel.ml
--- a/ocaml/idl/datamodel.ml    Tue Apr 06 10:57:56 2010 +0100
+++ b/ocaml/idl/datamodel.ml    Tue Apr 06 14:47:22 2010 +0100
@@ -3672,7 +3672,7 @@
   [
     {param_type=String; param_name="name_label"; param_doc=""; 
param_release=first_rel; param_default=None};
     {param_type=String; param_name="name_description"; param_doc=""; 
param_release=first_rel; param_default=None};
-    {param_type=Int; param_name="mTU"; param_doc=""; param_release=first_rel; 
param_default=(Some (VInt 1500L))};
+    {param_type=Int; param_name="MTU"; param_doc=""; param_release=first_rel; 
param_default=None};
     {param_type=Map(String,String); param_name="other_config"; param_doc=""; 
param_release=first_rel; param_default=None};
     {param_type=String; param_name="bridge"; param_doc=""; 
param_release=first_rel; param_default=None};
   ]
_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to