On Wed, May 24, 2017 at 3:22 AM, 爬山虎 <cx...@qq.com> wrote:
>  I have saw http://docs.openvwitch.org/en/latest/faq/qos/, maybe this is not
> i need .
>
> We have a demand that limit speed rate by the meter, because our controller
> is sdn . The sdn only can send openflow messages to ovs , but can not call
> other programs , such as tc or ovs-vsctl .

If you can't access OVSDB, then how would you accomplish other tasks,
such as adding bridges or ports?

>
> I mean now i want to realize the meter support in ovs-2.3.0 with myself.
>
> if sdn call this command to ovs-vswtichd :
>
>>ovs-ofctl add-meter br1 meter=1,band=type=drop,rate=30000
>>ovs-vsctl add-flow br1 in_port=2,actions=meter:1,output=2
>
> 1) can i parse the parameters of the meter in ovs-vswtichd, and then i put
> the parameter to TC. Let the TC to help me to implement the limit speed
> function. Can i do this ?
>
Yes, it is open source.

> 2) actions=meter:1 , output =2 . Dose this mean the first do meter:1, and
> second do output=2, they are have a sequential relationship in it ?
> if this ,maybe I can't do this function with TC, because TC is control speed
> on the host kernel queue with the backend devices. This will disrupt the
> order of the actions.
>
> 3)if there is a ready-made implements ? Any DANIEL wrote in private  ? We
> have a ready-made solutions in our company, but now i can't see the source.
>
I am not aware of any private implementation. Will you consider upstream your
ready-made solution?
>
>
>
>
>>Hi all:
>
>>I'm exec next command on ovs-2.3.0 :
>
>>ovs-ofctl add-meter br1 meter=1,band=type=drop,rate=30000
>>ovs-vsctl add-flow br1 in_port=2,actions=meter:1,output=2
>
>>I want to know whats step currently supports this command ?
>
>>If i need to realize this flow control,  what need to do ?
>
>>Can achieve on the basis of the existing TC ?
>
>>You may find OVS-FAQ helpful:
>>http://docs.openvswitch.org/en/latest/faq/qos/
>
>
>
> ------------------
>
>
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to