[ovs-dev] [join ovsdb schema v2 0/8] ovsdb-tools changes

Andy Zhou azhou at nicira.com
Thu Jun 25 21:53:32 UTC 2015


OVSDB can be more flexible by supporting multiple schemas. Those multiple schemas can be taken
from different releases, or on different feature sets. If the schema tables don't overlap,
or for tables do overlap, but columns are not in conflict, those schemas can be joined together
into single schema for database operations.

I am working towards convert all ovsdb related tools and servers to support multiple schemas.
This patch series is the first attempt, which adds support for ovsdb-tool. This will enable
more work of other tools and scripts.

v1-v2:
      I have reworked the original 5 patch series in now 8 patch series, so it is harder to
      track review changes on per patch basis. Here is a summary of changes:

      * Add more comments
      * API changes to make it more obvious where memory allocation and release should
        happen.
      * Add ovsdb-tool man page changes

Andy Zhou (8):
  ovsdb: add functions to support joining multiple schemas
  ovsdb: add more multiple schemas support functions
  ovsdb: fix joined the schema name
  ovsdb: add schemas into ovsdb run time data structure
  ovsdb: enhance file interface to deal with schemas
  ovsdb: add logic for parsing schema file names from a string
  ovsdb-tool: add multiple schemas support
  tests: add ovsdb-tool join schema tests

 ovsdb/column.c        |  16 ++-
 ovsdb/column.h        |   4 +-
 ovsdb/execution.c     |   4 +-
 ovsdb/file.c          |  72 ++++++++-----
 ovsdb/file.h          |  11 +-
 ovsdb/ovsdb-tool.1.in |  77 +++++++------
 ovsdb/ovsdb-tool.c    | 193 +++++++++++++++++++++++++--------
 ovsdb/ovsdb.c         | 292 +++++++++++++++++++++++++++++++++++++++++++++++++-
 ovsdb/ovsdb.h         |  57 +++++++---
 ovsdb/table.c         |  39 +++++++
 ovsdb/table.h         |   3 +
 tests/ovsdb-tool.at   | 153 ++++++++++++++++++++++++++
 tests/test-ovsdb.c    |   6 +-
 13 files changed, 796 insertions(+), 131 deletions(-)

-- 
1.9.1




More information about the dev mailing list