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 <[email protected]>
> 收件人: 星言 墨虚 <[email protected]> 
> 抄送: "[email protected]" <[email protected]> 
> 发送日期: 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 <[email protected]>
> > 收件人: 星言 墨虚 <[email protected]> 
> > 抄送: "[email protected]" <[email protected]> 
> > 发送日期: 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.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to