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] CA-39461: Fix Network.pool_introduce

To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] [PATCH] CA-39461: Fix Network.pool_introduce
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
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 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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] CA-39461: Fix Network.pool_introduce, Rob Hoes <=