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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Using the script param of the vif config
From: Pierre-Gildas MILLON <pg.millon@xxxxxxxxx>
Date: Wed, 18 May 2011 16:58:28 +0200
Delivery-date: Wed, 18 May 2011 08:01:18 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=rCGB9XwsmyRSSxGKtfMwk8weEEz4ZpZQuWJ5yycUdFU=; b=YGUsFxsbWgnVii3UFG6n3zERHhRfZWJSlkmugOQNUcjbMcWhEJ/pnildG2wyAlHzXv tNO47SWlHdnsqaAckx+oNo5VXchDK0FxnPFRhZoUcJcLElLKs8fZOezexYvZJOKFHeR/ t3hOLGxc1gg/cLitsCE3DZMOlmgJ3Sz9Q7V10=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=cEnT6z8DQ/P/58P5ZVwOno8xe6qg7AxnvtcTBIzNJReT/f8GJTkQOX30+da5KVKYX6 UezxWJrrWPGdHsD2TBqJ6YN7ipyKb6re9zCO87c/47QBBsf3qqtsESL4nSFJPwLyAAOV Wwd1hFtZ0TCdhmXtfgsP8hI/FYyiSGUAhj6+g=
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/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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>