On Mon, Mar 18, 2013 at 8:55 AM, NGUYEN Xuan Nam <xuan-nam.ngu...@inria.fr> wrote: > Hello, > > I inserted a row into flow_table using this command > sudo ovs-vsctl add bridge s1 flow_tables 0=@nam1 -- --id=@nam1 create > flow_table flow_limit=1000 > > root@namnx-HP-Z400-Workstation:/home/namnx# ovs-vsctl list flow_table > _uuid : 850342e5-8d93-4114-beeb-d42fdd0c5c88 > flow_limit : 1000 > groups : [] > name : [] > overflow_policy : [] > I can update my flow_table using the _uuid as row_id > > root@namnx-HP-Z400-Workstation:/home/namnx# ovs-vsctl set flow_table > 850342e5-8d93-4114-beeb-d42fdd0c5c88 flow_limit=10000 > root@namnx-HP-Z400-Workstation:/home/namnx# ovs-vsctl list flow_table_uuid > : 850342e5-8d93-4114-beeb-d42fdd0c5c88 > flow_limit : 10000 > groups : [] > name : [] > overflow_policy : [] > > However I cannot destroy this record or clear flow_table > > root@namnx-HP-Z400-Workstation:/home/namnx# ovs-vsctl destroy flow_table > 850342e5-8d93-4114-beeb-d42fdd0c5c88 > root@namnx-HP-Z400-Workstation:/home/namnx# ovs-vsctl list flow_table > _uuid : 850342e5-8d93-4114-beeb-d42fdd0c5c88 > flow_limit : 10000 > groups : [] > name : [] > overflow_policy : [] > root@namnx-HP-Z400-Workstation:/home/namnx# ovs-vsctl --all destroy > flow_table > ovs-vsctl: unrecognized option '--all' > > Did I forget something?
The ovs-vsctl man page says: The destroy command is only useful for records in the QoS or Queue tables. Records in other tables are automatically deleted from the database when they become unreachable from the Open_vSwitch table. This means that deleting the last reference to a record is sufficient for deleting the record itself. For records in these tables, destroy is silently ignored. See the EXAMPLES section below for more information. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss