[ovs-dev] [PATCH v3] [python] Handle refTable values with setkey()

Ben Pfaff blp at ovn.org
Fri Mar 20 15:48:08 UTC 2020

On Fri, Mar 20, 2020 at 03:22:38PM +0000, Terry Wilson wrote:
> For columns like QoS.queues where we have a map containing refTable
> values, assigning w/ __setattr__ e.g. qos.queues={1: $queue_row}
> works, but using using qos.setkey('queues', 1, $queue_row) results
> in an Exception. The opdat argument can essentially just be the
> JSON representation of the map column instead of trying to build
> it.
> Signed-off-by: Terry Wilson <twilson at redhat.com>

Thanks, applied to master.

More information about the dev mailing list