Hi, On Sun, Feb 15, 2015 at 01:58:21PM +0100, Rhaban Hark wrote: > Hi, > > we want to achieve round-robin over different action-buckets in a group > table. Since we expect packets with identical headers (same ip & mac > address), the current implementation is not sufficient. As far as i know ovs > is using the hashed mac address to determine the selected bucket. > > Based on > https://github.com/saeenali/openvswitch/wiki/Stochastic-Switching-using-Open-vSwitch-in-Mininet > (which seems to work only with a fixed total bucket-weight of 10), i've > changed ofproto/ofproto-dpif-xlate.c to achieve this more generic, which > works great. In fact we're not making round-robin, rather it randomly > selects an output bucket considering their weights. > > However, we have to tell ovs to always use slow-path (ctx->xout->slow |= > SLOW_CONTROLLER). Is there a chance to randomly select the output bucket in > the kernel module while the packet headers are always identically or does > this conflict with the idea of the kernel module which basically forwards > corresponding to the packet headers?
It seems that this could be achieved by adding a new selection method using the extension to do so which I have proposed. "[PATCH/RFC v2 0/8] Group Select: Selection Method Extension" http://thread.gmane.org/gmane.network.openvswitch.devel/43918 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
