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/
Home Products Support Community News


RE: [Xen-users] vifname?

To: "Andy Smith" <andy@xxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] vifname?
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 6 Dec 2005 15:41:43 -0000
Cc: ian.pratt@xxxxxxxxxxxx
Delivery-date: Tue, 06 Dec 2005 15:42:15 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcX6cLTzfaNNlCCGRVCxEhq4BrKv+gACmT5Q
Thread-topic: [Xen-users] vifname?
> > Take a look at /etc/xen/scripts/vif-*, they will correctly start up 
> > you vif and bind it to the bridge you want, and turn up the 
> vif. Good 
> > job there :)
> Is it possible to edit the scripts to name the vif based on 
> the domain's name rather than its id number (which changes)?

We should be passing all the variables specified in a vif stanza as
environment to the hotplug script when it runs. This would make it dead
easy to implement vifname in hotplug-common.sh using 'ip link set name'.

Unfortunately, for no particularly good reason xend currently filters
the set of strings it passes in to hotplug. Patches welcome.


Xen-users mailing list

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