I spent last couple days writing a tool interacting with OVSDB, using the ovs python package in OVS distribution. It generally works.
But the Row.delete() doesn't work as expected. After looking at how Transaction.commit() works, I think Row.delete() should add the following line to the end: self._idl.txn._txn_rows[self.uuid] = self It appears the change works, but I'm not sure if it has unexpected effects. I'm using 1.9 branch, but I looked around and found the code is the same since 1.3. And a general question, is the ovs python package meant to be used by an app developer or more a development/test tool?
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev