[ovs-discuss] ovsdb jsonrpc: referential integrity
Boris Tobotras
tobotras at parallels.com
Wed Mar 27 10:48:05 UTC 2013
Just in case anybody else will be interested -- what I forgot is to
update "bridges" in "Open_vSwitch" table with reference to freshly
created bridge.
On 03/27/2013 11:25 AM, Boris Tobotras wrote:
> Looks like I'm almost there:
>
> me>ovsdb:
> {"method":"transact","params":["Open_vSwitch",{"uuid-name":"paci1faced","op":"insert","row":{"name":"paci1face","type":"internal"},"table":"Interface"},{"uuid-name":"paci1portd","op":"insert","row":{"name":"paci1port","interfaces":["named-uuid","paci1faced"]},"table":"Port"},{"op":"insert","row":{"ports":["named-uuid","paci1portd"],"name":"paci1br"},"table":"Bridge"},{"op":"mutate","table":"Open_vSwitch","where":[],"mutations":[["next_cfg","+=",1]]},{"op":"commit","durable":true}],"id":4}
--
Best regards, -- Boris.
Avoid cliches like the plague!
More information about the discuss
mailing list