From: Brendan Cully Subject: [PATCH] [XEND] fix vif IP specification broken in 12633:5bed7bc05c8a Date: Mon, 04 Dec 2006 15:59:30 -0700 Message-ID: <013e995e2a6b0c5b237b.1165276770@ventoux.cs.ubc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User Brendan Cully # 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 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: