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

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



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.