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] Using the script param of the vif config

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Using the script param of the vif config
From: Pierre-Gildas MILLON <pg.millon@xxxxxxxxx>
Date: Thu, 19 May 2011 11:21:02 +0200
Delivery-date: Thu, 19 May 2011 02:22:34 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=xZp3SL5xJ4OKgc39W+KADwQ/xwQ6b2HKEDnQqcJFTUc=; b=HZbKZcu4vvep7lca9toE3gqIdCxY4Mub1psjQvBBxRBzzynA7oEY8gXiZzFqiNbz4m xcr8Dl+vDxFGNTpZ2ny7Kz5vSUSsGKR14eHkfCpwfnTgFZJcP1k6WzayIVXcQh7nAAsb I1tlD/iExJSA2/GEpF2v7tSBkzJw8yeDRXC98=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jHIY2dz+ttADOCMOcpeTZekHUlBjA8vb1HnqzyvosOeM5vwGfKHumUYx9XIG028pPZ /ULpiAkB2wcrNDEFZxbzFxkkQV3c33GjYaUrNFgMHwagURZ/Xhe74l16bkQoLpqOUesw D0czJQwLOtE26bu1qor3uqasVLgFvrbP4tRDg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTimOkDQ+OcEQA9a0j52JJdaOSX2Z8Q@xxxxxxxxxxxxxx>
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: <BANLkTimYNxXnB9cj2MK9BNOOGDfvrQTxbA@xxxxxxxxxxxxxx> <753B5368-9EC6-404F-A430-12650AA5EAA1@xxxxxxxxxxx> <BANLkTimOkDQ+OcEQA9a0j52JJdaOSX2Z8Q@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Ok forget it, I could make it work...

mydomain.cfg
#
# �Networking
#
vif � � � � = [�
�� � � � � � � � �'ip=192.168.1.5,script="vif-route"' # FAIL
�� � � � � � � � �'ip=192.168.1.5,script=vif-route'�# WORKS
�� � � � � � �]

Thanks for your time.�

2011/5/18 Pierre-Gildas MILLON <pg.millon@xxxxxxxxx>
Hi Iain,

On a Debian 6 amd64 :�
- Xen 3.2.1
- kernel�2.6.32-5-xen

The only modifications I made :
And adding entries to the package list for a Centos5.
Nothing to do with my matter I think.

Many thanks for your time, hope you'll be able to help me :)

2011/5/18 Iain Kay <spam@xxxxxxxxxxx>
Hi Pierre,

Can you post what your Xen version is and what the version of your kernel is? Also have you applied any patches to either of these?

Iain

On 18 May 2011, at 15:58, Pierre-Gildas MILLON wrote:

Hello all,

I'm trying to use the script parameter of a vif.
This is my config:

xend-config.sxp :
(network-script network-route)
(vif-script � � vif-route)

mydomain.cfg
#
# �Networking
#
vif � � � � = [�
�� � � � � � � � �'ip=192.168.1.5'�
�� � � � � � �]

Now I would like to setup a custom vif script just for this domain.
The docs says that I can do something like that :

mydomain.cfg
#
# �Networking
#
vif � � � � = [�
�� � � � � � � � �'ip=192.168.1.5,script="/etc/xen/scripts/myscript"'�
�� � � � � � �]

But before using any custom script, I can't get it to work using the default script.

mydomain.cfg
#
# �Networking
#
vif � � � � = [�
�� � � � � � � � �'ip=192.168.1.5,script="/etc/xen/scripts/vif-route"'�
�� � � � � � �]

I get the following error:�Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

Could anybody please help me.
I already asked on IRC but no answer.
Thanks
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


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


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>