[ovs-discuss] ovsdb-client transact not working

Ben Pfaff blp at ovn.org
Wed Jan 4 18:08:46 UTC 2017


On Mon, Jan 02, 2017 at 05:41:14PM +0530, Shravan S K wrote:
> Hello,
> 
> I executed the following ovsdb-client transact command, please check.
> ------------------------------
> root at shravan-desktop:/home/shravan# ovsdb-client transact tcp:
> 192.168.3.20:6640 '["Open_vSwitch",{"op":"insert", "table":"Bridge",
> "row":{"name":"br2"}}]'
> [{"uuid":["uuid","336f112b-0fbc-4594-aed9-eb86a6d9c35c"]}]
> root at shravan-desktop:/home/shravan# ovsdb-client dump 192.168.3.20:6640
> Open_vSwitch Bridge
> Bridge table
> _uuid                                auto_attach
> controller                             datapath_id        datapath_type
> datapath_version external_ids fail_mode flood_vlans flow_tables ipfix
> mcast_snooping_enable mirrors name  netflow other_config
> ports
> protocols rstp_enable rstp_status sflow status stp_enable
> ------------------------------------ -----------
> -------------------------------------- ------------------ -------------
> ---------------- ------------ --------- ----------- ----------- -----
> --------------------- ------- ----- ------- ------------
> ------------------------------------------------------------------------------------------------------------------
> --------- ----------- ----------- ----- ------ ----------
> 7e995cf0-097c-42e3-ba0c-a5c51295a26e []
> [21160d2d-144e-4e35-a275-dd21f74e904b] "0000f25c997ee342" ""
> "<unknown>"      {}           []        []          {}          []
> false                 []      "br0" []      {}
> [26e7da53-237b-47f0-9e81-545cd302f028,
> 68eb5030-4e92-4419-a1e4-3b1635981887, f908152e-421e-48bd-b31e-f5794d4c6e8f]
> []        false       {}          []    {}     false
> -------------------------------
> 
> Why is the uuid (336f112b-0fbc-4594-aed9-eb86a6d9c35c) of br2 not showing
> in the dump ?

There are no references to the new row, so the garbage collector deletes
it as part of the transaction commit.


More information about the discuss mailing list