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

星言 墨虚 beyond1680 at yahoo.cn
Tue Mar 27 06:33:32 UTC 2012


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120327/b8f76161/attachment.html>


More information about the discuss mailing list