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

[Xen-API] [PATCH] CA-39461: Fix Network.pool_introduce


  • To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: Rob Hoes <rob.hoes@xxxxxxxxxx>
  • Date: Tue, 6 Apr 2010 15:01:55 +0100
  • Delivery-date: Tue, 06 Apr 2010 07:01:52 -0700
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

# HG changeset patch
# User Rob Hoes <rob.hoes@xxxxxxxxxx>
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 <rob.hoes@xxxxxxxxxx>

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};
   ]

Attachment: fix-network-pool-introduce
Description: Text document

_______________________________________________
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®.