ovsdb: New function ovsdb_file_read_schema() for reading schema from db.
authorBen Pfaff <blp@nicira.com>
Tue, 8 Feb 2011 23:36:21 +0000 (15:36 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 15 Feb 2011 20:24:28 +0000 (12:24 -0800)
commite1ebc8cea2991e19456cb9fce54ac8167f6dbf4c
tree2e280d615ec5ad0686f1a8b6c0c5263fed35c8da
parentae9a3235bfa607fdcccd5e12d2052252e67fb914
ovsdb: New function ovsdb_file_read_schema() for reading schema from db.

This new function saves reading the whole database when only the schema is
of interest.  This commit adapts ovsdb-tool to use it for the "db-version"
command.  Upcoming commits will introduce another caller.
ovsdb/file.c
ovsdb/file.h
ovsdb/ovsdb-tool.c