From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Thunes Subject: Network scripts start/stop Date: Fri, 04 Apr 2008 19:28:32 -0400 Message-ID: <47F6B9A0.9020806@brewtab.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1410088746==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1410088746== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello all,
    I was poking around with some network scripts for Xen today (3.2-testing) and noticed that regardless of whether xend start, xend restart, or xend stop was called a 'start' argument was passed on to the network script (network-bridge, network-route, etc.). I can't imagine this is normal behavior and it seems that the only place that these scripts are called is from a global function call in xend/XendPIF.py around line 35 ("Vifctl.network('start')"). I commented this line out and added appropriate calls to Vifctl.network('start') and Vifctl.network('stop') in xend/server/SrvServer.py in the functions cleanup and start. If someone can let me know if this is standard behavior and if not, if there is a better way to fix the problem it would be much appreciated.

- Chris Thunes
--===============1410088746== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1410088746==--