Re: [ovs-discuss] Rate limit based on IP
Something like this: ip,nw_dst=1.2.3.4, actions=set_queue:123,output:4 On Mon, Oct 23, 2017 at 09:03:06AM +0800, BALL SUN wrote: > Hi Ben > > would you mind give me some samples? > > On Sat, Oct 21, 2017 at 1:45 AM, Ben Pfaff wrote: > > On Fri, Oct 20, 2017 at 04:58:06PM +0800, BALL SUN wrote: > >> I understood that OVS has rate shaping based on port, is there any way > >> to perform rate shaping on IP level? > > > > You can use the flow table to assign packets to queues based on > > destination IP, then assign different queues different rates with QoS > > configuration. ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
Re: [ovs-discuss] Rate limit based on IP
yes I achieve the public network floating IP bandwidth limit is the use of the meter, I have also submitted a path for the ovn: https://mail.openvswitch.org/pipermail/ovs-dev/2017-September/338986.html I do not know if this way is right for you... on 2017/10/23 9:03, BALL SUN write: Hi Guoshuai thank for your suggestion, I will take a look. are you currently using this method? On Fri, Oct 20, 2017 at 6:55 PM, Guoshuai Li wrote: you can try the meter in the dpdk environment. It can base on a flow. https://github.com/openvswitch/ovs/blob/fa10e59a6b9a894644c99f39035afc427d09a490/tests/dpif-netdev.at#L208 Hi I understood that OVS has rate shaping based on port, is there any way to perform rate shaping on IP level? - RBK ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
Re: [ovs-discuss] Rate limit based on IP
Hi Guoshuai thank for your suggestion, I will take a look. are you currently using this method? On Fri, Oct 20, 2017 at 6:55 PM, Guoshuai Li wrote: > > you can try the meter in the dpdk environment. > It can base on a flow. > > https://github.com/openvswitch/ovs/blob/fa10e59a6b9a894644c99f39035afc427d09a490/tests/dpif-netdev.at#L208 > >> Hi >> >> I understood that OVS has rate shaping based on port, is there any way >> to perform rate shaping on IP level? >> >> - RBK >> ___ >> discuss mailing list >> disc...@openvswitch.org >> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss > > ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
Re: [ovs-discuss] Rate limit based on IP
Hi Ben would you mind give me some samples? On Sat, Oct 21, 2017 at 1:45 AM, Ben Pfaff wrote: > On Fri, Oct 20, 2017 at 04:58:06PM +0800, BALL SUN wrote: >> I understood that OVS has rate shaping based on port, is there any way >> to perform rate shaping on IP level? > > You can use the flow table to assign packets to queues based on > destination IP, then assign different queues different rates with QoS > configuration. ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
Re: [ovs-discuss] Rate limit based on IP
On Fri, Oct 20, 2017 at 04:58:06PM +0800, BALL SUN wrote: > I understood that OVS has rate shaping based on port, is there any way > to perform rate shaping on IP level? You can use the flow table to assign packets to queues based on destination IP, then assign different queues different rates with QoS configuration. ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
Re: [ovs-discuss] Rate limit based on IP
you can try the meter in the dpdk environment. It can base on a flow. https://github.com/openvswitch/ovs/blob/fa10e59a6b9a894644c99f39035afc427d09a490/tests/dpif-netdev.at#L208 Hi I understood that OVS has rate shaping based on port, is there any way to perform rate shaping on IP level? - RBK ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
[ovs-discuss] Rate limit based on IP
Hi I understood that OVS has rate shaping based on port, is there any way to perform rate shaping on IP level? - RBK ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss