On Mon, Dec 01, 2008 at 11:59:17PM +0300, Vasiliy Baranov wrote: > In fact, it looks like our ultimate goal here is we need to be able > to additionally configure the VNIC created for a guest before the > guest is even started. "Additionally configure" could include adding > IP Filter rules, Crossbow properties, etc. To do so, do we need to > hack /usr/lib/xen/scripts/vif-vnic? Or can we create VNICs ourselves > and use e.g. /usr/lib/xen/scripts/vif-dedicated to pass them to xVM? > What would be the recommended mechanism, in both xm and virsh > realms? Are there any hook scripts called on VNIC > creation/destruction intended specifically for this, maybe?
The xVM Server BUI team chose to create the VNIC first and use vif-dedicated. Rate limits can be specified in the .py files for xm, but not with virsh. These aren't applied yet, but will start to work when Crossbow is integrated. There are no hooks to apply filtering, etc. If you can describe what you need we may look at adding a hook mechanism to the scripts. _______________________________________________ xen-discuss mailing list [email protected]
