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

Re: [Xen-users] xen domU ID and static routing

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] xen domU ID and static routing
From: Peter Viskup <skupko.sk@xxxxxxxxx>
Date: Tue, 05 Jan 2010 21:11:22 +0100
Cc: Info - csdemmer <info@xxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 05 Jan 2010 12:12:20 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=R1IrBSCoWQPcsAXNxa+hTxffcgEDplQxH5nmAp9mk3Y=; b=q2WzhfrLxJzjPcxIYzJVNWch9COPdxU18/GdhXzUF0RUsbuuuOxJEiVUfhxr8gUnOF VkHyA77F4N7M+zP+I3PvUxUbVLKs5hxT2yZq8/DgSY00riUlrb0jed/on5n8Jr9q0H4R XkRz9USE/Uj9k3yOtFzj1Mzcc2A0qDUATfzZk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=au55ru3MHDlYvTbck9wS7h7XH5pAgVvRvfMy5JTGlE5F5exNqU1EW/0iJ96cMVRm+J WoArrfi1xDn2sACP6DghADtq2CdvaesmChfT65KXO3PloggzVTOWuGcigNP/T+jG58xC WAwYdm6ciavMZpiF/DFN26MNxkUyGrar8lbOo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100105153650.GT25902@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4B433EB3.5000409@xxxxxxxxxxx> <20100105153650.GT25902@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706)
Pasi Kärkkäinen wrote:
Another option is to parse the guest ID from for example "xm list" and
use that in your firewall script to create the vif name.
I will recommend Xen commands for that.
Like this:

# for dev in $(xm network-list <xen-vhost> | awk '/^[0-9]+/ {print $9}'); do xenstore-read $dev/vifname; done

But it is much easier to use the vifname configuration option...

--
Peter Viskup

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

<Prev in Thread] Current Thread [Next in Thread>