This series of commits implements reference-count based garbage
collection in OVSDB.  This makes deleting records from the database
easier and less error-prone.

Ben Pfaff (13):
  python/ovs/ovsuuid: Fix behavior of UUID.from_json() with no symbol
    table.
  ovsdb-idlc: Initialize refType in IDL reference columns' types.
  ovsdb-data: Verify that named-uuid string is an <id>.
  ovsdb: Improve error reporting for some internal errors.
  ovsdb: Improve error message for duplicate uuid-name.
  ovs-vsctl: Check for uncreated symbols earlier.
  ovs-vsctl: Update list of tables in manpage.
  ovs-vsctl: Remove stray \ from end of manpage.
  ovsdb-data: Rename 'used' to 'created' in struct ovsdb_symbol.
  ovsdb-data: Expose guts of ovsdb_symbol_table() to clients.
  ovsdb: Provide a way for for_each_txn_row() callback to delete any
    row.
  ovsdb: Don't count self-references in ovsdb_row's n_refs member.
  ovsdb: Implement garbage collection.

 lib/ovsdb-data.c           |   88 ++++++++++++-------
 lib/ovsdb-data.h           |   11 ++-
 lib/ovsdb-error.c          |   13 +++-
 lib/ovsdb-error.h          |   12 ++-
 lib/ovsdb-idl-provider.h   |    3 +-
 ovsdb/SPECS                |   16 +++-
 ovsdb/dot2pic              |   11 ++-
 ovsdb/execution.c          |   27 +++---
 ovsdb/ovsdb-doc.in         |    6 +-
 ovsdb/ovsdb-dot.in         |   16 +++-
 ovsdb/ovsdb-idlc.in        |    6 +-
 ovsdb/table.c              |   17 +++-
 ovsdb/table.h              |    8 +-
 ovsdb/transaction.c        |  199 +++++++++++++++++++++++++++++++++---------
 python/ovs/db/schema.py    |   13 ++-
 python/ovs/db/types.py     |    3 +-
 python/ovs/ovsuuid.py      |    4 +-
 tests/ovs-vsctl.at         |   54 ++++++++++--
 tests/ovsdb-data.at        |    4 +
 tests/ovsdb-execution.at   |  210 ++++++++++++++++++++++++++++++++++++++++++++
 tests/ovsdb-table.at       |    6 ++
 utilities/ovs-vsctl.8.in   |   58 +++++++++----
 utilities/ovs-vsctl.c      |  197 ++++++++++++++++-------------------------
 vswitchd/ovs-brcompatd.c   |   30 ------
 vswitchd/vswitch.gv        |   92 ++++----------------
 vswitchd/vswitch.ovsschema |   40 ++++++---
 vswitchd/vswitch.pic       |   37 ++++++++-
 vswitchd/vswitch.xml       |   17 ++--
 28 files changed, 808 insertions(+), 390 deletions(-)


_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev_openvswitch.org

Reply via email to