[ovs-discuss] Re: Re: Re: How to add queue to a port in openvswitch?

Ben Pfaff blp at nicira.com
Wed Mar 28 02:28:49 UTC 2012


You just asked that same question.  The answer remains the same: OVS
doesn't provide a way to monitor the length of a queue.

On Wed, Mar 28, 2012 at 10:23:24AM +0800, 星言 墨虚 wrote:
> Thanks.
> Can I use NOX to monitor the length of the queue which create by openvswitch?
> 
> 
> ________________________________
>  发件人: Ben Pfaff <blp at nicira.com>
> 收件人: 星言 墨虚 <beyond1680 at yahoo.cn> 
> 抄送: "discuss at openvswitch.org" <discuss at openvswitch.org> 
> 发送日期: 2012年3月28日, 星期三, 上午 10:16
> 主题: Re: Re: Re: [ovs-discuss] How to add queue to a port in openvswitch?
>  
> OVS doesn't provide a way to monitor the length of a queue.
> 
> On Wed, Mar 28, 2012 at 10:11:11AM +0800, 星言 墨虚 wrote:
> > Thanks.
> > But in openflow-spec-v1.0.0.0, it write Queue structures and one queues can attach to a port an be used to map flows on it. Flow mapped to a specific queue will be treated according to that queue's configuration. So I want to know how I do to add queue to a port that can be monitored by NOX? I only need send the length of queue to NOX which using send_queue_stats_request tool.
> > 
> > 
> > ________________________________
> >  发件人: Ben Pfaff <blp at nicira.com>
> > 收件人: 星言 墨虚 <beyond1680 at yahoo.cn> 
> > 抄送: "discuss at openvswitch.org" <discuss at openvswitch.org> 
> > 发送日期: 2012年3月28日, 星期三, 上午 12:01
> > 主题: Re: Re: [ovs-discuss] How to add queue to a port in openvswitch?
>> > No.  This isn't what Queue records are for.
> > 
> > On Tue, Mar 27, 2012 at 02:33:32PM +0800, 星言 墨虚 wrote:
> > > Thank you. 
> > > But why I add queue to port is to collect status of port like length of queue, the number of packets which received and sent so on. Then openvswitch would send this information to NOX. So if I add queue by this code, Can NOX collect the information of this queue?  
> > > 
> > > 
> > > ________________________________
> > >  发件人: Ben Pfaff <blp at nicira.com>
> > > 收件人: 星言 墨虚 <beyond1680 at yahoo.cn> 
> > > 抄送: "discuss at openvswitch.org" <discuss at openvswitch.org> 
> > > 发送日期: 2012年3月27日, 星期二, 下午 12:00
> > > 主题: Re: [ovs-discuss] How to add queue to a port in openvswitch?
> > >  
> > > On Tue, Mar 27, 2012 at 11:16:15AM +0800, 星言 墨虚 wrote:
> > > > I looked into the ovs-vsctl man page and tried to create the queues. And I find the following code to add queue.
> > > > sudo ovs-vsctl -- set port eth1 qos=@newqos \ -- --id=@newqos create qos type=linux-htb other-config:max-rate=900000000 queues=0=@q0,1=@q1,2=@q2 \ -- --id=@q0 create queue other-config:min-rate=720000000 other-config:max-rate=900000000 \ -- --id=@q1 create queue other-config:min-rate=0 other-config:max-rate=90000000 \ -- --id=@q2 create queue other-config:min-rate=0 other-config:max-rate=90000000
> > > > but what I want to do is only adding a queue to a port, I needn't to add qos to port.
> > > 
> > > That doesn't make sense.  A queue only has meaning in the context of a
> > > particular type of QoS.



More information about the discuss mailing list