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 as single schema for the run time database.
I am working towards convert all ovsdb related tools and servers to support multiple schemas. This patch series is the first attempt, which adds some supporting functions and extended ovsdb-tool to support multiple schemas. Andy Zhou (5): ovsdb: Add ovsdb_schema_join() ovsdb: add supporting functions for schemata ovsdb: Add logic for parsing schema filenames from string ovsdb: expand ovsdb-tool to support multiple schemas tests: add ovsdb-tool join schema tests ovsdb/column.c | 13 +++ ovsdb/column.h | 2 + ovsdb/file.c | 85 ++++++++++++-------- ovsdb/file.h | 14 ++-- ovsdb/ovsdb-server.c | 2 +- ovsdb/ovsdb-tool.c | 178 +++++++++++++++++++++++++++++++---------- ovsdb/ovsdb.c | 220 ++++++++++++++++++++++++++++++++++++++++++++++++++- ovsdb/ovsdb.h | 39 ++++++++- ovsdb/table.c | 39 +++++++++ ovsdb/table.h | 3 + tests/ovsdb-tool.at | 152 +++++++++++++++++++++++++++++++++++ 11 files changed, 665 insertions(+), 82 deletions(-) -- 1.9.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev