[ovs-dev] asking about flow rate limiting feature

Trinh Minh Tri tmtri81 at gmail.com
Thu Sep 1 12:11:48 UTC 2011


Thank you very much for your quick reply, Mr Justin!




On Thu, Sep 1, 2011 at 3:54 AM, Justin Pettit <jpettit at nicira.com> wrote:

> I doubt FlowVisor speaks Open vSwitch's configuration protocol, but that
> would be a question better suited to the FlowVisor mailing list:
>
>        http://mailman.stanford.edu/mailman/listinfo/flowvisor-users
>
> If you just want to make those changes remotely, you can use ovs-vsctl over
> TCP/SSL.  You'll just need to tell ovsdb-server to listen with the
> appropriate method.  For example:
>
>        ovs-vsctl set-manager ptcp:6634
>
> Then, when you want to remotely configure OVS, tell ovs-vsctl to use that
> connection method.  Something like:
>
>        ovs-vsctl --db tcp:<ip_of_ovs>:6634 set port eth0 qos
> <blah,blah,blah>
>
> I didn't test those commands, so they may be slightly off, but it should
> point you in the right direction.
>
> --Justin
>
>
> On Aug 31, 2011, at 4:01 AM, Trinh Minh Tri wrote:
>
> > Dear Mr Justin!
> >
> > I followed your suggestion and can set the qos for each flow but
> completely on openflow switch.
> > Now I want to periodically change the rate provide to each queue. I mean
> if I have a program that can calculate the best rate providing to each queue
> and base on that program result I want to change the rate set to each queue
> periodically (e.g time interval = 5 mins).
> > I intend to implement it in FlowVisor. So, is it possible to control the
> queue rate of openvswitch from FlowVisor?
> > Could you suggest me the part in openvswitch that I can send the command
> from outside to control?
> >
> > Thank you very much
> > Trinh Minh Tri
> >
> >
> > On Tue, Aug 30, 2011 at 1:19 PM, Justin Pettit <jpettit at nicira.com>
> wrote:
> > This is a bit trickier, but it's certainly possible.  First, you'll need
> to configure queues on the egress ports.  You can see how to do this in the
> "Quality of Service (QoS)" section of the ovs-vsctl man page:
> >
> >
> http://openvswitch.org/cgi-bin/ovsman.cgi?page=utilities%2Fovs-vsctl.8
> >
> > Then, you can add flows with the "enqueue" action from your controller or
> the ovs-ofctl command.  The enqueue action takes the port number and the
> queue id you configured earlier.  You can see some documentation about the
> enqueue action in the OpenFlow spec or the ovs-ofctl man page:
> >
> >
> http://openvswitch.org/cgi-bin/ovsman.cgi?page=utilities%2Fovs-ofctl.8
> >
> > Good luck!
> >
> > --Justin
> >
> >
> > On Aug 29, 2011, at 8:58 PM, Trinh Minh Tri wrote:
> >
> > > Dear openvswitch dev!
> > >
> > > I'm newbie in openvswitch but feel very interested in it to set up my
> experimental evvironment. In my experiment, I need to use the flow rate
> limiting feature to limit the rate of each flow comming in to openvswitch. I
> have searched in the openvswitch website and found out this document of QoS
> rate limiting http://openvswitch.org/?page_id=267. But this document only
> limit the rate for all traffic entering the openvswitch port. I would like
> to ask whether is there any solution in openvswitch to classify the traffic
> as flow and apply the QoS rate limiting to each flow.
> > >
> > > Thank you very much
> > > Trinh Minh Tri
> > >
> > >
> > > _______________________________________________
> > > dev mailing list
> > > dev at openvswitch.org
> > > http://openvswitch.org/mailman/listinfo/dev
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20110901/8e573077/attachment-0003.html>


More information about the dev mailing list