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

[Xen-devel] Fwd: xend, network-script and vif-script

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Fwd: xend, network-script and vif-script
From: "Henning Sprang" <henning_sprang@xxxxxx>
Date: Mon, 14 Aug 2006 17:57:19 +0200
Delivery-date: Mon, 14 Aug 2006 08:57:45 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=nIP4NcaSJ4VmNIWEUXTIS5Zb5cAcsYPTgS19cVXXzpgbvN0GqHmGTVFhtKyZ1hMl8wjCgA1YxtE09nifDNXw9GvCKigMUjMO3C8DcO2HHp2zuThsvBWQ31/Dc0WvfH3NrMO9YwoKKpfn8O2ytAKzDD5oYFyajDloe0npzRPaM6A=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5bb00b3f0608091345o2748d12el5a0a265ab1aa3f1f@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <5bb00b3f0608091345o2748d12el5a0a265ab1aa3f1f@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi xen-developers,
I didn't get any hint to this question from xen-users, but I am sure,
you know how I get to see the output (e.g. things printed with echo
for debuggin purposes) of the scripts I define as network-script and
vif-.script somewhere - do you?

Below a longer explanation, if you are interested.

---------- Forwarded message ----------
From: Henning Sprang <henning_sprang@xxxxxx>
Date: Aug 9, 2006 10:45 PM
Subject: xend, network-script and vif-script
To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>


Hi,
For a custom network setup, I want to modify the default
network-script and vif-scripts. So I made a copy of them and changed
the config in xend-config.sxp to use the copies which I want to
change.

Then I started adding my own features in the start and stop sections
and see what they do.
As they don't do immediately what I want (oh, wonder?!  ),  I realize
they are hard to debug:
The problem I have here is that I don't see where the output of these
scripts is written to for debugging and tracing purposes - no logfile
seems to contain stuff I echo from there, and no console.
Is there any configuration option to enable seeing more output from
these scripts? I cannot find any documentation for that, loglevel is
set to DEBUG in xend-config..sxp

Then I wondered if it's right that the network-script is actuall never
called with stop as argument, while I would assume it will be called
when running xend stop.

I already started to read through the python code, because I didn't
find any other information, but this will take some time until i
understand all the xend python code - maybe somebody has a hint?

Henning

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

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