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-devel

[Xen-devel] [PATCH] [XEND] fix vif IP specification broken in 12633:5bed

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] [XEND] fix vif IP specification broken in 12633:5bed7bc05c8a
From: Brendan Cully <brendan@xxxxxxxxx>
Date: Mon, 04 Dec 2006 15:59:30 -0700
Delivery-date: Mon, 04 Dec 2006 15:59:49 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Brendan Cully <brendan@xxxxxxxxx>
# Date 1165276659 28800
# Node ID 013e995e2a6b0c5b237b29211e697b7757e5f94f
# Parent  fd28a1b139dea91b8bfcf06dd233dbdda8f51ff1
[XEND] fix vif IP specification broken in 12633:5bed7bc05c8a

Apparently at some point one could attach multiple IP addresses
to a single VIF in the config file. This doesn't address that
feature.

Signed-off-by: Brendan Cully <brendan@xxxxxxxxx>

diff -r fd28a1b139de -r 013e995e2a6b tools/python/xen/xend/server/netif.py
--- a/tools/python/xen/xend/server/netif.py     Mon Dec 04 09:29:26 2006 +0000
+++ b/tools/python/xen/xend/server/netif.py     Mon Dec 04 15:57:39 2006 -0800
@@ -164,7 +164,7 @@ class NetifController(DevController):
             front = { 'handle' : "%i" % devid,
                       'mac'    : mac }
         if ipaddr:
-            back['ip'] = ' '.join(ipaddr)
+            back['ip'] = ipaddr
         if bridge:
             back['bridge'] = bridge
         if vifname:

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel