[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Recent xl and network-route scripts



On Thu, 2011-02-17 at 07:29 +0000, Pasi KÃrkkÃinen wrote:
> On Wed, Feb 16, 2011 at 07:13:31PM -0600, W. Michael Petullo wrote:
> > I've been testing recent Xen 4.1 release candidates, and it seems that
> > "xl" does not want to play nicely with the vif-route script.
> > 
> > First, the udev subsystem executes vif-setup after Xen creates the
> > vif device. For some reason, this script does not have $script defined
> > and so it defaults to running vif-bridge (even though xend-config.sxp
> > specifies vif-route).
> 
> I don't think xl/libxl reads/parses xend-config.sxp .. 

There is an /etc/xl.conf but I don't believe it contains a setting for
the default vif script. It probably could/should though.

As a workaround I believe adding ",script=foo" to the vif entry might
work?

> > Once I changed vif-setup by hand to run vif-route
> > things went further. I'm not entirely sure how $script is supposed to
> > be set, but it worked fine with xm.
> > 
> > Next, vif-route does not pick up $ip from my domain configuration's
> > "vif = [ 'ip=w.x.y.z' ]." When using xm, vif-route finds $ip set and
> > creates a route based on its value.

It looks like xl parses the ip option but that libxl doesn't do anything
with it.

I'll see if I can out a patch together for both of these issues shortly.

Ian.


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.