[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xl remus - Invoking scripts from xl
On Thu, Jul 18, 2013 at 7:10 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
That helps a lot. I somehow got a wrong impression that xl was part of libxl (sort of a frontend).
correction. This script will be called by xl not libxl. As George put it, other toolstacks may choose to do this setup in their own way. If there was a decent way of doing stuff like
"modprobe ifb" or "tc filter add dev vif1.0 parent root u32 match u32 0 0 .." in C, I would have jumped on it. As it turns it, there isnt one. So, if you folks are okay with "xl" code doing things like
system("modprobe ifb numifbs=10") system("ip link set ifbX up") system("tc filter add dev vif1.0 ingress") system("tc filter add dev vif1.0 parent ffff: proto ip pref 10 u32 match u32 0 0 action mirred egress redirect dev ifbX")
I can get rid of the script all together. I thought you guys would find this distasteful ;) and hence the decision to invoke an external script. OTOH, the only thing that libxl needs is a list of ifb devices to install the qdisc.
This will be done programmatically. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |