[ovs-discuss] How to control incoming traffic of VMs?

张锦成 perfume0607 at gmail.com
Mon May 21 06:05:30 UTC 2012


Hi, Ben
   In this website(
http://openvswitch.org/support/config-cookbooks/qos-rate-limiting/), it
says “ingress_policing_rate”: the max-rate in kbps that this VM should be
allowed to send, which means the outgoing traffic.
   But in  ovs-vswitchd.conf.db(5), it says "ingress_policing_rate: Maximum
rate for data received on this interface, in kbps. Data received faster
than this rate isdropped. Set to 0 (the default) to disable policing.",
which means the incoming traffic.
   Is there any error?

On Mon, May 21, 2012 at 12:52 PM, Ben Pfaff <blp at nicira.com> wrote:

> Please stop dropping the mailing list.
>
> You can use "policing".  See ingress_policing_rate and
> ingress_policing_burst in the Interface table in
> ovs-vswitchd.conf.db(5).
>
> On Mon, May 21, 2012 at 12:31:16PM +0800, 张锦成 wrote:
> >  http://openvswitch.org/support/config-cookbooks/qos-rate-limiting/
> > You can look at the website above, it use commands to control the
> outgoing
> > traffic of VMs.
> > I wonder whether  we can control the incoming traffic of VMs by using
> > commands or  in some simple ways?
> > Could you give me an example or website to learn how to do this?
> > Thanks very much, I really need your help.
> >
> > On Mon, May 21, 2012 at 12:24 PM, Ben Pfaff <blp at nicira.com> wrote:
> >
> > > The same way.  In one case you set up flows based on the input port, in
> > > the other case you set up flows based on the port to which they are
> > > directed.
> > >
> > > The "resubmit" action can be useful to reduce the number of flows
> needed
> > > in complicated cases.
> > >
> > > On Mon, May 21, 2012 at 12:21:07PM +0800, 张锦成 wrote:
> > > > Thx for your answer.
> > > >
> > > > Could you tell me how to do this?
> > > > I know that we can control the outgoing traffic of VMs by using open
> > > > vsitch, but how to control the incoming traffic of VMs.by using open
> > > > vswitch?
> > > >
> > > >
> > > > On Mon, May 21, 2012 at 5:39 AM, Ben Pfaff <blp at nicira.com> wrote:
> > > >
> > > > > On Sat, May 19, 2012 at 10:43:18PM +0800, 张锦成 wrote:
> > > > > > I wonder whether we can control the incoming traffic of VMs by
> using
> > > open
> > > > > > vswitch?
> > > > >
> > > > > Yes.
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Jincheng Zhang
> > > > Dept. of Computer Science&Technology
> > > > Tsinghua University
> > >
> >
> >
> >
> > --
> >
> > Jincheng Zhang
> > Dept. of Computer Science&Technology
> > Tsinghua University
>



-- 

Jincheng Zhang
Dept. of Computer Science&Technology
Tsinghua University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120521/87aa069f/attachment.html>


More information about the discuss mailing list