Hi Fernando,

Thanks for your reply. But I don't want to delete the queue from the command 
window

(that would be too easy and not practical), I want to delete the queue using 
OVSDB, in other words

by using the vsctl.py file in ryu.

The syntax in quite different and unfortunately no examples on the web.


BR,


Felipe

________________________________
From: Fernando Farias <fer...@gmail.com>
Sent: Friday, November 16, 2018 3:40:03 PM
To: Rodriguez Felipe
Cc: ryu-devel@lists.sourceforge.net
Subject: Re: [Ryu-devel] OVSDB question


Hi Felipe,

to remove QoS resource, you must do two operations. For example:


sudo ovs-vsctl list qos
 _uuid               : 0b62cfb0-c335-45ca-8910-ca4030ea13af
 external_ids        : {}
 other_config        : {max-rate="4000000"}
 queues              : {0=24ff16d8-926e-4c12-aad8-b7b06c6ec575}
 type                : linux-htb

To remove these entries I have to complete an additional step as follows for 
both QoS and queue

ovs-vsctl  --  destroy  qos 0b62cfb0-c335-45ca-8910-ca4030ea13af

ovs-vsctl  --  destroy  queue 24ff16d8-926e-4c12-aad8-b7b06c6ec575

att,



[Mailtrack] 
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
       Remetente notificado por
Mailtrack<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
 11/16/18, 10:38:29 AM

Em sex, 16 de nov de 2018 às 06:20, Rodriguez Felipe 
<felipe.rodrig...@vtt.fi<mailto:felipe.rodrig...@vtt.fi>> escreveu:

Hello,


I'm currently trying to remove one of the existing queues in the QoS database 
using

OVSDB. The command is coded as follows:


ovsdb_address="tcp:{}:6640".format(address)
ovs_vsctl = vsctl.VSCtl(ovsdb_address)

command3 = vsctl.VSCtlCommand('remove', ["QoS", 
"{}".format(json.dumps(uuids[0])),
"queues", "0={}".format(json.dumps(uuids[1]))])
ovs_vsctl.run_command([command3])



However, I getting the following error: "ovsdb error: <UUID> is not a valid 
UUID".
I've checked and the UUID are correct, I mean they belong to the QoS table and 
Queue respectively.
Could you please help me, I haven't been able to find a example of the syntax.

Thank you,

Felipe


_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net<mailto:Ryu-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/ryu-devel


--
"A computer is like air conditioning: it becomes useless when you open
windows." - Linus Torvalds

Fernando N. N. Farias
Computer Science PhD. Student
Research Group member on Computer Networks and Multimedia Communications - 
GERCOM/UFPA
Future Internet Team - GERCOM
Federal University of Pará

_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to