[ovs-discuss] Question about ovsdb-client command
Chuan Wang
cwang at infoblox.com
Wed Jan 18 18:12:40 UTC 2012
Hi,
I am trying the ovsdb-client command and having a question:
I did a transact like this:
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 a reply without error:
[{"uuid":["uuid","35d9f3d4-8677-46e9-9e3a-2f7bd269c92a"]}]
However when I do a database dump, I don't see this controller is
created in database:
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
----- --------------- ---------------------- ---------------------
------------ ---------------- ------------ ------------- --------
------------- ----------- ---- ------ ------
...
According to the document the transact does the commit by itself. What
did i miss here?
Thanks!
Chuan
More information about the discuss
mailing list