Hi,

Thanks for your reply. I've also tried without json.dumps and another error

appears related to a dictionary. Errors also occur if for example, the "0" is 
not

used.


Thank you,


Felipe

________________________________
From: IWAMOTO Toshihiro <iwam...@valinux.co.jp>
Sent: Thursday, November 22, 2018 7:26:33 AM
To: Rodriguez Felipe
Cc: ryu-devel@lists.sourceforge.net
Subject: Re: [Ryu-devel] OVSDB question

On Fri, 16 Nov 2018 18:19:24 +0900,
Rodriguez Felipe wrote:
>
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; iso-8859-1 (quoted-printable)>]
> 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])

json.dumps() generates extra quotes. Please try without them.

>
> 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.
>

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

Reply via email to