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,



[image: 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> 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
> 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