[ovs-discuss] Question about ovsdb-client

Ben Pfaff blp at nicira.com
Mon Apr 2 22:01:37 UTC 2012


On Mon, Apr 02, 2012 at 09:57:27PM +0000, Chuan Wang wrote:
> I am trying out the ovsdb-client tool and running into some problem. Here is  the command I used to do a transaction:
> 
> sudo ~/work/ovs/openvswitch-1.3.0/ovsdb/ovsdb-client -v transact '["Open_vSwitch", {"op" : "insert", "table" : "Controller", "row" : {"local_gateway": "192.168.1.10", "local_ip": "192.168.1.20", "local_netmask": "255.255.255.0", "target":"tcp:10.0.0.10"}}]'
> 
> I do see the response:
> [{"uuid":["uuid","5f0010e5-d2ff-483f-8e68-d1ba2913069d"]}]
> 
> But when I do a db dump, the "Controller" table is still empty:
> 
> sudo ./openvswitch-1.3.0/ovsdb/ovsdb-client dump
> ...
> Controller table
> _uuid connection_mode controller_burst_limit controller_rate_limit external_ids inactivity_probe is_connected local_gateway local_ip local_netmask max_backoff role status target
> ----- --------------- ---------------------- --------------------- ------------ ---------------- ------------ ------------- -------- ------------- ----------- ---- ------ ------
> ...
> 
> Could you tell me what I missed here?

You asked exactly the same question, with exactly the same subject and
exactly the same test case in January.  I answered it in a helpful
manner at the time and you even replied with "Thanks Ben for quick
response! Really appreciate it."

Here's your previous response:
http://openvswitch.org/pipermail/discuss/2012-January/006318.html

Why are you asking this question a second time?



More information about the discuss mailing list