Cleanly separate IDL annotations from OVSDB schema information.
authorBen Pfaff <blp@nicira.com>
Thu, 7 Jan 2010 23:52:58 +0000 (15:52 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 26 Jan 2010 17:46:42 +0000 (09:46 -0800)
commit00732bf5b5da6f1d71dc4f4b42f54224c03f71f6
tree8f3ed22139ab32e9dbaf8a28c889b006d3d14239
parentbda8868801ebe49b785f4810e055fb6bf80a1dc6
Cleanly separate IDL annotations from OVSDB schema information.

Until now, the OVSDB IDL annotations have been glommed together with the
schema information in a single file, and then we've used ovsdb-idlc to
extract the schema from that file.  This commit reverses the process:
the schema and the annotations are stored separately and then glommed
together as necessary at build time.

This new arrangement has a few advantages:

    - We can now easily have multiple different sets of IDL annotations
      for a single OVSDB schema.  For example, some users may not need
      access to columns that other users do.

    - Bugs in ovsdb-idlc cannot screw up the underlying schema (as shown
      by a recent commit).
18 files changed:
Makefile.am
debian/openvswitch-common.install
debian/rules
ovsdb/automake.mk
ovsdb/ovsdb-idlc.1
ovsdb/ovsdb-idlc.in
tests/.gitignore
tests/automake.mk
tests/idltest.ann [new file with mode: 0644]
tests/idltest.ovsidl [deleted file]
tests/idltest.ovsschema [new file with mode: 0644]
tests/ovsdb-idl.at
tests/ovsdb-macros.at
vswitchd/.gitignore
vswitchd/automake.mk
vswitchd/vswitch-idl.ann [new file with mode: 0644]
vswitchd/vswitch-idl.ovsidl [deleted file]
vswitchd/vswitch.ovsschema [new file with mode: 0644]