[ovs-discuss] Question about ovsdb-client command

Ben Pfaff blp at nicira.com
Wed Jan 18 18:40:00 UTC 2012


On Wed, Jan 18, 2012 at 10:12:40AM -0800, Chuan Wang wrote:
> 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:

Your controller got garbage-collected (deleted) immediately as part of
the transaction, because the transaction did not add any reference to
it.



More information about the discuss mailing list