[ovs-discuss] Adding New Row to Table in OVSDB
R Kaja Mohideen
reachme at kajasweb.com
Mon Dec 2 17:43:37 UTC 2013
Thanks Ben.
-----Original Message-----
From: "Ben Pfaff" <blp at nicira.com>
Sent: 02-12-2013 10:59 PM
To: "R Kaja Mohideen" <reachme at kajasweb.com>
Cc: "discuss at openvswitch.org" <discuss at openvswitch.org>
Subject: Re: [ovs-discuss] Adding New Row to Table in OVSDB
On Mon, Dec 02, 2013 at 10:22:12PM +0530, R Kaja Mohideen wrote:
> I'm trying to add a new bridge to OVS through OVSDB. My "insert" request in
> a transaction gives me the result "uuid", but the row is not present in DB
> when I try to confirm using ovsdb-client.
>
> I understand that the newly created Bridge row is not referred by
> Open_vSwitch table and so the Bridge is removed.
>
> But, I'm confused how to construct a Mutate request for Open_vSwitch table
> to refer the newly inserted Bridge UUID.
You need to give the new row a "uuid-name" in the transaction and then
use that name to add a reference to the Open_vSwitch table, using a
"named-uuid" UUID reference.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131202/02bc3e65/attachment.html>
More information about the discuss
mailing list