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] How to get two bridges up when starting xend

To: ewan@xxxxxxxxxxxxx, james@xxxxxxxxxxxxx
Subject: [Xen-devel] How to get two bridges up when starting xend
From: Li Ge <lge@xxxxxxxxxx>
Date: Wed, 9 Nov 2005 13:52:50 -0600
Cc: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 09 Nov 2005 19:52:59 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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

I tried to verify the fix for the network-bridge script with Changeset 7701(Please refer to bug 381). I can only bring up two bridges on dom0 successfully by MANUALLY using network-bridge script. After starting xend, I can create domU and get both eth0 and eth1 working on it.  

But if I want to use xend-config.sxp file to control the changes of the network, it does not work. After starting xend, no bridges gets created. Here are the lines uncommented in my xend-config.sxp

(xend-http-server yes)
(xend-relocation-server yes)
(xend-address localhost)
(xend-relocation-address localhost)
(network-script my-network-script)
(dom0-min-mem 0)
(dom0-cpus 0)

/etc/xen/scripts/my-network-script:

#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" vifnum=0 start
"$dir/network-bridge" vifnum=1 start

What changes do I need to do to the xend-config.sxp in order to create two bridges when starting xend?



Thanks,
Li

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] How to get two bridges up when starting xend, Li Ge <=