Thank you so much, that solve our problem.
And do you know why we need to create a qos first? What is the relationship between qos and queue. Thanks again. At 2015-04-14 00:08:40, "Gurucharan Shetty" <[email protected]> wrote: >You need to remove the reference of the queue from the qos table and >destroy the queue in a single transaction. > >e.g: > >* Create qos and queue records: >ovs-vsctl -- set port p0 qos=@newqos -- --id=@newqos create qos >type=linux-htb other-config:max-rate=900000000 >queues=10=@q0,20=@q1,30=@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 > >* Look at the record: >ovs-vsctl list qos >_uuid : e472fc24-2d9b-4e5d-8283-906b7b9504d5 >external_ids : {} >other_config : {max-rate="900000000"} >queues : {10=efe0afff-79db-4712-a85c-5e2e0018dd04, >20=680e8ec5-a8d2-4b1b-b6c7-0b648ebf102d, >30=ebee7bdf-33ab-46b6-b073-83c5419274bf} >type : linux-htb > > >* Remove queue '10' >ovs-vsctl remove qos e472fc24-2d9b-4e5d-8283-906b7b9504d5 queues 10 -- >destroy queue efe0afff-79db-4712-a85c-5e2e0018dd04 > >On Mon, Apr 13, 2015 at 8:54 AM, zy <[email protected]> wrote: >> cc discuss >> I am testing OVS version 2.3.1 and have the same problem. Is there >> anyone knows about the issue, or I have to disconnect QoS and all queues >> first before I destroy one specific queue. >> And could you pls explain what's role of QoS in this scenario (ie:why do we >> need to create a qos at a port first and then add queues to qos rather than >> just add queues to port directly ) >> >> >> thanks >> >> >> >> 发件人:周二 [mailto:[email protected]] >> 发送时间: 2015年4月13日 15:21 >> 收件人: [email protected] >> 抄送:张勇 >> 主题: How to destroy a single queue at the qos? >> >> >> >> Hi: >> >> We have a problem to destroy a single queue on the qos. >> >> >> >> We first set a qos at a port : ovs-vsctl set port eth0 qos=@newqos -- >> --id=@newqos create qos external_ids:qos=eth0 type=linux-htb >> other-config:max-rate=1000000000 >> >> Then add two queues to the qos: ovs-vsctl -- add qos eth0 queue >> 123=@queue10M -- --id=@queue10M create queue external_ids:name=1M-for-tap1 >> other-config:max-rate=10000000 >> >> ovs-vsctl -- add qos eth0 queue >> 223=@queue10M -- --id=@queue10M create queue external_ids:name=1M-for-tap2 >> other-config:max-rate=10000000 >> >> >> >> Now we want to destroy only queue 123, and we have to disconnect the link >> between qos and queues : ovs-vsctl clear qos eth0 queues. This will also >> disconnect the link for 223. Would any one help us to destroy queue 123 and >> does not influence queue 223? >> >> >> >> Thanks for your help! >> _______________________________________________ >> dev mailing list >> [email protected] >> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
