On Mon, Jan 12, 2009 at 10:54:58AM +0000, Daniel P. Berrange wrote:
> With current libvirt, it's not possible to specify a script
for
> VIR_DOMAIN_NET_TYPE_BRIDGE. Is this just an oversight, or intentional?
That's intentional - if you want to use a generic network script then
use the type=ethernet style of network config instead of type=bridge
OK, why? Is there a reason for this restriction?
> Suggestions on how to fix this? Should I just add script
handling to
> this net type?
If the Solaris VIF setup script isn't called 'vif-bridge', then we can
just #ifdef the alternate name required for Solaris & everything else
should just work
Nope, since we have at least two standard scripts that are usable. Also,
this is a back-compat issue (presumably, even for Linux...) that I don't
think we can avoid.
regards
john