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

[Xen-users] Vif order

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Vif order
From: Kieran Mansley <kmansley@xxxxxxxxxxxxxx>
Date: Tue, 05 Dec 2006 09:40:23 +0000
Delivery-date: Wed, 06 Dec 2006 01:17:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
I have more than one vif configured for each of my domUs using something
like this in their config files:

vif = [ 'mac=00:16:3E:00:21:0C','mac=00:16:3E:00:01:0C' ]

It used to be the case (pre 3.0.3, although it's hard to say exactly
when the change occured), I think, that the first one would always be
vif1.0 and the second one would be vif1.1 (for the first domU).
However, using a recent xen-unstable (post 3.0.3) the ordering of them
seems to be effectively random, and there is a reasonable chance that
the second will be vif1.0 and the first vif1.1.

I can of course override the default naming and force the first to be
vif1.0 using the vifname option, but this doesn't alter their naming in
Xenstore.  I would end up with /local/domain/0/vif/1/0 being called
vif1.1 and /local/domain/0/vif/1/1 being vif1.0 which can get confusing
to say the least.

Does anyone know a way to force the ordering to be as specified in the
configuration file, or alternatively what it is that determines the
ordering so I can modify it to get the behaviour I want?

Thanks

Kieran


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Vif order, Kieran Mansley <=