[ovs-discuss] Creatinhg bridge by adding to the OVSDB

Nicholas Bastin nick.bastin at gmail.com
Mon Jul 11 20:29:20 UTC 2016


On Mon, Jul 11, 2016 at 4:26 PM, John Chludzinski <
john.chludzinski at vivaldi.net> wrote:

> I submitted the following command to add/insert a record/row to the Bridge
> table in the Open_vSwitc database.
>
> ~# ovsdb-client -v transact '["Open_vSwitc", {"op":"insert", "table":
> "Bridge", "row": { "name": "b3" } } ]'
>

You have a typo in the database name - it is Open_vSwitch, not Open_vSwitc.

This is actually in the log, although somewhat obscured in the rest of the
noise:


> 2016-07-11T15:04:44Z|00004|jsonrpc|DBG|unix:/var/run/openvswitch/db.sock:
> received error,
> error={"syntax":"[\"Open_vSwitc\",{\"op\":\"insert\",\"row\":{\"name\":\"b3\"},\"table\":\"Bridge\"}]","details":"transact
> request specifies unknown database Open_vSwitc","error":"unknown
> database"}, id=0
> ovsdb-client: transaction returned error: {"details":"transact request
> specifies unknown database Open_vSwitc","error":"unknown
> database","syntax":"[\"Open_vSwitc\",{\"op\":\"insert\",\"row\":{\"name\":\"b3\"},\"table\":\"Bridge\"}]"}
>

--
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160711/437f4ddf/attachment-0002.html>


More information about the discuss mailing list